cant use this script on one device but works on another, striped down to just log
Code: Select all
return {
active = true, -- set to false to disable this script
on = {
devices = {
'Sklep/close'
},
},
execute = function(domoticz, switch)
domoticz.log('test', domoticz.LOG_FORCE)
end
}
2019-03-25 21:36:07.270 Status: User: Admin initiated a switch command (665/yamaha/Off)
2019-03-25 21:36:07.607 Status: dzVents: Info: Handling events for: "yamaha", value: "Off"
2019-03-25 21:36:07.607 Status: dzVents: Info: ------ Start external script: sensors_door.lua: Device: "yamaha (yamaha2)", Index: 665
2019-03-25 21:36:07.607 Status: dzVents: !Info: test
2019-03-25 21:36:07.607 Status: dzVents: Info: ------ Finished sensors_door.lua
but on my Rflink switch its not working (Rflink switch EV1527 subtype)
2019-03-25 21:41:28.587 Status: User: Admin initiated a switch command (753/Sklep/close/Off)
2019-03-25 21:41:28.589 Status: RFLink Sending: 10;EV1527;033470;e;OFF;
2019-03-25 21:41:29.059 (RFLINK) Light/Switch (Sklep/close)
2019-03-25 21:41:30.473 Status: User: Admin initiated a switch command (753/Sklep/close/On)
2019-03-25 21:41:30.474 Status: RFLink Sending: 10;EV1527;033470;e;ON;
any idea what could be probem?