go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

feat(tapo): Add support for H200 hub and child devices (for example battery/sub2G powered D230S1)

Open aprilmaccydee opened this issue 1 year ago • 0 comments

  • Allows streaming Tapo devices behind a hub, for example, the D230S1 battery powered doorbell with a H200 parent hub.
  • Small fix for authenticating correctly to the H200 hub.

To use, you would use a URL like this:

streams:
    camera: tapo://admin:passwordAsUpperCaseSHA256@h200HubIpAddress/?deviceId=childDeviceIdFromPyTapo

Basically the same as a non-hub'd tapo camera but with added deviceId query string.

There may be a better way to get the device ID, but as an example to figure out the child device ID, use pytapo and call

print(tapo.getMost())

aprilmaccydee avatar Apr 01 '24 20:04 aprilmaccydee