misenhower / homebridge-wyze-connected-home

Wyze Connected Home plugin for Homebridge
MIT License
70 stars 52 forks source link

Cam Support #10

Open LeonCaesa opened 4 years ago

seecoolguy commented 4 years ago

+1 i've seen other examples where this is already supported, but I do not know what it requires other than the custom firmware from wyze

pjotal commented 4 years ago

hi @LeonCaesa and @seecoolguy i have no idea how we could do video streaming in this plugin. have you tried the homebridge-camera-ffmpeg plugin? there are articles in medium and everything talking about how to integrate it with wyze cams and homebridge. it requires the RTSP firmware to work. give it a try and let us know.

let's say we can't do the video portion. is there any feature you see beneficial to justify it as an accessory?

seecoolguy commented 4 years ago

hi @pjotal yeah I just added the RTSP beta firmware and this does allow me to configure the camera and I am able to stream on VLC but I don't have the right configuration to stream to HomeKit :-/

pjotal commented 4 years ago

try this: https://medium.com/dirigible/wyze-cam-homekit-58c4878c4124

i did and it worked. on my hardware the performance was not great so i decided to revert to the production firmware.

implementing the video portion is not simple and it’s not in our plans. we would love to have someone contributing with this feature though. if you’re a developer, feel free to send a pull request and i am pretty sure @misenhower will like integrating it.

if you see there is something else other than the video portion that could be beneficial in an automation let us know. maybe if it’s something simple that could add value to the ecosystem, we could take a look.

seecoolguy commented 4 years ago

Thank you pjotal, my version of Raspberry pi was missing the ffmpeg lib, thanks for the guide, this is very cool

seecoolguy commented 4 years ago

I do like the concept that if the camera senses motion, have it turn on a light :). I don't know if the API allows you to get that information from the camera?

pjotal commented 4 years ago

i am not 100% sure if this is possible but it’s something that can be investigated. do you remember if the camera has a motion sensor on it? if it’s purely based on image i guess it’s not. if this is something they flag via api, it is.

jfarmer08 commented 3 years ago

You cannot see the motion sensor in the wyze API, but you can see the option to turn the camera on and off along with setting other options.