NAME = "foxess_em"
DOMAIN = "foxess_em"
DOMAIN_DATA = f"{DOMAIN}_data"
VERSION = "1.7.0"
Configuration
Add your logs here.
Describe the bug
my sensors are all showung unknown since thursday evening last week
not sure what has caused this error.
This error originated from a custom integration.
Logger: custom_components.foxess_em.forecast.forecast_controller
Source: custom_components/foxess_em/forecast/forecast_controller.py:161
Integration: FoxESS - Energy Management (documentation, issues)
First occurred: 10 June 2023 at 06:00:04 (12 occurrences)
Last logged: 06:00:04
TypeError('datetime64 type does not support sum operations')
Debug log
Add your logs here.
2023-06-13 15:35:57.633 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration octopus_intelligent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-13 15:35:57.635 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration octopus_energy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-13 15:35:57.639 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration foxess_em which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-13 15:35:57.643 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-13 15:36:05.818 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://alexa-api.nabucasa.com/access_token (400)
2023-06-13 15:36:16.804 INFO (MainThread) [custom_components.foxess_em]
-------------------------------------------------------------------
foxess_em
Version: 1.7.0
This is a custom integration!
If you have any issues with this you need to open an issue here:
https://github.com/nathanmarlor/foxess_em/issues
-------------------------------------------------------------------
2023-06-13 15:36:16.806 DEBUG (MainThread) [custom_components.foxess_em] Initialising Fox Cloud service
2023-06-13 15:36:16.955 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.11/asyncio/base_events.py:1907: RuntimeWarning: coroutine 'OctopusIntelligentSystem.start' was never awaited
handle = self._ready.popleft()
2023-06-13 15:36:22.208 DEBUG (MainThread) [custom_components.foxess_em.fox] Logging into Fox Cloud
2023-06-13 15:36:22.209 DEBUG (MainThread) [custom_components.foxess_em.fox] Issuing request to (https://www.foxesscloud.com/c/v0/user/login) with params: {'user': 'xxxxxx', 'password': 'xxxxxxxxxxxxx'}
2023-06-13 15:36:22.259 DEBUG (SyncWorker_6) [custom_components.foxess_em.battery.battery_controller] Refreshing battery model
2023-06-13 15:36:22.259 DEBUG (SyncWorker_0) [custom_components.foxess_em.battery.battery_controller] Refreshing battery model
2023-06-13 15:36:23.713 DEBUG (MainThread) [custom_components.foxess_em.fox] Issuing request to (https://www.foxesscloud.com/c/v0/device/list) with params: {'pagesize': 10, 'currentPage': 1, 'total': 0, 'condition': {'queryDate': {'begin': 0, 'end': 0}}}
2023-06-13 15:36:24.803 DEBUG (MainThread) [custom_components.foxess_em.fox.fox_cloud_service] Retrieved Fox device info: {'deviceID': 'xxxxxxxxxxxx', 'deviceSN': 'XXXXXXXXXX', 'moduleSN': 'XXXXXXXX', 'plantName': 'Ri', 'deviceType': 'H1-6.0-E', 'country': 'United Kingdom', 'countryCode': '', 'feedinDate': '2022-12-16 16:45:30 GMT+0000', 'status': 1, 'power': 0.832, 'generationToday': 14.199999999999818, 'generationTotal': 4473.3, 'productType': 'H', 'flowType': 2, 'hasBattery': True, 'hasPV': True, 'dataLatestUploadDate': '2023-06-13 15:34:55 BST+0100', 'hasWifiMeter': False, 'inParallel': 0, 'wifiMeterID': '', 'wifiMeterSN': ''}
2023-06-13 15:36:24.803 DEBUG (MainThread) [custom_components.foxess_em.fox.fox_cloud_service] Requesting start force charge from Fox Cloud
2023-06-13 15:36:24.804 DEBUG (MainThread) [custom_components.foxess_em.fox] Issuing request to (https://www.foxesscloud.com/c/v0/device/battery/time/set) with params: {'sn': 'xxxxxxxxxxxxxx', 'times': [{'tip': '', 'enableCharge': True, 'enableGrid': True, 'startTime': {'hour': '00', 'minute': '30'}, 'endTime': {'hour': '04', 'minute': '30'}}, {'tip': '', 'enableCharge': False, 'enableGrid': False, 'startTime': {'hour': 0, 'minute': 0}, 'endTime': {'hour': 0, 'minute': 0}}]}
2023-06-13 15:36:29.516 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Refreshing forecast data
2023-06-13 15:36:29.516 DEBUG (MainThread) [custom_components.foxess_em.forecast] Retrieving available sites
2023-06-13 15:36:29.518 DEBUG (MainThread) [custom_components.foxess_em.average.average_controller] Refreshing averages model
2023-06-13 15:36:29.529 DEBUG (MainThread) [custom_components.foxess_em.battery.schedule] Schedule housekeeping, removing data for 2023-05-27T23:30:00+01:00
2023-06-13 15:36:29.529 DEBUG (MainThread) [custom_components.foxess_em.battery.schedule] Schedule housekeeping, removing data for 2023-05-28T23:30:00+01:00
2023-06-13 15:36:29.530 DEBUG (MainThread) [custom_components.foxess_em.battery.schedule] Schedule housekeeping, removing data for 2023-05-29T23:30:00+01:00
2023-06-13 15:36:29.530 DEBUG (MainThread) [custom_components.foxess_em.battery.battery_controller] Refreshing battery model
2023-06-13 15:36:30.345 DEBUG (MainThread) [custom_components.foxess_em.forecast] Retrieving history data for site: 15c2-7e3f-06d6-d5f7
2023-06-13 15:36:31.759 DEBUG (MainThread) [custom_components.foxess_em.forecast] Retrieving forecast data for site: 15c2-7e3f-06d6-d5f7
2023-06-13 15:36:32.855 ERROR (MainThread) [custom_components.foxess_em.forecast.forecast_controller] TypeError('datetime64 type does not support sum operations')
2023-06-13 15:36:32.862 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Refreshing Solcast site info
2023-06-13 15:36:32.862 DEBUG (MainThread) [custom_components.foxess_em.forecast] Retrieving API call status
2023-06-13 15:36:33.189 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Clearing 0 refresh listeners
2023-06-13 15:36:33.190 DEBUG (MainThread) [custom_components.foxess_em.forecast] Retrieving available sites
2023-06-13 15:36:33.490 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Creating refresh schedule for 1 sites
2023-06-13 15:36:33.490 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Calculated 0 available refreshes
2023-06-13 15:36:33.491 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Setting up forecast refresh at 06:00:00
2023-06-13 15:36:33.491 DEBUG (MainThread) [custom_components.foxess_em.forecast.forecast_controller] Finished refreshing Solcast site info
2023-06-13 15:36:33.491 DEBUG (MainThread) [custom_components.foxess_em.battery.battery_controller] Refreshing battery model
2023-06-13 15:36:35.710 DEBUG (MainThread) [custom_components.foxess_em.average.average_controller] Finished refreshing averages model, notifying listeners
2023-06-13 15:36:35.710 DEBUG (MainThread) [custom_components.foxess_em.battery.battery_controller] Refreshing battery model
Version of the custom_component
NAME = "foxess_em" DOMAIN = "foxess_em" DOMAIN_DATA = f"{DOMAIN}_data" VERSION = "1.7.0"
Configuration
Describe the bug
my sensors are all showung unknown since thursday evening last week
Logger: custom_components.foxess_em.forecast.forecast_controller Source: custom_components/foxess_em/forecast/forecast_controller.py:161 Integration: FoxESS - Energy Management (documentation, issues) First occurred: 10 June 2023 at 06:00:04 (12 occurrences) Last logged: 06:00:04
TypeError('datetime64 type does not support sum operations')
Debug log