Page 1 of 1

domoticz.notify not working - SOLVED

Posted: Sunday 01 October 2017 7:46
by lupo2a
I set the http notification system and tested it
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

Re: domoticz.notify not working - SOLVED

Posted: Monday 02 October 2017 11:24
by lupo2a
Sorry, I didn't enable the http notification under the settings page....