I have a Daikin HVAC that I can’t integrate into HASS, but after som research I found out that it give me atleast some info with a URL. The problem now is that I can’t find out how to read/parse the info and turn it into a sensor.
If I type http://daikin-ip/aircon/get_sensor_info into a browser I get this:
ret=OK,htemp=24.0,hhum=-,otemp=8.0,err=0,cmpfreq=14
htemp is my indoor temp and otemp is my outdoor temp.
Is it possible to present htemp and otemp as a sensor from that URL?
I haven’t tried it with a non-JSON sensor, but the place you’ll want to start is here:
Experiment with what you get in the states panel. If you get a state of something like “ret=OK,htemp=24.0,hhum=-,otemp=8.0,err=0,cmpfreq=14”, you might be able to do some parsing with templates.
Use the template dev tool to experiment with parsing the returned data.
The Domoticz json api isn’t easy to her values from… I tried different ways, but i can’t get it to work. I see that there is a guy with the same problem as mine here:
I realize it’s an old thread, but I am trying to understand the relevance of piffmasta’s comment here. I want to bring data from a json entity via a url into an HA sensor. Ideally I would filter it in jq before I bring it in – it works very nicely from the command line with cURL and jq.
I’ve googled, but have not seen anything. Is there a way to use jq within HA?