mrin / domoticz-mirobot-plugin

Xiaomi Mi Robot Vacuum plugin for Domoticz
57 stars 28 forks source link

Statusupdate control device #30

Open JanvdW304 opened 4 years ago

JanvdW304 commented 4 years ago

I would like to start the robot based on absence of family members and previous clean date. To realize that I need to track the previous cleaning date with a global parameter in Domoticz. In case the control device is set to 'Clean' (level 10) the previous cleaning date has to be updated. I defined a dzvents script on = { devices = { <device id> } } However, the event is not triggered when selecting 'Clean' (level 10), because the device value doesn't change at all: this value is always 'Off', no matter which level is chosen. Does anyone has an idea which trigger I can use to recognize a level change of the control device to start the dzvents script?

DarkAllMan commented 3 years ago

I have the same... my device status is never updated, eventhough the actual device reply with other states like cleaning, charging, etc.

On the main page I see this device: https://user-images.githubusercontent.com/93999/29568433-0da95692-8759-11e7-8706-344c02536d6a.png

I do not have this device... status..... It was not created.

I stand corrected, it was created, but I forgot to activate it....