It works, tested with a LUA script
commandArray[indexArray] = {['SendNotification']= my_msg}
I wrote my first dzVent script.
It starts (seen via log) but I'm not able to use the domoticz.notify function
With the following code nothig happens:
Code: Select all
time = os.date()
my_msg = time .. ' Main door:' .. device.state
domoticz.log(my_msg)
domoticz.notify('Porta ingresso', my_msg, domoticz.PRIORITY_NORMAL,domoticz.SOUND_NONE,0,domoticz.NSS_HTTP)
any help?
Rasperry PI3
Domoticz V3.8446