Is there any way to be able to use this smartapp/device to utilize the temperature to send out notifications as to if the setpoint was changed. I cannot seem to view the temperature as a sensor for options for sensors.
Any help on how to create the temperature attribute for the Rheem?
Thatâs just the point (see my post immediately before yours)âŚas-is, this unit does NOT have any sort of temp sensor.
With CoRE (or other rules engine), you may be able to make automations based on the setpoint being changed, but youâll still have absolutely no idea what the temp of the water inside the tank actually is; only what the unit âsaysâ the setpoint is.
Iâm trying to get ST working with the EcoNet thermostat controller. Made some good initial progress in modifying Justin Huffâs EcoNet Connect app to GET HVAC equipment, but hit a wall in PUTing updates.
Iâm going to call an old contact at Rheem support on monday and beg, plead, threaten, and cajole for them to provide some god damn documentation.
Found another site with 1/2 baked docs:
All the alleged documentation is in latin boilerplate text. Useless.These guys seem to have a nasty habit of leaving their digital fly down and publishing 1/2 baked docs live.
Not only that but its impossible to figure out what they intend to do with their api or EcoNet in general. They also seem to want to, based on the developer link above, charge money for API access, and are offering an complex matrix of âplansâ but when you click on the âsign upâ link for any of the said plans, nothing happens. The whole thing looks like it was designed by some biz school kid as a class project and then abandoned.
The basic authorization is used in a post to get a token. I ran it through postman and took some screenshots. I suggest you install Postman and follow the screenshots. It should get you up and running.
Now click Send and you should get an access and refresh token in the response section. Click save as you will come back to this often!
Copy the value between the quotes for the access_token. You can now pass this value into GET and PUT requests.
Hope this gets you up and running. I just got a ST hub yesterday. I played with the old API with Vera but never got it working due to other priorities. Iâm hoping we can help each other out and get this working. Let me know if you have more questions.
This is about as far as Iâve gotten with it too. I was using postman as well. I was getting the token and could GET my device and see its values, I just couldât PUT any values to my equipment.
Mostly I get either a 500 or a 400 status, sometimes with a message, sometimes not.
It appears to me that I donât have rw permissions or something. Iâm wondering if the Basic Auth in the initial token request ties us to an account that isnât read write, or not for hvac equipment anyway.
I tried to call rheem about this but all I got through to was support. They promised to escalate my ticket, but they said there were no guarantees Iâd get a response.
I redacted id, deviceAddress, macAddress etc in the image below.
After I replied I went about playing with PUT commands. I have not quite figured it out yet but with the waterheater I can use x-www-form-urlencode but not with the HVAC. What finally worked was:
Headers: Content-Type: application/json
Body: {âcoolSetPointâ:73} as raw JSON (application/json)
Iâll keep working and post further updates.
Using the above {âfanModeâ:âMediumâ} worked!
So for settings you can use similar PUT:
{
ânameâ: âfollowSchedulesâ,
âvalueâ: false
}
For schedule the PUT would be:
{
âdaysâ: [{
ânameâ: âTuesdayâ,
âtimesâ: [{
ânameâ: âNightâ,
âhourâ: 22,
âminuteâ: 0,
âheatSetPointâ: 62,
âcoolSetPointâ: 77,
âfanModeâ: âOffâ
}]
}]
}
I think you can change name, hour,minute,heatsetpoint,coolsetpoint,fanmode
awesome. Great stuff. Iâm not terribly interested in schedules and vacation mode at this point since Iâd prefer to manage that with ST anyway, but that does look like how you access everything in there.
How did you figure this all out? Iâm curious for future reference. Iâm not generally a developer of RESTful things but close enough to figure out how to write the DH, given what youâve supplied here.
So what are your plans regarding this? Iâm not sure if the best plan is to fork Justin Huffâs Connect app for HVAC, or to add hvac to the existing app. After that, writing the handler itself should be straight forward since there are no major unknowns at this pt.
I agree on the schedules and vacation. My aim is to get as much information
as possible pulled into ST and minimal updates (change setpoint, mode,fan),
not to replicate the Rheem app. But itâs good to have everything documented.
I used Charles software. Nifty stuff!
I think easiest is to create a separate app for now. I doubt there are more
than a handful of people that care about the HVAC. And integrated app can
be on the cards for the future once we have it working.
I am brand new to ST API and not a developer but it looks very simple. I
will have some time on Friday to work on this if you want to pass what you
have on to me. I will probably have a go at it regardless on Friday.
Some thoughts on rheemâs API: They have stopped the old API that the
documentation pointed to. New API is not documented. Even their own app
uses basic auth, not auth2. But on the plus side they even have their
distributors (e.g. gemaire) using this API. I do not foresee this version
of the API going anywhere for a while except maybe upgrades to
authentication. If they do we would be screwed as they donât seem to be
handing out developer keys.