I get stuck trying to read the temperature sensors connected to ngenic.
I’ve found the token and room and sensor uuid and get a CURL GET to work on my MAC in terminal.
But I don’t get it how to translate that to a HTTP GET in Homey…
Any suggestions??
The problem is it isn’t a proper json file. The quotation marks should be " and not “. A slight problem but that’s the reason it doesn’t work. The json file should be like this:
I believe there is still a problem with the GET function…
Since I don’t get a reply in Homey only error… There is something with the syntax of the GET command I think…
Haven’t used the http app in a while, the build in logic send http card had seperate inputs for URL, body and headers, when I’m at home I can give you an example.
Edit:
if you want to be safe (if their service is offline for example, kinda forgot to add it into the example flow), you can add another “AND” card between the request and reading the JSON, and see if the “status code” (number) is 200
The issue is that the example is showing the headers in JSON format, while they should be in plain text (with line breaks in between the different headers).