Page 3 of 3
Re: Ikea Tradfri bulb not changing status in domoticz with Zigate
Posted: Monday 27 May 2019 22:11
by waltervl
After an hour still no change, but after setting enableReadAttributes to 1 and restarting plugin and waiting half an hour it now refreshes within 30 seconds

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate
Posted: Monday 27 May 2019 22:17
by pipiche
waltervl wrote:After an hour still no change, but after setting enableReadAttributes to 1 and restarting plugin and waiting half an hour it now refreshes within 30 seconds

I went to the thread history and indeed you need to have the enableReadAttributes enable as the bulb seems not reporting on their own.
Envoyé de mon iPhone en utilisant Tapatalk
Re: Ikea Tradfri bulb not changing status in domoticz with Zigate
Posted: Thursday 31 October 2019 23:07
by Geitje
I read the thread, but it is a little confusing. I have a Ikea TRADFRI bulb GU10 W 400lm. Right now if I turn of mains power (physical switch), the off state is not reported to Domoticz. Off course the bulb cannot send an off command, but I would like Zigate to report it off if connection is lost for a configurable amount of time (say 5 mins). I enabled polling, but it does nog help. Zigate webUI shows under health an empty value (not live), so it knows connection is lost.
I know this setting is not always wished, as losing connection means not always mean the device is off, and it might trigger other things. So it would be nice if this could be configured on per-device basis.
Domoticz beta V4.11324, Zigate USB FW 031a, plugin beta 4.6.012
Re: Ikea Tradfri bulb not changing status in domoticz with Zigate
Posted: Thursday 31 October 2019 23:16
by pipiche
Geitje wrote: ↑Thursday 31 October 2019 23:07
I read the thread, but it is a little confusing. I have a Ikea TRADFRI bulb GU10 W 400lm. Right now if I turn of mains power (physical switch), the off state is not reported to Domoticz. Off course the bulb cannot send an off command, but I would like Zigate to report it off if connection is lost for a configurable amount of time (say 5 mins). I enabled polling, but it does nog help. Zigate webUI shows under health an empty value (not live), so it knows connection is lost.
I know this setting is not always wished, as losing connection means not always mean the device is off, and it might trigger other things. So it would be nice if this could be configured on per-device basis.
Domoticz beta V4.11324, Zigate USB FW 031a, plugin beta 4.6.012
You need to enable Polling and make sure that enableAPSFailureReporting is On

- Screenshot 2019-10-31 at 23.12.08.png (42.16 KiB) Viewed 289 times
Then the status is not going to change, but the Widget will be on Timeout. (after 5' )
An other alternative is also to check the Last Seen , there is a dzVent script there :
https://github.com/pipiche38/Domoticz-Z ... er/Contrib (CheckDeadDevice)
Re: Ikea Tradfri bulb not changing status in domoticz with Zigate
Posted: Thursday 31 October 2019 23:33
by Geitje
Thanks for your quick response!
enableAPSFailureReporting was ticked. I would like to have the device itself be switched off, because I want to trigger an Blocky event when it is switched on again. I'm not familiar with dzVents (sorry, I'm a noob in scripting), but the settings in the first lines I can make I guess. Does the dzVent script turn the device off in Domoticz, or also only notify?
Re: Ikea Tradfri bulb not changing status in domoticz with Zigate
Posted: Thursday 31 October 2019 23:36
by pipiche
It is not turning it off, but I think it does notification.
The script was provided by a user, so I think you can have a look and I'm sure you can make use of it.
The script must be put under .../domoticz/scripts/dzVents/scripts/