TheCrypt0 / yi-hack-v4

New Custom Firmware for Xiaomi Cameras based on Hi3518e Chipset. It features RTSP, SSH, FTP and more!
GNU General Public License v3.0
1.55k stars 218 forks source link

motion warning trigger hardware in domoticz by mqtt #303

Open ariekanarie2005 opened 3 years ago

ariekanarie2005 commented 3 years ago

I try to use the motion warning from an outdoor yi 1080p camera to trigger hardware in domoticz. I edit the Topics Prefix to "domoticz" i edit the Topic Suffix to "in" when i trigger motion i see with mqtt explorer a message under domoticz/in so far so good,

But after I edit motion start message to { "idx" :45 , "nvalue" : 1} and save and reboot text in field has changed to %7B+%22idx%22+%3A45+%2C+%22nvalue%22+%3A+1%7D

Is there an solution to direct trigger hardware in domoticz from yi-hack v4 with out using node red as translator? Is this an issue that have to been solved?

I hope someone can help me with this issue.