Skip to content
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

Touchlink does not work because of typo #430

Open
httpdev opened this issue Mar 5, 2023 · 1 comment
Open

Touchlink does not work because of typo #430

httpdev opened this issue Mar 5, 2023 · 1 comment

Comments

@httpdev
Copy link

httpdev commented Mar 5, 2023

In the "Hue Bridge" example flow, the "TouchLink" button doesn't work. The reason appears to be that the node sends
{"touchLink":true}
while it's supposed to be
{"touchlink":true}
The first command fails, as can be verified from the command line:

pi@raspberrypi:~ $ curl -X PUT -d '{"touchLink": true}' http://hue.xxx/api/XXX/config
[{"error":{"type":6,"address":"/config/touchLink","description":"parameter, touchLink, not available"}}]
pi@raspberrypi:~ $
pi@raspberrypi:~ $ curl -X PUT -d '{"touchlink": true}' http://hue.xxx/api/XXX/config
[{"success":{"/config/touchlink":true}}]

Unfortunately, the bridge node appears to ignore the error.

@httpdev
Copy link
Author

httpdev commented Mar 5, 2023

Ok, wow, actually this appears to be correct. The bridge node expects touchLink, converts it to touchlink and adds some magic. That is confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant