Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 99145

RESTful thermostat help?

$
0
0

@korpo53 wrote:

I’m new to the Home Assistant thing, and I’ve been banging my head against the wall to get my thermostat integrated. Can someone point me in the right direction, or ELI5 what I should be doing here?

My apt has a Pelican Wireless thermostat, which according to their site, has a pretty straightforward REST api. Doing the whole REST and whatever else is new to me as well, it’s just not what I do all day.

When I use Postman and point it to:

https://mycomplex.officeclimatecontrol.net/api.cgi?username=myemail@gmail.com&password=mypassword&request=get&object=Thermostat&selection=41111&value=system;heatSetting;coolSetting;fan;runStatus;temperature

I get back:

<?xml version="1.0" encoding="UTF-8"?>
<result>
	<Thermostat>
		<system>Cool</system>
		<heatSetting>63</heatSetting>
		<coolSetting>71</coolSetting>
		<fan>Auto</fan>
		<runStatus>Off</runStatus>
		<temperature>70.8</temperature>
	</Thermostat>
	<success>1</success>
	<message>Retrieved attributes for 1 thermostats.</message>
</result>

That looks pretty easy, but I’m struggling to piece together the various bits of documentation as to how to convert that into something for configuration.yaml so I get entities and such. Whatever it is just isn’t clicking. So again, ELI5?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 99145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>