[No longer maintained] Rheem EcoNet Integration

Hmm, That's very confusing because the new code doesn't "refresh." Could you take a screenshot of the logs you're seeing? I feel like the old code is still running as well. Did you delete the old app and driver?

Does the current crippled API still report On/Off state of the water heater or heat pump?

LJ

Also, will you be update the Package manager JSON to the MQTT version. My package manager keeps reverting back to the older version.

LJ

I'll answer that as "kinda". There is a thing in the API that says @RUNNING=Running or @RUNNING= to mean on/off. However, I've noticed it's not very accurate. I'm hoping it's just a bug and they fix it so I haven't removed that functionality.

Ah great point. I'll get that updated today. I plan to release the MQTT version today now too. Other than the annoying changes Rheem made which we just have to live with, I think it is working properly.

1 Like

Rheem completely redesigned their system. It used to be a REST API and now it is MQTT. The app and driver were completely rewritten to support this new interface.

A few notes:

  • Rheem removed the ability to tell the current water temperature and ambient temperature, unless they add it back to the API there is nothing I can do
  • I need a little help testing gas heaters and electric-only (non-hybrid) heaters
  • A note about MQTT. Hubitat does NOT currently support MQTTS (SSL). As a result, the MQTT connection to Rheem is unencrypted your username/password IS ALWAYS encrypted, however, the token used to make calls after you login is NOT encrypted. Please keep this in mind. Until Hubitat adds MQTTS support (I don't think this is very high on their list, to my knowledge this is the first internet MQTT integration for HE, all others are LAN only) there is nothing I can do.

HPM has also been updates. Please note, because this integration is SO different, you may want to consider uninstalling and reinstalling. The integration creates brand new devices as there was no way I could find to link the old devices to the new ones :frowning:

This has been a lot more accurate for me over the last couple or days. I'm thinking that the inaccuracy was just a bug that Rheem had to fix.

1 Like

Uh Oh!! :astonished:

I think I am starting to see what Rheem is up to. It seems like they are trying to block third-party developers or at least make our lives hell. What appears to be happening now is when I run your app and log in to Econet, your device updates and the app runs without error. However, it seems now that this login automatically logs you out of the iPhone app. IF you log in with the iPhone app, your device stops updating and the App throws an error

LJ

Are you using the new version of the app? The log messages you have there about Refreshing Data are from the old integration and that message should not be showing up. Also, you should probably remove that screenshot log. The token in there is fairly sensitive, I wouldn't recommend posting it,.

I have been using HPM so i assume it is updated. I just did a repair in HPM right before testing this.

Very interesting. I'll do some testing. As a note, their API is completely undocumented and they do not officially support 3rd party integrations. But what you're saying sounds odd to me. It sounds like it would cause a problem for the fact that both me and my wife use the app... it's going to log one of us out? I'll do some testing today.

It seems to happen every other time I test it. not consistent.

LJ

Could also be that they are now on their third api vendor and this one sucks just as much as the others :stuck_out_tongue_closed_eyes:

OK, so my water heater was not getting updates. I deleted it, and reinstalled it again via your app. Still not updating but now I am getting another error on the water heater device.

I found the problem, I did something stupid. Working on it now.

Edit: Fixed, update the app and driver and reinstall the device again and you should be good.

Thanks so much for all your efforts on this. I know you are as frustrated with Rheem as and all of us are.

LJ

Yup. I really wish more companies would provide open APIs. Unfortunately they all want us locked into their crappy apps that keep everything separate :frowning:

Just to follow up. The device is now updating thermostatOperatingState and Set Point properly and timely.

Thanks again,

LJ

1 Like

Greetings,

I had no idea the app had been broken for a while now. I tried removing the app and driver and replacing them with the new code. I am able to enter my credentials and select the water heater. The app then appears to exit normally but the device is never created and I get the following in the logs:

Not at a pc at the moment but I can troubleshoot later. What kind of water heater do you have?

Rheem Performance Platinum 50 Gal. Tall Ultra Low NOx Natural Gas Tank Water Heater Model no. XG50 12DU36UO.