-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[mqtt.homeassistant] availability
doesn't have to be a list
#17375
Comments
using openhab-cli showlogs i manage to discover:
|
Can you post the full value of the |
nuki>configuration>basicjson nuki>configuration>advancesjson nuki>lock>json |
Those are all values about the device itself, and not the discovery information from the topic I requested. |
homeassistant/lock/3a855b25/smartlock/config {"dev":{"ids":["nuki_3a855b25"],"mf":"Nuki","mdl":"SmartLock","name":"F1","sw":"4.3.10","hw":"8.3","cu":"http://192.168.82.153"},"~":"nuki","name":null,"unique_id":"3a855b25_lock","cmd_t":"~/lock/action","avty":{"t":"~/maintenance/mqttConnectionState"},"pl_lock":"lock","pl_unlk":"unlock","pl_open":"unlatch","stat_t":"~/lock/hastate","stat_jammed":"jammed","stat_locked":"locked","stat_locking":"locking","stat_unlocked":"unlocked","stat_unlocking":"unlocking","stat_open":"open","stat_opening":"opening","opt":"false"} |
{"dev":{"ids":["nuki_3a855b25"],"mf":"Nuki","mdl":"SmartLock","name":"F1","sw":"4.3.10","hw":"8.3","cu":"http://192.168.82.153"},"~":"nuki","name":null,"unique_id":"3a855b25_lock","cmd_t":"~/lock/action","avty":{"t":"~/maintenance/mqttConnectionState"},"pl_lock":"lock","pl_unlk":"unlock","pl_open":"unlatch","stat_t":"~/lock/hastate","stat_jammed":"jammed","stat_locked":"locked","stat_locking":"locking","stat_unlocked":"unlocked","stat_unlocking":"unlocking","stat_open":"open","stat_opening":"opening","opt":"false"} |
The configuration JSON does not follow the specification. For the |
…arsing fails While it's useful in general to not have to copy/paste a MQTT message into a JSON parser to verify syntax, it also includes details about fields that are the wrong data type that a generic JSON parser won't catch. A la openhab#17375.
…arsing fails While it's useful in general to not have to copy/paste a MQTT message into a JSON parser to verify syntax, it also includes details about fields that are the wrong data type that a generic JSON parser won't catch. A la openhab#17375.
…arsing fails While it's useful in general to not have to copy/paste a MQTT message into a JSON parser to verify syntax, it also includes details about fields that are the wrong data type that a generic JSON parser won't catch. A la openhab#17375. Signed-off-by: Cody Cutrer <cody@cutrer.us>
Would be nice if you can link the PR so we can track it here. |
I did link it in my comment (but as an inline link, not as part of the text). technyon/nuki_hub#475. Do we need to put it anywhere else? |
No, just somehow misread it. Perfectly fine as is. |
availability
doesn't have to be a list
…arsing fails (openhab#17452) While it's useful in general to not have to copy/paste a MQTT message into a JSON parser to verify syntax, it also includes details about fields that are the wrong data type that a generic JSON parser won't catch. A la openhab#17375. Signed-off-by: Cody Cutrer <cody@cutrer.us>
…arsing fails (openhab#17452) While it's useful in general to not have to copy/paste a MQTT message into a JSON parser to verify syntax, it also includes details about fields that are the wrong data type that a generic JSON parser won't catch. A la openhab#17375. Signed-off-by: Cody Cutrer <cody@cutrer.us>
Just an update on this, including discussion from elsewhere - Home Assistant's docs imply that |
…arsing fails (openhab#17452) While it's useful in general to not have to copy/paste a MQTT message into a JSON parser to verify syntax, it also includes details about fields that are the wrong data type that a generic JSON parser won't catch. A la openhab#17375. Signed-off-by: Cody Cutrer <cody@cutrer.us> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
There is amazing nuki_hub over esp32 that send mqtt
i tried to connet it to OpenHAb. Its even send homeassisnt mqtt message but its doesnt get register.
Which config topic should i use?
I see that MQTT got connected from nuki_hub to openhab
OpenHab side:
NukiHub ESP:
The text was updated successfully, but these errors were encountered: