Code: Select all
return {
active = function(domoticz)
return (domoticz.devices('devicename').state == 'On')
end,
--active = true,
on = {
timer = {'every minute'},
},
Code: Select all
return {
active = function(domoticz)
return (domoticz.devices('devicename').state == 'On')
end,
--active = true,
on = {
timer = {'every minute'},
},
Totally agree !deennoo wrote:OK i belive that can be usefull until we don't know Real bat low level reported, wait for it on Xiaomi app then Read it on domoticz and please share.
When done, this can be add to domoticz and then disaper from utility.
What do you think about it ?
I confirme it works like a charm.hekm77 wrote:Now the devices (Xiaomi Motion Sensor) are not duplicated after reboot domoticz
I did:
1. rm -r domoticz/
2. git clone https://github.com/corbinmunce/domoticz
3. restore database
v3.7119
Yes beta is betadeennoo wrote:
Code: Select all
function self.updateLux(lux)
self.update(0,lux)
end