I'm trying to get the basic LED/relay demo working with an EZControl board, but am not able to have any devices communicate with the Lelylan dashboard.
The sketch goes through to the point where it says it's connected to Lelylan, and publishes a message when I push a button, but the dashboard never registers anything arriving. Similarly, changing something on the dashboard never gets through to the board.
No errors appear anywhere though, so it's not obvious what is going wrong.
I have tried to communicate directly with the Lelylan services from Node-red's MQTT nodes, and although claim to be connected too, no messages ever appear (in either direction) there either.
So then I tried curl to connect to the service one step at a time, but am failing at the first hurdle in getting an authorization token. I am trying to use:
curl -X POST
http://people.lelylan.com/oauth/token \
-u <client-id>:<client-secret> \
-d 'grant_type=password' \
-d 'username=<email>' \
-d 'password=<password>' \
-d 'scope=<scopes>'
from the dev page, but am getting an authentication error.
Thanks in advance for any help.RegardsDave