Closed BertoTavira closed 3 years ago
I think I got it just trying and checking...
"statusPattern": "\"RTSP\":\"yes"
Now homebridge log shows switch ON :) Seemed to be a missing character, IDK. This tool helped me: https://regexr.com/
I assume this is solved?
Yes, it is, regex now find the string, thanks.
My problem now is different: I can turn on/off RTSP stream (checked in Home app and in homebridge log) but camera system status config doesn’t get updated, it always shows "RTSP":"yes” and as result button status is always on.
I’m thinking to create now two stateless buttons (my idea is to create automations to disable RTSP when I’m at home)
Anyway, again, thanks for the plugin!
Hi there! First thanks for the plug-in and the hard work, it is very useful :)
I plan to create a switch for mi Yi camera that turns on/off the RTSP service. I have all working but cannot create a regex for my statusPattern.
I’ve tried to change other examples and users patterns and see if I could understand it better, but seems to complex for me.
Could please somebody help me?
This is the config json of my camera:
And this is my homebridge config:
And my homebridge log:
Thanks for your time!