Prowl in dzVents not working

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

Moderator: leecollings

Post Reply
Gingerpale
Posts: 40
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Prowl in dzVents not working

Post by Gingerpale »

Since latest few beta versions, Prowl is not working anymore when fired from dzVents.
E.g.

Code: Select all

domoticz.notify('Prowl', 'Test Dz', domoticz.PRIORITY_NORMAL,nil,nil,domoticz.NSS_PROWL)
It still works when testing it in "Settings - Notifications - Prowl" and it also works when fired from Blockly script.
Any known issue here?
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Prowl in dzVents not working

Post by waltervl »

What if you use something simple and have the prowl messaging globally active. Do you get the message on all active notification systems including Prowl?

Code: Select all

domoticz.notify('Prowl', 'Test Dz')
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gingerpale
Posts: 40
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: Prowl in dzVents not working

Post by Gingerpale »

I only have Prowl active, but testing with

Code: Select all

domoticz.notify('Prowl', 'Test Dz')
doesn't work either.
And if I do the same in Blockly: select subsystem "all", it does work.

And it always worked before. I use it in many dzVents scripts for years. So it seems that something has changed. But what?
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Prowl in dzVents not working

Post by waltervl »

In another issue someone did accidentally set domoticz.NSS_PROWL to nil in his script.
You have not done that?

Do you remember on what version it still worked in beta?
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gingerpale
Posts: 40
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: Prowl in dzVents not working

Post by Gingerpale »

I usually install new beta's within a day or so after they have been released. And I see from my logs that it still worked at Feb 6th. After that it stopped working. So is it about 3 beta's ago?
I created a test script for this issue and I literally use this line in my test script (and similar in all my other scripts)

Code: Select all

return {
	on = 
	{
		devices = 
		{
			'Test ToggleSW',
		},
	},
	logging = 
	{
		level = domoticz.LOG_INFO,
		marker = 'Prowl Test',
	},

	execute = function(domoticz, item)
		domoticz.log('Script fired by device: '.. item.name .. ': ' .. item.state, domoticz.LOG_INFO)
        	if domoticz.devices(item.name).state == 'On' then
           		-- domoticz.notify('Prowl', 'Test Dz', domoticz.PRIORITY_NORMAL,nil,nil,domoticz.NSS_PROWL) -- original notify message
           		domoticz.notify('Prowl', 'Test Dz') -- Waltervl test suggestion
           		domoticz.log(item.name .. ' triggered', domoticz.LOG_INFO)
        	else
           		-- do nothing
        	end
	end -- execute
}
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Prowl in dzVents not working

Post by waltervl »

It seems notification from dzvents is not working at all on recent beta (17099, I still have to update to latest), so looks like a bug. I will make a github issue if needed.
If you do

Code: Select all

domoticz.notify('Prowl', 'Test Dz')
It should also trigger a browser notification on top right corner. In stable it does, in beta is does not. Also Android Google Firebase notifications are not working from dzvents.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Prowl in dzVents not working

Post by waltervl »

Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
User avatar
waltervl
Posts: 6677
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Prowl in dzVents not working

Post by waltervl »

Fixed in current beta.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Gingerpale
Posts: 40
Joined: Wednesday 13 January 2016 16:11
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Contact:

Re: Prowl in dzVents not working

Post by Gingerpale »

I've installed latest Beta and I can confirm it's working again!
Thanks!
Rpi4B,RFX433e,PiFace2, LCD, Hue bridge, Alexa (+TTS), HA-Bridge, Sonoff NSPanel, Sonoff RF (+IR) bridge, Nefit CV, Tasmota/MQTT, Enphase Solar, Smartmeter, Alarm I/F, H13726B Weather Station, CM180 Energy meter, Sonoff, KaKu, Tuya, Gledopto, AriLux,...
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest