bigboban
(Petr Leitner)
May 6, 2019, 8:35am
1
After some un-pairing i had to pair bridge with lock again. All works fine in phone and Nuki app. BUT. Integration to Home assistant is broken now and i know why. This is JSON response from my bridge (list service) and i think it is broken:
[
{
"deviceType": 16,
"nukiId": my-id,
"name": "Můj Nuki zámek"
},
{
"deviceType": 0,
"nukiId": my-id,
"name": "Můj Nuki zámek",
"firmwareVersion": "1.7.3",
"lastKnownState": {
"mode": 2,
"state": 1,
"stateName": "locked",
"batteryCritical": false,
"timestamp": "2019-05-06T08:02:22+00:00"
}
}
]
I see some problems:
Some strange duplicity lock on first place in array - this is that critical issue which broke my HA integration!
Undefined field “deviceType”.
Undefined field “mode”
Why my bridge returns this broken response after re-paring my lock? How to fix problem? Why API doc is not actual?
Stephan
(Stephan Lendl)
May 6, 2019, 9:01am
2
bigboban:
Undefined field “deviceType”.
Undefined field “mode”
This has been introduced here:
1.11.4 is the latest public Firmware for our Bridge. (1.20 is just the firmware version for the wifi-stack; the quite similar version number here should not confuse you as it is not really relevant for our firmware-updates!)
If you can’t receive updates this means your Bridge is not part of our Beta program.
For joining it please follow the instructions found at:
Thanks for your feedback on this. We wanted to update the documentation with the Nuki Opener release, but I agree that it should go live as soon as possible as we pushed this live on the Bridge firmware.
Very strange; I can’t reproduce this here. Did you already try to reset the Bridge?
EDIT: Could you also send me your Bridge ID via PM?
bigboban
(Petr Leitner)
May 6, 2019, 10:09am
3
Bridge ID sent in PM. I think YOU should know what is that strange deviceType 16.
Stephan
(Stephan Lendl)
May 6, 2019, 10:14am
4
At least our firmware developer found a fix which was just deployed with an update (1.12.6/2.2.9).
Please restart the Bridge (+1h till automatic update) or call /fwUpdate . If this doesn’t help a bridge reset should solve it in any case.
bigboban
(Petr Leitner)
May 6, 2019, 11:14am
5
I did fw update to 1.12.6 and it works ! List json response is correct again and HA integration is fixed.
[{"deviceType": 0, "nukiId": xxx, "name": "Můj Nuki zámek", "firmwareVersion": "1.7.3", "lastKnownState": {"mode": 2, "state": 3, "stateName": "unlocked", "batteryCritical": false, "timestamp": "2019-05-06T10:46:24+00:00"}}]
1 Like