I have an existing flow that stopped working about 4 days ago. It's using an unoffical method to retrieve data from a cloud based pool chlorinator app. My suspicion is that the manufacturer has changed something in the output format. I haven't changed anything in my installaton.
Node-Red gives an error "JSON parse error" in the debug. The string that is displayed has a lot of garbage symbols.
I have retrieved the content of the HTTP POST request using an alternative manual method (non Node-Red). This displays all information successfully. So it seems to be just the JSON parsing that is hitting a new snag.
I've attached a picture of the output of the manual POST retrieval. Are there any characters that could cause the parsing error? And how might I fix this?
If that is the case the it's possibly the Accept-Encoding header that needs to be set ... I think it should be set to identity for no compression (but I have tested that),
The previous version had accept-encoding as gzip. All the subsequent POST requests using the initial IDToken also need to have the accept-encoding changed to identity.