Yesterday morning I only deleted the device. Last night I deleted the app and device handler and it’s working now. Thank you.
How do I add an on/off switch?
Yesterday morning I only deleted the device. Last night I deleted the app and device handler and it’s working now. Thank you.
How do I add an on/off switch?
Is off not showing as an option in the operation modes?
No, it is not showing.
fwiw, off shows (and works) for me.
@jon102034050 thanks, sounds like @Hawtboi1 has a different system and it isn’t reporting like pyeconet (the HA econet library) is expecting.
@Hawtboi1 I’ll try to look in to this, but probably going to have to get more logging setup first
Thanks! I just need to know how to get the logs. My water heater is a plain electric tank and worked in ST.
@Hawtboi1 and @Travi5 if both of you could test https://drive.google.com/file/d/1-CeefemMlLrNAetzOJnKStnDyBmGmIY4/view?usp=sharing
create a folder in your HA config directory called custom_components
if you don’t already have one, and then uncompress the above .zip in that directory and restart.
Also enable debug logging prior to the restart.
Let it run, and do whatever interactions that you can do and then send me your log files. Probably best to PM them to me because there could be some personal info in there.
Added files in to folder /config/custom_components and added the following lines to configuration.yaml
logger:
default: info
logs:
pyeconet.api: debug
This is all there is so far:
2019-08-12 22:36:40 DEBUG (SyncWorker_19) [pyeconet.api] {'access_token': 'i786fvvueu6e4i45i74vfo8ku5b’, 'token_type': 'bearer', 'expires_in': 31535999, 'refresh_token': ‘kuygbgrahiusUJtezUjZjJM7667t’, 'user_type': 'User'}
2019-08-12 22:41:46 DEBUG (SyncWorker_14) [pyeconet.api] <Response [200]>
2019-08-12 22:41:46 DEBUG (SyncWorker_14) [pyeconet.api] <Response [400]>
2019-08-12 22:41:46 INFO (SyncWorker_14) [pyeconet.api] Failed to get usage. Not supported by unit?
2019-08-12 22:41:46 DEBUG (SyncWorker_14) [pyeconet.api] <Response [400]>
2019-08-12 22:41:46 DEBUG (SyncWorker_14) [pyeconet.api] <Response [200]>
2019-08-12 22:46:49 INFO (SyncWorker_7) [pyeconet.equipment.water_heater] Calling API to get updated state.
2019-08-12 22:46:49 DEBUG (SyncWorker_7) [pyeconet.api] <Response [200]>
2019-08-12 22:46:49 DEBUG (SyncWorker_7) [pyeconet.api] <Response [200]>
Doesn’t look like it loaded the new version if pyeconet. Can you make sure your directory structure is correct.
HA_CONF_DIR/custom_components/econet/
and restart again
er, you may want to remove those tokens. I’m not familiar with how econet does auth, but just for good measure…
Thanks, probably a good idea. Didn’t noticed this wasn’t a PM. However those tokens expired pretty quickly I think.
Are you sure? if thats in seconds, its 365 days…
Good point, maybe they expire once you get a new one? So the old one isn’t good anymore? Idk seem to remember seeing several token expired messages through out the day when I was originally setting this up, but that was awhile ago.
I didn’t put the files in HA_CONF_DIR/custom_components/econet/ because you only said custom_components so I assumed HA_CONF_DIR/custom_components with no other folders. I’ll change it later.
They are fake codes
The .zip file gets unziped in the custom_components folder which should create the econet folder, once unzipped.
That’s the number in the log
Now looks like I get this:
2019-08-13 18:16:53 DEBUG (SyncWorker_17) [pyeconet.api] get_modes response:
2019-08-13 18:16:53 DEBUG (SyncWorker_17) [pyeconet.api] [{'name': 'Energy Saver', 'description': 'The Energy Saver mode uses both compressor and electric element heat to deliver the best of both worlds - energy efficiency and faster heating times. This mode meets Energy Star requirements and is designed to maximize compressor use while minimizing electric heat element use to conserve energy while still meeting the needs of your household.'}, {'name': 'Performance', 'description': 'If you have a lot of guests or require a higher than average hot water usage, this mode helps you keep up, while still saving as much energy as possible. In this mode, the unit deliver best in class amounts of hot water (First hour rating) with best in class energy factors.'}]
2019-08-13 18:16:52 DEBUG (SyncWorker_17) [pyeconet.api] get_locations response:
2019-08-13 18:16:52 DEBUG (SyncWorker_17) [pyeconet.api] [{'id': XXXXX, 'name': 'Home', 'city': 'XXXXX', 'state': 'XX', 'timeZoneGMTOffset': -4, 'timezone': 'America/New_York', 'zipCode': ‘XXXXX’, 'user': {'id': XXXXX}, 'isAwayModeConfigured': False, 'equipment': [{'id': XXXXX, 'deviceAddress': 704, 'name': 'Water Heater', 'type': 'Water Heater', 'subType': 'Electric Water Heater', 'awayTriggered': False, 'isschedulemodified': False, 'scheduleType': None, 'softwareVersion': 'WH-ELEC-E3-01-43', 'serialId': '', 'isLoadShiftOpted': False, 'isLoadShedOpted': False, 'isLoadShedActive': False, 'isLoadShiftActive': False, 'isNestActive': None, 'provisioningdate': None, 'isfollowschedulefromcloud': None, 'isScheduleOverridenfromCloud': None, 'iseqconnectedforschedule': False, 'connectedSystem': {'macAddress': 'XX-XX-XX-XX-XX-XX'}, 'setPoint': 110.0, 'minSetPoint': 110.0, 'maxSetPoint': 130.0, 'isEnabled': True, 'isScheduleOverriden': False, 'isFollowingSchedule': False, 'isConnected': True, 'isMqttConnected': False, 'isOnVacation': False, 'vacationCanBeDisabled': True, 'temperatureDisplayUnit': 'Fahrenheit', 'mode': 'Energy Saver', 'isAwayMode': False, 'isAwayModeSupported': False, 'awayCanBeDisabled': False, 'inUse': False, 'modelNumber': '', 'supportsUsageData': False, 'warningtemp': 120}, {'id': XXXXX, 'deviceAddress': 832, 'name': 'EcoNet WiFi Translator', 'type': 'WiFi Adapter', 'subType': 'EcoNet WiFi Translator', 'awayTriggered': False, 'isschedulemodified': False, 'scheduleType': None, 'softwareVersion': 'RH-WIFI-01-00-00', 'serialId': None, 'isLoadShiftOpted': False, 'isLoadShedOpted': False, 'isLoadShedActive': False, 'isLoadShiftActive': False, 'isNestActive': None, 'provisioningdate': None, 'isfollowschedulefromcloud': False, 'isScheduleOverridenfromCloud': False, 'iseqconnectedforschedule': False, 'connectedSystem': {'macAddress': 'XX-XX-XX-XX-XX-XX'}, 'isConnected': True, 'isMqttConnected': False, 'vacationCanBeDisabled': True, 'isAwayModeSupported': False, 'awayCanBeDisabled': True, 'modelNumber': '', 'supportsUsageData': False}]}]
2019-08-13 23:01:05 INFO (SyncWorker_6) [pyeconet.equipment.water_heater] Calling API to get updated state.
2019-08-13 23:01:05 DEBUG (SyncWorker_6) [pyeconet.api] get_device response:
2019-08-13 23:01:05 DEBUG (SyncWorker_6) [pyeconet.api] {'id': XXXXX, 'deviceAddress': 704, 'name': 'Water Heater', 'type': 'Water Heater', 'subType': 'Electric Water Heater', 'awayTriggered': False, 'isschedulemodified': False, 'scheduleType': None, 'softwareVersion': 'WH-ELEC-E3-01-43', 'serialId': '', 'isLoadShiftOpted': False, 'isLoadShedOpted': False, 'isLoadShedActive': False, 'isLoadShiftActive': False, 'isNestActive': None, 'provisioningdate': None, 'isfollowschedulefromcloud': False, 'isScheduleOverridenfromCloud': False, 'iseqconnectedforschedule': False, 'connectedSystem': {'macAddress': ’XX-XX-XX-XX-XX-XX’}, 'hasCriticalAlert': False, 'setPoint': 110.0, 'minSetPoint': 110.0, 'maxSetPoint': 130.0, 'isEnabled': True, 'isConnected': True, 'isMqttConnected': False, 'isOnVacation': False, 'vacationCanBeDisabled': True, 'temperatureDisplayUnit': 'Fahrenheit', 'mode': 'Energy Saver', 'isAwayMode': False, 'isAwayModeSupported': False, 'awayCanBeDisabled': False, 'inUse': False, 'modelNumber': '', 'supportsUsageData': False, 'warningtemp': 120}
2019-08-13 23:01:05 DEBUG (SyncWorker_6) [pyeconet.api] get_usage response:
2019-08-13 23:01:05 INFO (SyncWorker_6) [pyeconet.api] Failed to get usage. Not supported by unit?
2019-08-13 23:01:05 DEBUG (SyncWorker_6) [pyeconet.api] get_vacations response:
2019-08-13 23:01:05 DEBUG (SyncWorker_6) [pyeconet.api] []