domoticz.notify not working - SOLVED

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
lupo2a
Posts: 32
Joined: Thursday 29 September 2016 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

domoticz.notify not working - SOLVED

Post 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
Last edited by lupo2a on Monday 02 October 2017 11:24, edited 1 time in total.
Raspberry PI 4
Domoticz: V2023.2
- Aeotec Gen5 EU
- Neo CoolCam Door Detector and plug
- FIBARO FGWPE Wall Plug
- 6 FIBARO System FGRM222 Roller Shutter Controller 2
- Kodi SamnsungTV Yamaha plugin
- pluginn manager
- Netatmo
lupo2a
Posts: 32
Joined: Thursday 29 September 2016 10:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: domoticz.notify not working - SOLVED

Post by lupo2a »

Sorry, I didn't enable the http notification under the settings page....
Raspberry PI 4
Domoticz: V2023.2
- Aeotec Gen5 EU
- Neo CoolCam Door Detector and plug
- FIBARO FGWPE Wall Plug
- 6 FIBARO System FGRM222 Roller Shutter Controller 2
- Kodi SamnsungTV Yamaha plugin
- pluginn manager
- Netatmo
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest