And have adapted it into my configuration.yaml like this (I’ve removed the API-key and deviceID):
For now I’m only trying to look at the name of the pump
Im not getting any errors but the state is only returned as unknown? What am I doing wrong here?
I’ve tested the curl-command outside HA and I’m able to get info back so the key and deviceID are correct.
Any help greatly appreciated!
Just FYI, the slashes in the documentation were there because the command was continued on the next line. That is why you don’t want them as you are doing a single line command.
As stated, output the json so you know what is really coming back to you. That might be over 255 characters. So, just output the first 250 so you don’t get an error. Then you can start working on parsing it.
Thanks, that did it. I suspected it was something to do with the regex. I dont have a great grasp on how to use it
@jeffcrum Thanks for the explanation! I’ve run into that limit before, how would I go about limiting the output to 250 characters? For future troubleshooting that is