This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
Hello,
I have 2 Zigbee lights and a switch (all Ikea).Through Node-Red when pressing the switch will turn on both Zigbee lights.
I set up the HomeKit integration, making these 3 devices available in the Apple Home app.
I can turn on and off both lights individually, however with the switch I can only turn them both on. Turning them off does not work.
For example this is a log of setting the switch to on in Home
2023-11-23 14:44:26.095 DEBUG (MainThread) [pyhap.hap_handler] ('192.168.1.121', 56844): Set characteristics content: {'characteristics': [{'aid': 2454232729, 'iid': 9, 'value': True}]}
2023-11-23 14:44:26.095 DEBUG (MainThread) [pyhap.characteristic] client_update_value: On to True (original: True) from client: ('192.168.1.121', 56844)
2023-11-23 14:44:26.096 DEBUG (MainThread) [homeassistant.components.homekit.type_switches] scene.tv_lights: Set switch state to True
This is a log of setting the switch to off
023-11-23 14:46:53.616 DEBUG (MainThread) [pyhap.hap_handler] ('192.168.1.121', 56947): Request PUT for path '/characteristics': {'host': 'HASS\\032Bridge\\03214ABBF._hap._tcp.local', 'content-length': '62', 'content-type': 'application/hap json'}
2023-11-23 14:46:53.616 DEBUG (MainThread) [pyhap.hap_handler] ('192.168.1.121', 56947): Set characteristics content: {'characteristics': [{'aid': 2454232729, 'iid': 9, 'value': False}]}
2023-11-23 14:46:53.616 DEBUG (MainThread) [pyhap.characteristic] client_update_value: On to False (original: False) from client: ('192.168.1.121', 56947)
2023-11-23 14:46:53.616 DEBUG (MainThread) [homeassistant.components.homekit.type_switches] scene.tv_lights: Set switch state to False
2023-11-23 14:46:53.616 DEBUG (MainThread) [homeassistant.components.homekit.type_switches] scene.tv_lights: Ignoring turn_off call
2023-11-23 14:46:53.616 DEBUG (MainThread) [pyhap.accessory_driver] Send event: topic(2454232729.9), data({'aid': 2454232729, 'iid': 9, 'value': False}), sender_client_addr(('192.168.1.121', 56947))
2023-11-23 14:46:53.616 DEBUG (MainThread) [pyhap.accessory_driver] Skip sending event to client since its the client that made the characteristic change: ('192.168.1.121', 56947)
2023-11-23 14:46:53.617 DEBUG (MainThread) [pyhap.hap_protocol] ('192.168.1.121', 56947) (a415caa3-6d60-4cf8-b7c1-94704effa995): Send encrypted: b'HTTP/1.1 204 No Content\r\n\r\n'
2023-11-23 14:46:53.617 DEBUG (MainThread) [pyhap.hap_protocol] ('192.168.1.121', 56947) (a415caa3-6d60-4cf8-b7c1-94704effa995): h11 Event: NEED_DATA
2023-11-23 14:46:59.124 DEBUG (MainThread) [pyhap.hap_protocol] ('192.168.1.121', 56947) (a415caa3-6d60-4cf8-b7c1-94704effa995): Connection lost to HASS Bridge: None
2023-11-23 14:47:02.330 DEBUG (SyncWorker_4) [homeassistant.components.homekit.type_switches] scene.tv_lights: Reset switch to off
2023-11-23 14:47:02.331 DEBUG (SyncWorker_4) [pyhap.characteristic] set_value: On to False
Is there something I should do so `turn_off` works for the switch?
When I check Node-Red with a debug node on all events, only the `on` events appear. No `off` events.
Thanks in advance!
Subreddit
Post Details
- Posted
- 9 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/homeassista...