Tablet

I have wanted a home display tablet for automation. I have been following this guide. Stuff I have done:

  • locked down display with fully kiosk.
  • Set up various monitors, including the wind and rain sensors on the house.
  • Set up motion detection
  • set up charging and stop charging automation.

two way doorbell

The goal is to have a popup on the tablet that can show who is at the gate, and to have a way to talk to them and open the gate.

I did it in a random order, but I would suggest:

  1. Get go2rtc working behind SSL. You need this for webrtc testing. I did this with caddy as a reverse proxy.

  2. Set up the doorbell as a stream in go2rtc. I have a fragment like below

    streams:
      gate:
      - rtsp://admin:changme@192.168.1.6:554/h264Preview_01_sub
      - ffmpeg:test_doorbell#audio=opus#audio=copy
    

    You can test this in go2rtc, including talking to the doorbell.

  3. Set up browser-mod. This lets you pop up a window on the tablet.

  4. Then I followed 2-way-audio-intercom-for-reolink-doorbell-made-easy to actually get set up.

I tweaked a few things - changing it to have a gate icon, changing it to turn on the tablet, etc.

One problem I have not yet fixed is that webRTC starts muted. This isn’t ideal. I think this is to do with chrome autoplay settings