Closed max5962 closed 4 years ago
When you call refresh_device, you have to push the pair in order to wake up the remote. Without that you won't get answer from the remote
I already did it, absolutely no logs. It seems that no request are sent .
You have to do the same with discover_device
Threre was a bug with the lib 0.28.1, it should be fixed in 0.28.2
It's better but partial work.
2019-03-03 17:01:38 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x01\x81' 2019-03-03 17:01:38 DEBUG (ZiGate-Listen) [zigate] Raw packet received, b'\x02\x12\x02\x10\x02\x1e\x90Q\xdfI\x02\x11\x02\x10\x02\x11\x02\x10 \x02\x10 \x02\x10\x02\x11\x1b\xc0\x03\x01\x81\x02\x12\x02\x10\x02\x1e\xa8Q\xdfI\x02\x11\x02\x10\x02\x11\x02\x10!\x02\x10 \x02\x10\x02\x11"\xc0\x03' 2019-03-03 17:01:38 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'51df490100010020002000011b' 2019-03-03 17:01:38 DEBUG (ZiGate-Event Loop) [zigate] Dispatch ZIGATE_PACKET_RECEIVED 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:df49, endpoint:1, cluster:1, attribute:32, status:0, data_type:32, size:1, data:27, lqi:192 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] Received response 0x8102: b'51df4901000100210020000122' 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] RESPONSE 0x8102 - Individual Attribute Report : sequence:81, addr:df49, endpoint:1, cluster:1, attribute:33, status:0, data_type:32, size:1, data:34, lqi:192 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI on/off switch (df49) 000d6ffffe0e464f {'endpoint': 1, 'cluster': 1, 'addr': 'df49', 'attribute': 32, 'data': 27, 'name': 'battery_voltage', 'type': <class 'float'>, 'value': 2.7} 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_ATTRIBUTE_UPDATED 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED 2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [custom_components.zigate] Update attribute for device IKEA of Sweden TRADFRI on/off switch (df49) 000d6ffffe0e464f {'endpoint': 1, 'cluster': 1, 'addr': 'df49', 'attribute': 33, 'data': 34, 'name': 'battery_percent', 'type': <class 'int'>, 'value': 34}2019-03-03 17:01:38 DEBUG (ZiGate-Decode data) [zigate] Dispatch ZIGATE_RESPONSE_RECEIVED
Is it normal that the remote do not push it state (on/off) ?
Not sure but maybe you have to put zigate into the group 0000
Please try to call the service zigate.add_group
with the following data
{
"endpoint": "1",
"group_addr": "0000",
"addr": "0000"
}
Adding the remote add the outlet in the same group make my automation working (remote Working and outlet changes reporting) I just asking if is it normal that the Ikea remote do not report "on" or "off" status :(
If you put the zigate itself in the same group too, in theory you should see a new HA sensor with values from remote
You could retrieve the group using the group membership service on the outlet
hum OK, can i set the zigate to multiple group ?
Yes, you can set up to 5 groups
@max5962 Did that work for you? i have the same issue and no success so far.
Hello,
I upgraded the zigate to 3.0f. so i tried to pair the remote on/off ( with the plug ).
After pairing it ( 4 click on the pair button), red light :
After hass restart :
After pairing no information ..., not be able to run refresh_device in order to get missing information.
After calling "refresh_device" there is nothing in the logs :/
an idea ?