Ikea Tradfri bulb not changing status in domoticz with Zigate

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate

Post 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 :-)
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate

Post 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
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Geitje
Posts: 170
Joined: Monday 22 January 2018 21:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate

Post 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
Domoticz beta, on Raspberry Pi 3B, Raspian Buster
Zwave, Zigate, RFlink etc.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate

Post 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
Screenshot 2019-10-31 at 23.12.08.png (42.16 KiB) Viewed 268 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)
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Geitje
Posts: 170
Joined: Monday 22 January 2018 21:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate

Post 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?
Domoticz beta, on Raspberry Pi 3B, Raspian Buster
Zwave, Zigate, RFlink etc.
pipiche
Posts: 1977
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Ikea Tradfri bulb not changing status in domoticz with Zigate

Post 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/
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest