-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Osram outlet and Tradfri light - On/Off State not updated #58
Comments
Was this working before? It depends from device to device, but usually wired devices publish a state periodically that updates their on / off state. |
I don't know if it worked before: I recently received the osram outlets and for the ikea lamp I was passing the commands of the remote control via zigbee2mqtt. This happens also on tradfri light : the lamp is connected to zigbee2mqtt and the remote control directly to the lamp. When I toggle via the remote control the status in zigbee2mqtt is updated only when I press the corresponding button in the interface. In short: the lamp and the outlet don't send their On/Off status until I ask for it. Is there a way in zigbee2mqtt parameters to define regular updates? @ciotlosm |
I will try this when a button on the remote is pressed: action:
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: mqtt.publish
data:
topic: zigbee2mqtt/tradfri_light_1/get
payload: '{"state": ""}' |
Okay, it's a quick fix that works for the lamp since I always control it via a remote control. |
You're looking for the Zigbee 'reporting' (and/or 'binding') functionality. (https://www.zigbee2mqtt.io/information/binding.html) You can also setup alerting (using lots of tunable parameters if you want) directly on the socket, so it reports always it's status back. Doing it in config files using text-only might also be possible, using the existing Z2M Add-on syntax. But surely the GUI makes it effortless. |
Hello, I tried several times the binding but each time I got a timeout error (I woke up the remote control by pressing a button). I gave up, so I paired the remote directly to the lamp (15 sec press on the button next to the battery) and the remote control stays on the zigbee2mqtt network also. |
To retrieve the state of the lamp I created an automation that makes |
I’m gonna try this: Koenkk/zigbee2mqtt#4230 |
Okay, that work for the outlet but for the light it does nothing. That's not a problem related to the addon so I close this issue. |
Description of problem:
On/Off State is not updated until the corresponding button is clicked. This is annoying because on the home assistant interface it is also desynchronized. The outlet is currently switched on: to switch it off, I have to click On, then Off. The status can be changed with a button on the outlet that communicates directly with the socket without using zigbee. (Same problem with a tradfri light with the remote directly connected on the light.) Is there any solution to force updating every 30sec for example?
Zigbee2mqtt add-on version (if edge, please report commit hash):
Your entire configuration from the frontend (with sensitive fields redacted):
Running platform (details from Supervisor > System)
Your logs from Home Assistant Supervisor
The text was updated successfully, but these errors were encountered: