Econet integration shows unavailable

Over the past week or so, I’ve noticed that my water heater integration has stopped working. It’s status shows unavailable and i’m unable to view or change its operating mode. i’m wondering if something has happened to the integration or maybe a change to the API happened and it’s no longer communicating correctly.

Here’s my config entry:

# Econet Heater
water_heater:
  - platform: econet
    username: my_econet_username
    password: my_econet_password

Here’s some lines from the log file. Might there be any other things I should look at?

2020-05-23 11:27:01 INFO (SyncWorker_1) [homeassistant.loader] Loaded econet from homeassistant.components.econet
2020-05-23 11:27:34 INFO (MainThread) [homeassistant.components.water_heater] Setting up water_heater.econet
2020-05-23 11:27:35 DEBUG (SyncWorker_0) [pyeconet.api] {'access_token': 'token_string', 'token_type': 'bearer', 'expires_in': 31535999, 'refresh_token': 'refresh_string', 'user_type': 'User'}
2020-05-23 11:27:35 INFO (SyncWorker_0) [pyeconet.api] Authentication was successful, token set.
2020-05-23 11:27:36 DEBUG (SyncWorker_0) [pyeconet.api] <Response [200]>
2020-05-23 11:27:36 DEBUG (SyncWorker_0) [pyeconet.api] <Response [200]>
2020-05-23 11:27:37 DEBUG (SyncWorker_0) [pyeconet.api] <Response [200]>
2020-05-23 11:27:39 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=econet, service=add_vacation>
2020-05-23 11:27:39 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=econet, service=delete_vacation>
2020-05-23 11:29:49 DEBUG (SyncWorker_2) [homeassistant.util.json] JSON file not found: /usr/src/homeassistant/homeassistant/components/econet/translations/water_heater.en.json
 (this JSON one was around a bunch of other lines where the file not found occurred for many other items, all involving /translations/)
2020-05-23 11:33:29 INFO (SyncWorker_1) [pyeconet.equipment.water_heater] Calling API to get updated state.
2020-05-23 11:33:30 DEBUG (SyncWorker_1) [pyeconet.api] <Response [200]>
2020-05-23 11:33:30 DEBUG (SyncWorker_1) [pyeconet.equipment.water_heater] {'id': 306576, 'deviceAddress': 4096, 'name': 'Heat Pump Water Heater Gen 4', 'type': 'Water Heater', 'subType': 'Heat Pump Water Heater', 'awayTriggered': False, 'isschedulemodified': False, 'scheduleType': None, 'softwareVersion': 'WH-HPW4-H3-01-33', 'serialId': 'Q999999999', 'isLoadShiftOpted': False, 'isLoadShedOpted': False, 'isLoadShedActive': False, 'isLoadShiftActive': False, 'isNestActive': None, 'provisioningdate': '2020-03-05T00:04:56.496502Z', 'isfollowschedulefromcloud': False, 'isScheduleOverridenfromCloud': False, 'iseqconnectedforschedule': True, 'connectedSystem': {'macAddress': '99-99-99-99-99-99'}, 'hasCriticalAlert': False, 'setPoint': 120.0, 'minSetPoint': 110.0, 'maxSetPoint': 140.0, 'isEnabled': True, 'isConnected': False, 'isMqttConnected': False, 'isOnVacation': False, 'vacationCanBeDisabled': True, 'mode': 'Energy Saver', 'isAwayMode': False, 'isAwayModeSupported': False, 'awayCanBeDisabled': False, 'inUse': False, 'modelNumber': '10E50-HP4D', 'supportsUsageData': True, 'lowerTemp': 107.07720184326172, 'upperTemp': 116.63470458984375, 'ambientTemp': 69.45540618896484, 'warningtemp': 120}
2020-05-23 11:33:30 DEBUG (SyncWorker_1) [pyeconet.api] <Response [200]>
2020-05-23 11:33:30 DEBUG (SyncWorker_1) [pyeconet.equipment.water_heater] {'energyUsage': {'unit': 'kWh', 'hours': {'2020-05-24T00:00:00.000': 0.0, '2020-05-23T23:00:00.000': 0.0, '2020-05-23T22:00:00.000': 0.0, '2020-05-23T21:00:00.000': 0.0, '2020-05-23T20:00:00.000': 0.0, '2020-05-23T19:00:00.000': 0.0, '2020-05-23T18:00:00.000': 0.0, '2020-05-23T17:00:00.000': 0.0, '2020-05-23T16:00:00.000': 0.0, '2020-05-23T15:00:00.000': 0.0, '2020-05-23T14:00:00.000': 0.0, '2020-05-23T13:00:00.000': 0.0, '2020-05-23T12:00:00.000': 0.0, '2020-05-23T11:00:00.000': 0.0, '2020-05-23T10:00:00.000': 0.0, '2020-05-23T09:00:00.000': 0.0, '2020-05-23T08:00:00.000': 0.0, '2020-05-23T07:00:00.000': 0.0, '2020-05-23T06:00:00.000': 0.0, '2020-05-23T05:00:00.000': 0.0, '2020-05-23T04:00:00.000': 0.0, '2020-05-23T03:00:00.000': 0.0, '2020-05-23T02:00:00.000': 0.0, '2020-05-23T01:00:00.000': 0.0}, 'days': {'2020-05-24T00:00:00.000': 0.0, '2020-05-25T00:00:00.000': 0.0, '2020-05-26T00:00:00.000': 0.0, '2020-05-27T00:00:00.000': 0.0, '2020-05-28T00:00:00.000': 0.0, '2020-05-29T00:00:00.000': 0.0, '2020-05-30T00:00:00.000': 0.0, '2020-05-31T00:00:00.000': 0.0, '2020-05-23T00:00:00.000': 0.0, '2020-05-22T00:00:00.000': 0.0, '2020-05-21T00:00:00.000': 0.0, '2020-05-20T00:00:00.000': 0.0, '2020-05-19T00:00:00.000': 2.655364990234375, '2020-05-18T00:00:00.000': 1.952484130859375, '2020-05-17T00:00:00.000': 7.930389404296875, '2020-05-16T00:00:00.000': 3.0491943359375, '2020-05-15T00:00:00.000': 2.8369140625, '2020-05-14T00:00:00.000': 4.73968505859375, '2020-05-13T00:00:00.000': 2.39117431640625, '2020-05-12T00:00:00.000': 5.920654296875, '2020-05-11T00:00:00.000': 3.3175048828125, '2020-05-10T00:00:00.000': 5.82025146484375, '2020-05-09T00:00:00.000': 3.2174072265625, '2020-05-08T00:00:00.000': 3.0926513671875, '2020-05-07T00:00:00.000': 5.110107421875, '2020-05-06T00:00:00.000': 3.05450439453125, '2020-05-05T00:00:00.000': 2.7186279296875, '2020-05-04T00:00:00.000': 2.751678466796875, '2020-05-03T00:00:00.000': 5.9908447265625, '2020-05-02T00:00:00.000': 3.95068359375, '2020-05-01T00:00:00.000': 4.52130126953125}, 'months': {'2020-05-01T00:00:00.000': 75.02142333984375, '2020-04-01T00:00:00.000': 98.76934814453125, '2020-03-01T00:00:00.000': 172.41586303710938, '2020-02-01T00:00:00.000': 0.0, '2020-01-01T00:00:00.000': 0.0, '2019-12-01T00:00:00.000': 0.0, '2019-11-01T00:00:00.000': 0.0, '2019-10-01T00:00:00.000': 0.0, '2019-09-01T00:00:00.000': 0.0, '2019-08-01T00:00:00.000': 0.0, '2019-07-01T00:00:00.000': 0.0, '2019-06-01T00:00:00.000': 0.0}, 'report': {'title': 'Usage Report', 'reports': [{'section': 'Today', 'title': 'Energy Usage Report', 'subtitle': 'No Data to report yet for the past 11 hours', 'averageUsage': 0.0, 'maxUsage': 0.0, 'minUsage': 0.0}, {'section': 'This Month', 'title': 'Energy Usage Report', 'subtitle': "In the past 23 days, you've used 75.02 kWh of energy.", 'averageUsage': 2.500714111328125, 'maxUsage': 7.930389404296875, 'minUsage': 0.0}, {'section': 'This Year', 'title': 'Energy Usage Report', 'subtitle': "In the past 12 months, you've used 346.21 kWh of energy.", 'averageUsage': 28.850552876790363, 'maxUsage': 172.41586303710938, 'minUsage': 0.0}]}}, 'waterUsage': {}}
2020-05-23 11:33:31 DEBUG (SyncWorker_1) [pyeconet.api] <Response [200]>
2020-05-23 11:38:32 INFO (SyncWorker_1) [pyeconet.equipment.water_heater] Calling API to get updated state.

@exeljb kinda been expecting this. The current integration uses a legacy API that econet doesn’t use anymore. I am currently working on trying to get their new API up and running you can join in on the fun over here. https://discord.gg/yBTBWU

@w1ll1am23 that discord link is expired, do you have a GitHub repo somewhere? Just got a new Rheem hybrid and ran into this not working and want to fix it. Happy to do some API reverse engineering.

The library update is on GitHub, haven’t pushed the ha changes. There is a zip to test with in the chat.

Awesome, thank you! I’ll hop over to discord, do some testing and check it out.

1 Like

If you need a beta tester I’m willing to help out.

Just connected my Rheem water heater to the world. What’s the latest on getting it working in HA again?