britkat1980 / giv_tcp

TCP connection (from inverter) and MQTT implementation
86 stars 37 forks source link

3 phase Gen 3 inverter. When will GivTCP be compatible? #186

Closed LeeFarm11 closed 2 months ago

LeeFarm11 commented 6 months ago

Hi. I had an 11kW 3 phase Gen 3 inverter installed at end of February. As far as I can tell GivTCP is not yet able to communicate with the inverter. Is there a timescale of when it will be added to GivTCP please?

britkat1980 commented 6 months ago

There is a WIP version in the Beta branch of the addon. Add the following repo to the addon store and install the Beta version. Feedback welcome, there's only been limited testing (as I don't have a 3ph).

https://github.com/britkat1980/ha-addons

tonka-truck commented 6 months ago

Hi @britkat1980, Thanks for this. I also have a Gen1 Hybrid 3 phase and having found this thread have installed. After a school boy error of not rebooting HA, I'm now able to run GivTCP and this populates data within MQTT (mosquito on HA).

I get the following error message though in GivTCP Inv1 - read - [ERROR ] - Battery Object empty so skipping

Both Battery_Details and bcu_1 data are being published in MQTT with numbers which appear correct so I'm not sure where this error is.

Not sure if related or not, but the web page also does not load - with no apparent error messages in the log.

tonka-truck commented 6 months ago

I've been looking into this a little more and it could be a problem with how the battery data (although as a rank amateur I could be well off the mark) is being captured.

The MQTT raw inverter data picks up the first battery serial number (not sure if all battery serial numbers should be found here?), however raw batteries bcu_1 identifies the number of modules and cells but the serial number for each battery is not being captured, this means that the first battery v_cell and t_cell data is captured against a blank battery serial number and the remaining batteries are skipped.

Hope this helps.

tonka-truck commented 5 months ago

I've updated my inverter to DA0.003-DD0.003-A0.003 and battery to 2 and now can no longer connect via GivTCP to my inverter with repeated timeout error messages. Tried obvious rebooting of both inverter and HomeAssistant but no joy.

LeeFarm11 commented 5 months ago

I think I have same problem. For about a week or more I have not been able to get any sensor or settings readings. I have tried latest dev and latest beta both with correct IP address which is fixed IP. But everything in Overview says 'unknown'. I just get constant time outs in the log. image

britkat1980 commented 5 months ago

Ah ok, looks like it’s dying when checking for meters… it should handle that gracefully, but seems like it’s not! Let me take a look

britkat1980 commented 5 months ago

Actually, that’s not quite true, it seems to continue after that, but what do you get with debug logging on? I want to see how far it’s getting in the process.

tonka-truck commented 5 months ago

Please see below:

2024-05-29 10:55:27,055 - startup - [DEBUG] - SUPERVISOR_TOKEN is: 86429bbf67722ebd2cbe564afd459fff6a62c07f330e2fe706e89cd733ff48e73f1ebc5d8e8aba7e993275d2eac57f517ede27c21b423788 2024-05-29 10:55:27,059 - startup - [CRITICAL] - HA MQTT Service has been found at core-mosquitto 2024-05-29 10:55:27,062 - startup - [INFO] - Supervisor Timezone: Europe/London 2024-05-29 10:55:29,067 - startup - [INFO] - Searching for Inverters 2024-05-29 10:55:29,067 - startup - [DEBUG] - Networks available for scanning are: {0: '192.168.73.1'} 2024-05-29 10:55:29,068 - startup - [CRITICAL] - Scanning network for GivEnergy Devices... 2024-05-29 10:55:29,068 - startup - [DEBUG] - EVC- Scanning network (1):192.168.73.1 2024-05-29 10:55:30,186 - startup - [DEBUG] - EVC- Scanning network (2):192.168.73.1 2024-05-29 10:55:31,303 - startup - [DEBUG] - INV- Scanning network (1):192.168.73.1 2024-05-29 10:55:39,687 - startup - [DEBUG] - 1 Inverters found on 192.168.73.1 - {1: '192.168.73.41'} 2024-05-29 10:55:39,688 - startup - [DEBUG] - Getting inverter stats for: 192.168.73.41 2024-05-29 10:56:16,004 - givenergy_modbus_async.client.client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:56:16,007 - startup - [ERROR] - Gathering inverter details for 192.168.73.41 failed. 2024-05-29 10:56:52,320 - givenergy_modbus_async.client.client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:56:52,320 - startup - [ERROR] - Gathering inverter details for 192.168.73.41 failed. 2024-05-29 10:56:52,324 - startup - [DEBUG] - GivTCP isAddon: True 2024-05-29 10:56:52,325 - startup - [DEBUG] - Config directory already exists 2024-05-29 10:56:52,326 - startup - [CRITICAL] - Running Redis 2024-05-29 10:56:52,339 - startup - [CRITICAL] - Running Config Frontend 2024-05-29 10:56:52,341 - startup - [CRITICAL] - Setting up invertor: 1 of 1 2024-05-29 10:56:52,384 - startup - [DEBUG] - Copying in a template settings.json 2024-05-29 10:56:52,386 - startup - [DEBUG] - Recreating settings.json for invertor 1 2024-05-29 10:56:52,387 - startup - [DEBUG] - Using found MQTT data to autosetup settings.json 2024-05-29 10:56:52,387 - startup - [DEBUG] - Using found Inverter data to autosetup settings.json 2024-05-29 10:56:52,388 - startup - [DEBUG] - Recreating settings.py for invertor 1 2024-05-29 10:56:52,390 - startup - [CRITICAL] - Running RQ worker to queue and process givernergy-modbus calls 2024-05-29 10:56:52,390 - startup - [CRITICAL] - Running Invertor (192.168.73.41) read loop every 30/120s 2024-05-29 10:56:52,393 - startup - [CRITICAL] - Subscribing MQTT Broker for control 2024-05-29 10:56:52,397 - startup - [CRITICAL] - Starting Gunicorn on port 6345 [2024-05-29 10:56:53 +0100] [78] [INFO] Starting gunicorn 22.0.0 [2024-05-29 10:56:53 +0100] [78] [INFO] Listening at: http://0.0.0.0:6345 (78) [2024-05-29 10:56:53 +0100] [78] [INFO] Using worker: sync [2024-05-29 10:56:53 +0100] [85] [INFO] Booting worker with pid: 85 [2024-05-29 10:56:53 +0100] [86] [INFO] Booting worker with pid: 86 [2024-05-29 10:56:53 +0100] [87] [INFO] Booting worker with pid: 87 2024-05-29 10:56:54,418 - Inv1 - selector_events - [DEBUG ] - Using selector: EpollSelector 2024-05-29 10:56:54,422 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 10:56:54,428 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 10:56:54,775 - Inv1 - mqtt_client - [CRITICAL] - Connecting to MQTT broker for control- core-mosquitto

givtcp-vuejs@0.0.0 dev vite --host -l silent

2024-05-29 10:57:31,023 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:57:31,035 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd006c80>) 2024-05-29 10:57:31,037 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 10:57:31,045 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 10:57:31,266 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:57:31,518 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:57:31,768 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:57:32,260 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:07,362 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:07,372 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd01e800>) 2024-05-29 10:58:07,374 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 10:58:07,381 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 10:58:07,612 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:07,863 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:08,114 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:08,366 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:43,707 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:43,713 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd01f800>) 2024-05-29 10:58:43,713 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 10:58:43,720 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 10:58:43,953 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:44,203 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:44,454 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:58:44,705 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:20,054 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:20,059 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd020e80>) 2024-05-29 10:59:20,060 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 10:59:20,063 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 10:59:20,303 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:20,554 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:20,805 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:21,057 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:56,372 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:56,373 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd021f80>) 2024-05-29 10:59:56,375 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 10:59:56,378 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 10:59:56,622 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:56,872 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:57,124 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 10:59:57,375 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:00:32,688 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:00:32,689 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd022200>) 2024-05-29 11:00:32,691 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 11:00:32,696 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 11:00:32,939 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:00:33,190 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:00:33,440 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:00:33,691 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:01:04,978 - Inv1 - mqtt_client - [ERROR ] - No serial_number found in MQTT queue. MQTT Control not available. Double check logs for connection errors and restart GivTCP or ensure correct AIO/firmware settings 2024-05-29 11:01:12,265 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x04 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:01:12,267 - Inv1 - read - [ERROR ] - Error in inital detect/refresh: (<class 'TimeoutError'>, TimeoutError(), <traceback object at 0x7fe4fd023e40>) 2024-05-29 11:01:12,269 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-05-29 11:01:12,271 - Inv1 - read - [CRITICAL] - Detecting inverter charateristics... 2024-05-29 11:01:12,516 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x05 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:01:12,766 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x06 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:01:13,017 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x07 base_register=60) after 11 tries at 3s, giving up 2024-05-29 11:01:13,268 - Inv1 - client - [CRITICAL] - Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x08 base_register=60) after 11 tries at 3s, giving up

britkat1980 commented 5 months ago

Ok, so it is meter data failing… not sure why it’s not handling gracefully, I’ll look at this and push out a new dev build today/tomorrow

britkat1980 commented 5 months ago

Try dev version 2.4.269, should now work...

tonka-truck commented 5 months ago

2.4.269 starts up again and passes data to HA dashboard - yah.

Unfortunately enabling the web interface it fails and does not start with the following as the final error message

2024-05-29 13:45:42,587 - Inv1 - mqtt_client - [ERROR ] - No serial_number found in MQTT queue. MQTT Control not available. Double check logs for connection errors and restart GivTCP or ensure correct AIO/firmware settings

LeeFarm11 commented 5 months ago

I too now have readings. Except - all the power readings are bak to 10x too high which was fixed in DEV 262 but seems now broken again, Like this - image

and all the readings of all batteries are still 0C and 0V. Like this - image

LeeFarm11 commented 5 months ago

Hi. In the GivTCP Inverter Details section I have some strange readings. I have a few Unknowns -

GivTCP Battery Priority GivTCP DC Status GivTCP Inverter Time GivTCP System Mode

GivTCP Inverter Firmware is showing the wrong version. Showing D0.0-A0.0 but I have image

GivTCP Inverter Type shows as Gen 1 - Hybrid_3ph but I believe it is Gen 3.

LeeFarm11 commented 3 months ago

Hi @tonka-truck Do you have any success yet to control (not just report) your Inverter? I have managed to get ge_cloud controlling my Inverter, but not yet GivTCP. I am now struggling with error messages relating to mqtt, but I just wonder if you have yours working before I carry on with trying to work through these errors. My Inverter Firmware is now DA0.004-DD0.004-A0.004 and Battery Firmware is now 402852865. Thanks.

tonka-truck commented 3 months ago

Hi there,I’ve unfortunately updated the DEV version and ever since I’m no longer getting any updates. I’ve also updated inverter and battery to the same versions. Keep updating to the latest DEV release but still no success unfortunately.  On 28 Jul 2024, at 12:02, LeeFarm11 @.***> wrote: Hi @tonka-truck Do you have any success yet to control (not just report) your Inverter? I have managed to get ge_cloud controlling my Inverter, but not yet GivTCP. I am now struggling with error messages relating to mqtt, but I just wonder if you have yours working before I carry on with trying to work through these errors. My Inverter Firmware is now DA0.004-DD0.004-A0.004 and Battery Firmware is now 402852865. Thanks.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

britkat1980 commented 3 months ago

Hi I both, latest Dev and Beta require you to use the web gui to config. It defaults to self_run off to allow you to check the config before it starts. The logs will tell you where to go to configure. I’d like to get to the bottom of why control seems not to work with the 3ph inverters. If you get latest beta to work with reads then we can try and work through the control side

Valex1p commented 3 months ago

Hi @britkat1980 I've spent the last few days trying to get GIVTCP talking to my 3ph inverter until the penny dropped (helped by @piansom) that they may be a different beast to the 1Ph devices. Anyway I'm hopefully in the right place now.

I've installed 2.4.588 (and already had MQTT running) but get errors:-

The first seems to be a problem connecting to MQTT. I've tried adding a HA user with the same name and password as in the webUI config but no change.

024-07-30 17:15:11,215 - startup - [INFO] - ========================== STARTING GivTCP================================ 2024-07-30 17:15:11,239 - startup - [INFO] - HA MQTT Service has been found at core-mosquitto 2024-07-30 17:15:11,362 - startup - [INFO] - IP Address is: 192.168.68.82 2024-07-30 17:15:13,364 - startup - [INFO] - Searching for Inverters 2024-07-30 17:15:13,365 - startup - [INFO] - Scanning network for GivEnergy Devices... 2024-07-30 17:15:38,932 - startup - [INFO] - Inverter TD2343G090 which is a Gen1 - Hybrid_3ph with 6 batteries has been found at: 192.168.68.79 2024-07-30 17:15:38,945 - startup - [INFO] - Running Redis 2024-07-30 17:15:38,959 - startup - [INFO] - Running nginx 2024-07-30 17:15:38,964 - startup - [INFO] - Inverter TD2343G090 found in settings file 2024-07-30 17:15:38,975 - startup - [INFO] - Setting up invertor: 1 of 1 2024-07-30 17:15:39,040 - startup - [INFO] - Removing firstrun 2024-07-30 17:15:39,045 - startup - [INFO] - ============================================================== 2024-07-30 17:15:39,045 - startup - [INFO] - ==== Web Gui Config is at ==== 2024-07-30 17:15:39,045 - startup - [INFO] - ==== http://192.168.68.82:8099/config.html ==== 2024-07-30 17:15:39,046 - startup - [INFO] - ============================================================== 2024-07-30 17:15:39,056 - startup - [INFO] - Running RQ worker to queue and process givernergy-modbus calls 2024-07-30 17:15:39,057 - startup - [INFO] - Running Invertor (192.168.68.79) read loop every 30/120s 2024-07-30 17:15:39,068 - startup - [INFO] - Starting Gunicorn on port 6345 [2024-07-30 17:15:39 +0100] [81] [INFO] Starting gunicorn 22.0.0 [2024-07-30 17:15:39 +0100] [81] [INFO] Listening at: http://0.0.0.0:6345 (81) [2024-07-30 17:15:39 +0100] [81] [INFO] Using worker: sync [2024-07-30 17:15:39 +0100] [82] [INFO] Booting worker with pid: 82 [2024-07-30 17:15:39 +0100] [83] [INFO] Booting worker with pid: 83 [2024-07-30 17:15:39 +0100] [84] [INFO] Booting worker with pid: 84 2024-07-30 17:15:41,721 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-07-30 17:15:41,727 - Inv1 - read - [CRITICAL] - Detecting inverter characteristics... 2024-07-30 17:15:57,521 - Inv1 - read - [INFO ] - No day/Night rate info so reverting to day 2024-07-30 17:15:57,536 - Inv1 - read - [INFO ] - Publishing Home Assistant Discovery messages 2024-07-30 17:15:57,574 - Inv1 - HA_Discovery - [ERROR ] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69)

Then you get in a loop of failed updates:-

2024-07-30 17:16:34,445 - Inv1 - read - [ERROR ] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:17:06,963 - Inv1 - read - [ERROR ] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:17:41,288 - Inv1 - read - [ERROR ] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462)

Any suggestions?

britkat1980 commented 3 months ago

Can you turn on debug and share logs, I need to find what key it is failing on. (I don't have access to a 3ph, so its tricky to diagnose)

Valex1p commented 3 months ago

Here you go:-

2024-07-30 17:15:41,721 - read - [INFO] - Starting watch_plant loop... 2024-07-30 17:15:41,727 - read - [CRITICAL] - Detecting inverter characteristics... 2024-07-30 17:15:57,521 - read - [INFO] - No day/Night rate info so reverting to day 2024-07-30 17:15:57,536 - read - [INFO] - Publishing Home Assistant Discovery messages 2024-07-30 17:15:57,574 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-07-30 17:16:34,445 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:17:06,963 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:17:41,288 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:53:24,106 - read - [INFO] - Starting watch_plant loop... 2024-07-30 17:53:24,111 - read - [CRITICAL] - Detecting inverter characteristics... 2024-07-30 17:53:42,654 - read - [INFO] - No day/Night rate info so reverting to day 2024-07-30 17:53:42,670 - read - [INFO] - Publishing Home Assistant Discovery messages 2024-07-30 17:53:42,709 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-07-30 17:54:18,218 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:54:52,630 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:54:53,169 - write - [CRITICAL] - Restarting the GivTCP Addon in 2s... 2024-07-30 17:55:22,705 - selector_events - [DEBUG] - Using selector: EpollSelector 2024-07-30 17:55:22,709 - read - [INFO] - Starting watch_plant loop... 2024-07-30 17:55:22,712 - GivLUT - [DEBUG] - Opening Modbus Connection to 192.168.68.79 2024-07-30 17:55:22,717 - read - [CRITICAL] - Detecting inverter characteristics... 2024-07-30 17:55:40,200 - read - [DEBUG] - Running full refresh 2024-07-30 17:55:40,200 - read - [DEBUG] - Running processData 2024-07-30 17:55:40,201 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 17:55:40,218 - read - [DEBUG] - Getting Battery Details 2024-07-30 17:55:40,221 - read - [DEBUG] - Building battery output: 2024-07-30 17:55:40,222 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 17:55:40,223 - read - [DEBUG] - Building battery output: 2024-07-30 17:55:40,224 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 17:55:40,225 - read - [DEBUG] - Building battery output: 2024-07-30 17:55:40,226 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 17:55:40,227 - read - [DEBUG] - Building battery output: 2024-07-30 17:55:40,228 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 17:55:40,228 - read - [DEBUG] - Building battery output: 2024-07-30 17:55:40,230 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 17:55:40,230 - read - [DEBUG] - Building battery output: 2024-07-30 17:55:40,232 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 17:55:40,233 - read - [DEBUG] - Getting mode control figures 2024-07-30 17:55:40,234 - read - [DEBUG] - Calculating Mode... 2024-07-30 17:55:40,235 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 17:55:40,236 - read - [DEBUG] - Force Export is not Running 2024-07-30 17:55:40,238 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:55:40,238 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:55:40,244 - read - [DEBUG] - Starting ratecalcs... 2024-07-30 17:55:40,274 - read - [DEBUG] - Night Start= Tue Jul 30 23:30:00 2024 2024-07-30 17:55:40,274 - read - [DEBUG] - Day Start= Tue Jul 30 05:30:00 2024 2024-07-30 17:55:40,275 - read - [INFO] - No day/Night rate info so reverting to day 2024-07-30 17:55:40,276 - read - [DEBUG] - Setting Rate to Day 2024-07-30 17:55:40,278 - read - [DEBUG] - First time running so saving AC Charge status 2024-07-30 17:55:40,279 - read - [DEBUG] - Battery rate calcs complete 2024-07-30 17:55:40,283 - read - [DEBUG] - Successfully processed data from: 192.168.68.79 2024-07-30 17:55:40,284 - read - [DEBUG] - processData result: Success processing data 2024-07-30 17:55:40,285 - read - [DEBUG] - Running pubFromPickle 2024-07-30 17:55:40,288 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 17:55:40,289 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 17:55:40,291 - read - [DEBUG] - Dealt with invertor 2024-07-30 17:55:40,292 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:55:40,292 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:55:40,293 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:55:40,294 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:55:40,295 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:55:40,296 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:55:40,296 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 17:55:40,297 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 17:55:40,297 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 17:55:40,298 - read - [DEBUG] - Dealt with meters 2024-07-30 17:55:40,298 - read - [DEBUG] - Dealt with raw 2024-07-30 17:55:40,299 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:55:40,300 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:55:40,300 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:55:40,301 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:55:40,302 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:55:40,302 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:55:40,303 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 17:55:40,303 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 17:55:40,304 - read - [DEBUG] - Dealt with Power 2024-07-30 17:55:40,305 - read - [DEBUG] - Dealt with Power 2024-07-30 17:55:40,305 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 17:55:40,306 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 17:55:40,306 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 17:55:40,307 - read - [DEBUG] - Dealt with Today 2024-07-30 17:55:40,307 - read - [DEBUG] - Dealt with Total 2024-07-30 17:55:40,308 - read - [DEBUG] - Dealt with Rates 2024-07-30 17:55:40,309 - read - [DEBUG] - Dealt with Energy 2024-07-30 17:55:40,309 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 17:55:40,310 - read - [DEBUG] - Dealt with Control 2024-07-30 17:55:40,310 - read - [DEBUG] - Dealt with Stats 2024-07-30 17:55:40,311 - read - [DEBUG] - Running updateFirstRun with SN= TD2343G090 2024-07-30 17:55:40,311 - read - [DEBUG] - Opening settings for first run 2024-07-30 17:55:40,312 - read - [DEBUG] - Settings available 2024-07-30 17:55:40,314 - read - [DEBUG] - serial number aready exists: " serial_number="TD2343G090" " 2024-07-30 17:55:40,315 - read - [DEBUG] - removing lockfile 2024-07-30 17:55:40,315 - read - [INFO] - Publishing Home Assistant Discovery messages 2024-07-30 17:55:40,322 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 17:55:40,323 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:55:40,323 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:55:40,324 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:55:40,324 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:55:40,325 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:55:40,326 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:55:40,326 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 17:55:40,352 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 17:55:40,353 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 17:55:40,357 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 17:55:40,359 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-07-30 17:55:40,361 - read - [DEBUG] - Publish all to MQTT 2024-07-30 17:55:40,361 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 17:55:40,362 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 17:55:40,367 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 17:55:40,368 - mqtt - [DEBUG] - connected OK Returned code=Success 2024-07-30 17:55:40,369 - mqtt - [DEBUG] - Subscribing to GivEnergy/control/TD2343G090/# 2024-07-30 17:55:40,569 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 17:55:40,570 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 17:55:40,571 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:55:40,572 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:55:40,572 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:55:40,573 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:55:40,574 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:55:40,574 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:55:40,575 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 17:55:40,576 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 17:55:40,576 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 17:55:40,577 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 17:55:40,657 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 17:55:40,658 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:55:40,658 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:55:40,659 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:55:40,660 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:55:40,661 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:55:40,662 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:55:40,663 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 17:55:40,694 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 17:55:40,695 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 17:55:40,702 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 17:55:40,705 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 17:55:40,706 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 17:55:40,711 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 17:55:40,712 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 17:55:40,714 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 17:55:40,715 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 17:55:40,720 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 17:55:40,725 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 17:55:40,730 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 17:55:40,732 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats/Timeout_Error 2024-07-30 17:56:10,826 - read - [DEBUG] - Running partial refresh 2024-07-30 17:56:13,251 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 17:56:13,252 - read - [DEBUG] - Running processData 2024-07-30 17:56:13,252 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 17:56:13,272 - read - [DEBUG] - Getting Battery Details 2024-07-30 17:56:13,274 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:13,275 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 17:56:13,276 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:13,277 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 17:56:13,278 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:13,279 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 17:56:13,280 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:13,281 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 17:56:13,282 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:13,283 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 17:56:13,284 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:13,285 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 17:56:13,287 - read - [DEBUG] - Getting mode control figures 2024-07-30 17:56:13,288 - read - [DEBUG] - Calculating Mode... 2024-07-30 17:56:13,289 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 17:56:13,290 - read - [DEBUG] - Force Export is not Running 2024-07-30 17:56:13,291 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:56:13,292 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:56:13,304 - read - [DEBUG] - Running the data cleansing process 2024-07-30 17:56:13,307 - read - [DEBUG] - Stack_Voltage is outside of allowable bounds so using old value. Out of bounds value is: 473.0. Min limit: 0. Max limit: 350 2024-07-30 17:56:13,319 - read - [DEBUG] - Stack_Load_Voltage is outside of allowable bounds so using old value. Out of bounds value is: 475.2. Min limit: 0. Max limit: 350 2024-07-30 17:56:13,433 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 17:56:13,534 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 17:56:13,634 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 17:56:13,733 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 17:56:13,833 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 17:56:13,934 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 17:56:13,935 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 17:56:13,935 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 17:56:14,044 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 17:56:14,045 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 17:56:14,051 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:56:14,054 - read - [DEBUG] - processData result: processData Error processing registers: ('KeyError', 'read.py', 1462) 2024-07-30 17:56:14,054 - read - [DEBUG] - Running pubFromPickle 2024-07-30 17:56:14,058 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 17:56:14,058 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 17:56:14,060 - read - [DEBUG] - Dealt with invertor 2024-07-30 17:56:14,061 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:56:14,062 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:56:14,063 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:56:14,064 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:56:14,065 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:56:14,065 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:56:14,066 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 17:56:14,066 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 17:56:14,067 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 17:56:14,067 - read - [DEBUG] - Dealt with meters 2024-07-30 17:56:14,068 - read - [DEBUG] - Dealt with raw 2024-07-30 17:56:14,069 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:56:14,069 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:56:14,070 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:56:14,071 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:56:14,071 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:56:14,072 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:56:14,072 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 17:56:14,073 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 17:56:14,074 - read - [DEBUG] - Dealt with Power 2024-07-30 17:56:14,074 - read - [DEBUG] - Dealt with Power 2024-07-30 17:56:14,075 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 17:56:14,075 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 17:56:14,076 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 17:56:14,076 - read - [DEBUG] - Dealt with Today 2024-07-30 17:56:14,077 - read - [DEBUG] - Dealt with Total 2024-07-30 17:56:14,078 - read - [DEBUG] - Dealt with Rates 2024-07-30 17:56:14,078 - read - [DEBUG] - Dealt with Energy 2024-07-30 17:56:14,079 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 17:56:14,079 - read - [DEBUG] - Dealt with Control 2024-07-30 17:56:14,080 - read - [DEBUG] - Dealt with Stats 2024-07-30 17:56:14,081 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 17:56:14,081 - read - [DEBUG] - Publish all to MQTT 2024-07-30 17:56:14,082 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 17:56:14,083 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 17:56:14,084 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:56:14,085 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:56:14,085 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:56:14,086 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:56:14,087 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:56:14,087 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:56:14,088 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 17:56:14,089 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 17:56:14,089 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 17:56:14,090 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 17:56:14,245 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 17:56:14,246 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:56:14,247 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:56:14,249 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:56:14,250 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:56:14,252 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:56:14,253 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:56:14,254 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 17:56:14,282 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 17:56:14,283 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 17:56:14,289 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 17:56:14,292 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 17:56:14,293 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 17:56:14,296 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 17:56:14,297 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 17:56:14,298 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 17:56:14,299 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 17:56:14,304 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 17:56:14,308 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 17:56:14,315 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 17:56:43,506 - read - [DEBUG] - Running partial refresh 2024-07-30 17:56:45,933 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 17:56:45,933 - read - [DEBUG] - Running processData 2024-07-30 17:56:45,934 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 17:56:45,953 - read - [DEBUG] - Getting Battery Details 2024-07-30 17:56:45,955 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:45,956 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 17:56:45,957 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:45,958 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 17:56:45,959 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:45,960 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 17:56:45,961 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:45,962 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 17:56:45,963 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:45,964 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 17:56:45,965 - read - [DEBUG] - Building battery output: 2024-07-30 17:56:45,966 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 17:56:45,968 - read - [DEBUG] - Getting mode control figures 2024-07-30 17:56:45,969 - read - [DEBUG] - Calculating Mode... 2024-07-30 17:56:45,969 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 17:56:45,970 - read - [DEBUG] - Force Export is not Running 2024-07-30 17:56:45,972 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:56:45,972 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:56:45,986 - read - [DEBUG] - Running the data cleansing process 2024-07-30 17:56:45,989 - read - [DEBUG] - Stack_Voltage is outside of allowable bounds so using old value. Out of bounds value is: 473.0. Min limit: 0. Max limit: 350 2024-07-30 17:56:46,001 - read - [DEBUG] - Stack_Load_Voltage is outside of allowable bounds so using old value. Out of bounds value is: 475.2. Min limit: 0. Max limit: 350 2024-07-30 17:56:46,115 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 17:56:46,217 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 17:56:46,319 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 17:56:46,422 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 17:56:46,526 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 17:56:46,634 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 17:56:46,635 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 17:56:46,635 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 17:56:46,753 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 17:56:46,754 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 17:56:46,763 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:56:46,766 - read - [DEBUG] - processData result: processData Error processing registers: ('KeyError', 'read.py', 1462) 2024-07-30 17:56:46,767 - read - [DEBUG] - Running pubFromPickle 2024-07-30 17:56:46,770 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 17:56:46,771 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 17:56:46,774 - read - [DEBUG] - Dealt with invertor 2024-07-30 17:56:46,775 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:56:46,776 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:56:46,777 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:56:46,778 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:56:46,779 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:56:46,780 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:56:46,781 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 17:56:46,781 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 17:56:46,782 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 17:56:46,782 - read - [DEBUG] - Dealt with meters 2024-07-30 17:56:46,783 - read - [DEBUG] - Dealt with raw 2024-07-30 17:56:46,784 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:56:46,785 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:56:46,786 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:56:46,787 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:56:46,788 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:56:46,789 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:56:46,790 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 17:56:46,790 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 17:56:46,791 - read - [DEBUG] - Dealt with Power 2024-07-30 17:56:46,792 - read - [DEBUG] - Dealt with Power 2024-07-30 17:56:46,792 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 17:56:46,793 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 17:56:46,794 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 17:56:46,795 - read - [DEBUG] - Dealt with Today 2024-07-30 17:56:46,795 - read - [DEBUG] - Dealt with Total 2024-07-30 17:56:46,796 - read - [DEBUG] - Dealt with Rates 2024-07-30 17:56:46,797 - read - [DEBUG] - Dealt with Energy 2024-07-30 17:56:46,798 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 17:56:46,798 - read - [DEBUG] - Dealt with Control 2024-07-30 17:56:46,799 - read - [DEBUG] - Dealt with Stats 2024-07-30 17:56:46,800 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 17:56:46,801 - read - [DEBUG] - Publish all to MQTT 2024-07-30 17:56:46,801 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 17:56:46,803 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 17:56:46,804 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:56:46,805 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:56:46,806 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:56:46,807 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:56:46,808 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:56:46,809 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:56:46,810 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 17:56:46,811 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 17:56:46,812 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 17:56:46,812 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 17:56:46,912 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 17:56:46,913 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:56:46,914 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:56:46,915 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:56:46,916 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:56:46,918 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:56:46,920 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:56:46,921 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 17:56:46,949 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 17:56:46,950 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 17:56:46,955 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 17:56:46,960 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 17:56:46,961 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 17:56:46,963 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 17:56:46,964 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 17:56:46,964 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 17:56:46,966 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 17:56:46,971 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 17:56:46,978 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 17:56:46,985 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 17:57:16,174 - read - [DEBUG] - Running partial refresh 2024-07-30 17:57:19,845 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 17:57:19,845 - read - [DEBUG] - Running processData 2024-07-30 17:57:19,846 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 17:57:19,868 - read - [DEBUG] - Getting Battery Details 2024-07-30 17:57:19,870 - read - [DEBUG] - Building battery output: 2024-07-30 17:57:19,871 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 17:57:19,872 - read - [DEBUG] - Building battery output: 2024-07-30 17:57:19,873 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 17:57:19,873 - read - [DEBUG] - Building battery output: 2024-07-30 17:57:19,874 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 17:57:19,875 - read - [DEBUG] - Building battery output: 2024-07-30 17:57:19,876 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 17:57:19,877 - read - [DEBUG] - Building battery output: 2024-07-30 17:57:19,878 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 17:57:19,878 - read - [DEBUG] - Building battery output: 2024-07-30 17:57:19,879 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 17:57:19,881 - read - [DEBUG] - Getting mode control figures 2024-07-30 17:57:19,882 - read - [DEBUG] - Calculating Mode... 2024-07-30 17:57:19,883 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 17:57:19,884 - read - [DEBUG] - Force Export is not Running 2024-07-30 17:57:19,885 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:57:19,886 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 17:57:19,902 - read - [DEBUG] - Running the data cleansing process 2024-07-30 17:57:19,905 - read - [DEBUG] - Stack_Voltage is outside of allowable bounds so using old value. Out of bounds value is: 473.0. Min limit: 0. Max limit: 350 2024-07-30 17:57:19,918 - read - [DEBUG] - Stack_Load_Voltage is outside of allowable bounds so using old value. Out of bounds value is: 475.2. Min limit: 0. Max limit: 350 2024-07-30 17:57:20,074 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 17:57:20,190 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 17:57:20,298 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 17:57:20,409 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 17:57:20,516 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 17:57:20,621 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 17:57:20,621 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 17:57:20,622 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 17:57:20,735 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 17:57:20,736 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 17:57:20,743 - read - [ERROR] - inverter Update failed so using last known good data from cache: ('KeyError', 'read.py', 1462) 2024-07-30 17:57:20,745 - read - [DEBUG] - processData result: processData Error processing registers: ('KeyError', 'read.py', 1462) 2024-07-30 17:57:20,746 - read - [DEBUG] - Running pubFromPickle 2024-07-30 17:57:20,749 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 17:57:20,750 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 17:57:20,752 - read - [DEBUG] - Dealt with invertor 2024-07-30 17:57:20,753 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:57:20,754 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:57:20,755 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:57:20,756 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:57:20,756 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:57:20,757 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:57:20,758 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 17:57:20,758 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 17:57:20,759 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 17:57:20,759 - read - [DEBUG] - Dealt with meters 2024-07-30 17:57:20,760 - read - [DEBUG] - Dealt with raw 2024-07-30 17:57:20,760 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 17:57:20,761 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 17:57:20,762 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 17:57:20,762 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 17:57:20,763 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 17:57:20,764 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 17:57:20,764 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 17:57:20,765 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 17:57:20,766 - read - [DEBUG] - Dealt with Power 2024-07-30 17:57:20,766 - read - [DEBUG] - Dealt with Power 2024-07-30 17:57:20,767 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 17:57:20,767 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 17:57:20,768 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 17:57:20,768 - read - [DEBUG] - Dealt with Today 2024-07-30 17:57:20,769 - read - [DEBUG] - Dealt with Total 2024-07-30 17:57:20,769 - read - [DEBUG] - Dealt with Rates 2024-07-30 17:57:20,770 - read - [DEBUG] - Dealt with Energy 2024-07-30 17:57:20,771 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 17:57:20,771 - read - [DEBUG] - Dealt with Control 2024-07-30 17:57:20,772 - read - [DEBUG] - Dealt with Stats 2024-07-30 17:57:20,772 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 17:57:20,773 - read - [DEBUG] - Publish all to MQTT 2024-07-30 17:57:20,774 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 17:57:20,775 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 17:57:20,776 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:57:20,776 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:57:20,777 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:57:20,778 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:57:20,778 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:57:20,779 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:57:20,779 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 17:57:20,780 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 17:57:20,781 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 17:57:20,781 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 17:57:20,843 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 17:57:20,844 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 17:57:20,845 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 17:57:20,846 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 17:57:20,847 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 17:57:20,848 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 17:57:20,849 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 17:57:20,850 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 17:57:20,876 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 17:57:20,877 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 17:57:20,882 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 17:57:20,885 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 17:57:20,885 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 17:57:20,889 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 17:57:20,889 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 17:57:20,890 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 17:57:20,891 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 17:57:20,897 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 17:57:20,902 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 17:57:20,915 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats

britkat1980 commented 3 months ago

Thanks, can you install beta 590 and repost same log (should have more debug info)

Valex1p commented 3 months ago

which version from the repository?

2.4.588 or 2.4.591

Valex1p commented 3 months ago

using 2.4.591:-

2024-07-30 18:59:34,657 - selector_events - [DEBUG] - Using selector: EpollSelector 2024-07-30 18:59:34,660 - read - [INFO] - Starting watch_plant loop... 2024-07-30 18:59:34,661 - GivLUT - [DEBUG] - Opening Modbus Connection to 192.168.68.79 2024-07-30 18:59:34,666 - read - [CRITICAL] - Detecting inverter characteristics... 2024-07-30 18:59:54,158 - read - [DEBUG] - Running full refresh 2024-07-30 18:59:54,159 - read - [DEBUG] - Running processData 2024-07-30 18:59:54,159 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 18:59:54,177 - read - [DEBUG] - Getting Battery Details 2024-07-30 18:59:54,179 - read - [DEBUG] - Building battery output: 2024-07-30 18:59:54,180 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 18:59:54,181 - read - [DEBUG] - Building battery output: 2024-07-30 18:59:54,182 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 18:59:54,183 - read - [DEBUG] - Building battery output: 2024-07-30 18:59:54,184 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 18:59:54,185 - read - [DEBUG] - Building battery output: 2024-07-30 18:59:54,186 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 18:59:54,187 - read - [DEBUG] - Building battery output: 2024-07-30 18:59:54,188 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 18:59:54,188 - read - [DEBUG] - Building battery output: 2024-07-30 18:59:54,190 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 18:59:54,191 - read - [DEBUG] - Getting mode control figures 2024-07-30 18:59:54,192 - read - [DEBUG] - Calculating Mode... 2024-07-30 18:59:54,193 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 18:59:54,194 - read - [DEBUG] - Force Export is not Running 2024-07-30 18:59:54,196 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 18:59:54,196 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 18:59:54,202 - read - [DEBUG] - Starting ratecalcs... 2024-07-30 18:59:54,232 - read - [DEBUG] - Night Start= Tue Jul 30 23:30:00 2024 2024-07-30 18:59:54,233 - read - [DEBUG] - Day Start= Tue Jul 30 05:30:00 2024 2024-07-30 18:59:54,234 - read - [INFO] - No day/Night rate info so reverting to day 2024-07-30 18:59:54,235 - read - [DEBUG] - Setting Rate to Day 2024-07-30 18:59:54,236 - read - [DEBUG] - First time running so saving AC Charge status 2024-07-30 18:59:54,238 - read - [DEBUG] - Battery rate calcs complete 2024-07-30 18:59:54,241 - read - [DEBUG] - Successfully processed data from: 192.168.68.79 2024-07-30 18:59:54,243 - read - [DEBUG] - processData result: Success processing data 2024-07-30 18:59:54,243 - read - [DEBUG] - Running pubFromPickle 2024-07-30 18:59:54,247 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 18:59:54,248 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 18:59:54,250 - read - [DEBUG] - Dealt with invertor 2024-07-30 18:59:54,251 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 18:59:54,251 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 18:59:54,252 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 18:59:54,253 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 18:59:54,254 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 18:59:54,254 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 18:59:54,255 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 18:59:54,255 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 18:59:54,256 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 18:59:54,256 - read - [DEBUG] - Dealt with meters 2024-07-30 18:59:54,257 - read - [DEBUG] - Dealt with raw 2024-07-30 18:59:54,258 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 18:59:54,258 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 18:59:54,259 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 18:59:54,260 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 18:59:54,260 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 18:59:54,261 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 18:59:54,261 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 18:59:54,262 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 18:59:54,263 - read - [DEBUG] - Dealt with Power 2024-07-30 18:59:54,263 - read - [DEBUG] - Dealt with Power 2024-07-30 18:59:54,264 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 18:59:54,264 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 18:59:54,265 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 18:59:54,265 - read - [DEBUG] - Dealt with Today 2024-07-30 18:59:54,266 - read - [DEBUG] - Dealt with Total 2024-07-30 18:59:54,266 - read - [DEBUG] - Dealt with Rates 2024-07-30 18:59:54,267 - read - [DEBUG] - Dealt with Energy 2024-07-30 18:59:54,267 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 18:59:54,268 - read - [DEBUG] - Dealt with Control 2024-07-30 18:59:54,269 - read - [DEBUG] - Dealt with Stats 2024-07-30 18:59:54,269 - read - [DEBUG] - Running updateFirstRun with SN= TD2343G090 2024-07-30 18:59:54,270 - read - [DEBUG] - Opening settings for first run 2024-07-30 18:59:54,270 - read - [DEBUG] - Settings available 2024-07-30 18:59:54,272 - read - [DEBUG] - serial number aready exists: " serial_number="TD2343G090" " 2024-07-30 18:59:54,273 - read - [DEBUG] - removing lockfile 2024-07-30 18:59:54,273 - read - [INFO] - Publishing Home Assistant Discovery messages 2024-07-30 18:59:54,280 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 18:59:54,281 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 18:59:54,281 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 18:59:54,282 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 18:59:54,282 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 18:59:54,283 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 18:59:54,283 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 18:59:54,284 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 18:59:54,312 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 18:59:54,313 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 18:59:54,317 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 18:59:54,319 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-07-30 18:59:54,321 - read - [DEBUG] - Publish all to MQTT 2024-07-30 18:59:54,321 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 18:59:54,322 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 18:59:54,327 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 18:59:54,528 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 18:59:54,529 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 18:59:54,532 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 18:59:54,733 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 18:59:54,733 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 18:59:54,736 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 18:59:54,937 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 18:59:54,937 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 18:59:54,940 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 18:59:54,960 - mqtt - [DEBUG] - connected OK Returned code=Success 2024-07-30 18:59:54,961 - mqtt - [DEBUG] - Subscribing to GivEnergy/control/TD2343G090/# 2024-07-30 18:59:55,141 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 18:59:55,143 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 18:59:55,143 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 18:59:55,144 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 18:59:55,145 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 18:59:55,145 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 18:59:55,146 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 18:59:55,147 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 18:59:55,147 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 18:59:55,148 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 18:59:55,149 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 18:59:55,149 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 18:59:55,245 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 18:59:55,247 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 18:59:55,250 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 18:59:55,252 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 18:59:55,254 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 18:59:55,256 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 18:59:55,257 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 18:59:55,258 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 18:59:55,304 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 18:59:55,306 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 18:59:55,314 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 18:59:55,318 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 18:59:55,319 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 18:59:55,327 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 18:59:55,329 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 18:59:55,329 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 18:59:55,330 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 18:59:55,335 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 18:59:55,345 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 18:59:55,351 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 18:59:55,353 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats/Timeout_Error 2024-07-30 19:00:25,446 - read - [DEBUG] - Running partial refresh 2024-07-30 19:00:31,370 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 19:00:31,370 - read - [DEBUG] - Running processData 2024-07-30 19:00:31,371 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 19:00:31,476 - read - [DEBUG] - Getting Battery Details 2024-07-30 19:00:31,479 - read - [DEBUG] - Building battery output: 2024-07-30 19:00:31,480 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 19:00:31,480 - read - [DEBUG] - Building battery output: 2024-07-30 19:00:31,482 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 19:00:31,482 - read - [DEBUG] - Building battery output: 2024-07-30 19:00:31,484 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 19:00:31,484 - read - [DEBUG] - Building battery output: 2024-07-30 19:00:31,486 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 19:00:31,486 - read - [DEBUG] - Building battery output: 2024-07-30 19:00:31,487 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 19:00:31,488 - read - [DEBUG] - Building battery output: 2024-07-30 19:00:31,489 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 19:00:31,491 - read - [DEBUG] - Getting mode control figures 2024-07-30 19:00:31,492 - read - [DEBUG] - Calculating Mode... 2024-07-30 19:00:31,493 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 19:00:31,494 - read - [DEBUG] - Force Export is not Running 2024-07-30 19:00:31,496 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 19:00:31,496 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 19:00:31,508 - read - [DEBUG] - Running the data cleansing process 2024-07-30 19:00:31,630 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 19:00:31,729 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 19:00:31,828 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 19:00:31,927 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 19:00:32,027 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 19:00:32,127 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 19:00:32,127 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 19:00:32,128 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 19:00:32,237 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 19:00:32,238 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 19:00:32,245 - read - [ERROR] - inverter Update failed so using last known good data from cache: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffffa3bc5f80>) 2024-07-30 19:00:32,245 - read - [DEBUG] - processData result: processData Error processing registers: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffffa3bc5f80>) 2024-07-30 19:00:32,246 - read - [DEBUG] - Running pubFromPickle 2024-07-30 19:00:32,249 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 19:00:32,250 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 19:00:32,252 - read - [DEBUG] - Dealt with invertor 2024-07-30 19:00:32,253 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 19:00:32,254 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 19:00:32,255 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 19:00:32,256 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 19:00:32,256 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 19:00:32,257 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 19:00:32,258 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 19:00:32,258 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 19:00:32,259 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 19:00:32,259 - read - [DEBUG] - Dealt with meters 2024-07-30 19:00:32,260 - read - [DEBUG] - Dealt with raw 2024-07-30 19:00:32,260 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 19:00:32,261 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 19:00:32,262 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 19:00:32,263 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 19:00:32,264 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 19:00:32,264 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 19:00:32,265 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 19:00:32,265 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 19:00:32,266 - read - [DEBUG] - Dealt with Power 2024-07-30 19:00:32,266 - read - [DEBUG] - Dealt with Power 2024-07-30 19:00:32,267 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 19:00:32,268 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 19:00:32,268 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 19:00:32,269 - read - [DEBUG] - Dealt with Today 2024-07-30 19:00:32,269 - read - [DEBUG] - Dealt with Total 2024-07-30 19:00:32,270 - read - [DEBUG] - Dealt with Rates 2024-07-30 19:00:32,270 - read - [DEBUG] - Dealt with Energy 2024-07-30 19:00:32,271 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 19:00:32,272 - read - [DEBUG] - Dealt with Control 2024-07-30 19:00:32,272 - read - [DEBUG] - Dealt with Stats 2024-07-30 19:00:32,273 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 19:00:32,273 - read - [DEBUG] - Publish all to MQTT 2024-07-30 19:00:32,274 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 19:00:32,275 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 19:00:32,276 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 19:00:32,276 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 19:00:32,277 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 19:00:32,278 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 19:00:32,278 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 19:00:32,279 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 19:00:32,280 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 19:00:32,280 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 19:00:32,281 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 19:00:32,282 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 19:00:32,346 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 19:00:32,347 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 19:00:32,348 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 19:00:32,349 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 19:00:32,350 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 19:00:32,351 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 19:00:32,352 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 19:00:32,352 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 19:00:32,380 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 19:00:32,381 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 19:00:32,387 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 19:00:32,390 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 19:00:32,391 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 19:00:32,395 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 19:00:32,396 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 19:00:32,398 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 19:00:32,399 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 19:00:32,404 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 19:00:32,409 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 19:00:32,416 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 19:01:01,605 - read - [DEBUG] - Running partial refresh 2024-07-30 19:01:05,271 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 19:01:05,272 - read - [DEBUG] - Running processData 2024-07-30 19:01:05,272 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 19:01:05,292 - read - [DEBUG] - Getting Battery Details 2024-07-30 19:01:05,295 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:05,296 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 19:01:05,296 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:05,297 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 19:01:05,298 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:05,299 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 19:01:05,300 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:05,301 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 19:01:05,302 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:05,303 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 19:01:05,304 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:05,305 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 19:01:05,307 - read - [DEBUG] - Getting mode control figures 2024-07-30 19:01:05,308 - read - [DEBUG] - Calculating Mode... 2024-07-30 19:01:05,308 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 19:01:05,309 - read - [DEBUG] - Force Export is not Running 2024-07-30 19:01:05,311 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 19:01:05,311 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 19:01:05,325 - read - [DEBUG] - Running the data cleansing process 2024-07-30 19:01:05,458 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 19:01:05,588 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 19:01:05,692 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 19:01:05,796 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 19:01:05,899 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 19:01:06,002 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 19:01:06,003 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 19:01:06,003 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 19:01:06,113 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 19:01:06,113 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 19:01:06,120 - read - [ERROR] - inverter Update failed so using last known good data from cache: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffffa3bc4fc0>) 2024-07-30 19:01:06,121 - read - [DEBUG] - processData result: processData Error processing registers: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffffa3bc4fc0>) 2024-07-30 19:01:06,121 - read - [DEBUG] - Running pubFromPickle 2024-07-30 19:01:06,125 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 19:01:06,125 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 19:01:06,127 - read - [DEBUG] - Dealt with invertor 2024-07-30 19:01:06,128 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 19:01:06,129 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 19:01:06,130 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 19:01:06,131 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 19:01:06,131 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 19:01:06,132 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 19:01:06,132 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 19:01:06,133 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 19:01:06,134 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 19:01:06,134 - read - [DEBUG] - Dealt with meters 2024-07-30 19:01:06,135 - read - [DEBUG] - Dealt with raw 2024-07-30 19:01:06,136 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 19:01:06,136 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 19:01:06,137 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 19:01:06,138 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 19:01:06,138 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 19:01:06,139 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 19:01:06,139 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 19:01:06,140 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 19:01:06,141 - read - [DEBUG] - Dealt with Power 2024-07-30 19:01:06,141 - read - [DEBUG] - Dealt with Power 2024-07-30 19:01:06,142 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 19:01:06,142 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 19:01:06,143 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 19:01:06,143 - read - [DEBUG] - Dealt with Today 2024-07-30 19:01:06,144 - read - [DEBUG] - Dealt with Total 2024-07-30 19:01:06,144 - read - [DEBUG] - Dealt with Rates 2024-07-30 19:01:06,145 - read - [DEBUG] - Dealt with Energy 2024-07-30 19:01:06,145 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 19:01:06,146 - read - [DEBUG] - Dealt with Control 2024-07-30 19:01:06,147 - read - [DEBUG] - Dealt with Stats 2024-07-30 19:01:06,147 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 19:01:06,148 - read - [DEBUG] - Publish all to MQTT 2024-07-30 19:01:06,148 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 19:01:06,149 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 19:01:06,150 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 19:01:06,151 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 19:01:06,151 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 19:01:06,152 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 19:01:06,153 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 19:01:06,153 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 19:01:06,154 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 19:01:06,155 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 19:01:06,155 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 19:01:06,156 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 19:01:06,226 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 19:01:06,227 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 19:01:06,228 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 19:01:06,229 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 19:01:06,230 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 19:01:06,231 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 19:01:06,232 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 19:01:06,234 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 19:01:06,266 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 19:01:06,266 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 19:01:06,272 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 19:01:06,275 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 19:01:06,276 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 19:01:06,279 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 19:01:06,280 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 19:01:06,281 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 19:01:06,282 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 19:01:06,286 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 19:01:06,292 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 19:01:06,299 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 19:01:35,489 - read - [DEBUG] - Running partial refresh 2024-07-30 19:01:39,653 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 19:01:39,653 - read - [DEBUG] - Running processData 2024-07-30 19:01:39,654 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 19:01:39,673 - read - [DEBUG] - Getting Battery Details 2024-07-30 19:01:39,676 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:39,677 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 19:01:39,678 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:39,679 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 19:01:39,680 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:39,681 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 19:01:39,681 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:39,682 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 19:01:39,683 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:39,684 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 19:01:39,685 - read - [DEBUG] - Building battery output: 2024-07-30 19:01:39,686 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 19:01:39,688 - read - [DEBUG] - Getting mode control figures 2024-07-30 19:01:39,689 - read - [DEBUG] - Calculating Mode... 2024-07-30 19:01:39,690 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 19:01:39,691 - read - [DEBUG] - Force Export is not Running 2024-07-30 19:01:39,693 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 19:01:39,693 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 19:01:39,709 - read - [DEBUG] - Running the data cleansing process 2024-07-30 19:01:39,839 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 19:01:39,944 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 19:01:40,050 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 19:01:40,154 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 19:01:40,259 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 19:01:40,363 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 19:01:40,363 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 19:01:40,364 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 19:01:40,484 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 19:01:40,485 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 19:01:40,492 - read - [ERROR] - inverter Update failed so using last known good data from cache: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffffa3b7c0c0>) 2024-07-30 19:01:40,492 - read - [DEBUG] - processData result: processData Error processing registers: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffffa3b7c0c0>) 2024-07-30 19:01:40,493 - read - [DEBUG] - Running pubFromPickle 2024-07-30 19:01:40,496 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 19:01:40,497 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 19:01:40,499 - read - [DEBUG] - Dealt with invertor 2024-07-30 19:01:40,500 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 19:01:40,500 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 19:01:40,501 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 19:01:40,502 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 19:01:40,503 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 19:01:40,503 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 19:01:40,504 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 19:01:40,504 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 19:01:40,505 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 19:01:40,505 - read - [DEBUG] - Dealt with meters 2024-07-30 19:01:40,506 - read - [DEBUG] - Dealt with raw 2024-07-30 19:01:40,506 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 19:01:40,507 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 19:01:40,508 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 19:01:40,508 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 19:01:40,509 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 19:01:40,510 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 19:01:40,510 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 19:01:40,511 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 19:01:40,511 - read - [DEBUG] - Dealt with Power 2024-07-30 19:01:40,512 - read - [DEBUG] - Dealt with Power 2024-07-30 19:01:40,512 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 19:01:40,513 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 19:01:40,514 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 19:01:40,515 - read - [DEBUG] - Dealt with Today 2024-07-30 19:01:40,515 - read - [DEBUG] - Dealt with Total 2024-07-30 19:01:40,516 - read - [DEBUG] - Dealt with Rates 2024-07-30 19:01:40,516 - read - [DEBUG] - Dealt with Energy 2024-07-30 19:01:40,517 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 19:01:40,517 - read - [DEBUG] - Dealt with Control 2024-07-30 19:01:40,518 - read - [DEBUG] - Dealt with Stats 2024-07-30 19:01:40,519 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 19:01:40,519 - read - [DEBUG] - Publish all to MQTT 2024-07-30 19:01:40,520 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 19:01:40,521 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 19:01:40,522 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 19:01:40,522 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 19:01:40,523 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 19:01:40,524 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 19:01:40,524 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 19:01:40,525 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 19:01:40,525 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 19:01:40,526 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 19:01:40,527 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 19:01:40,527 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 19:01:40,609 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 19:01:40,610 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 19:01:40,611 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 19:01:40,612 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 19:01:40,614 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 19:01:40,615 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 19:01:40,616 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 19:01:40,618 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 19:01:40,643 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 19:01:40,644 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 19:01:40,650 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 19:01:40,652 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 19:01:40,653 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 19:01:40,658 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 19:01:40,659 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 19:01:40,660 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 19:01:40,661 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 19:01:40,665 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 19:01:40,670 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 19:01:40,675 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 19:02:09,866 - read - [DEBUG] - Running full refresh

Valex1p commented 3 months ago

@britkat1980 saw you had updated to 592 so here are the debugs from that run:-

2024-07-30 22:19:29,434 - selector_events - [DEBUG] - Using selector: EpollSelector 2024-07-30 22:19:29,439 - read - [INFO] - Starting watch_plant loop... 2024-07-30 22:19:29,442 - GivLUT - [DEBUG] - Opening Modbus Connection to 192.168.68.79 2024-07-30 22:19:29,447 - read - [CRITICAL] - Detecting inverter characteristics... 2024-07-30 22:19:57,190 - read - [DEBUG] - Running full refresh 2024-07-30 22:19:57,190 - read - [DEBUG] - Running processData 2024-07-30 22:19:57,191 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 22:19:57,209 - read - [DEBUG] - Getting Battery Details 2024-07-30 22:19:57,212 - read - [DEBUG] - Building battery output: 2024-07-30 22:19:57,213 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 22:19:57,214 - read - [DEBUG] - Building battery output: 2024-07-30 22:19:57,215 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 22:19:57,216 - read - [DEBUG] - Building battery output: 2024-07-30 22:19:57,217 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 22:19:57,218 - read - [DEBUG] - Building battery output: 2024-07-30 22:19:57,219 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 22:19:57,220 - read - [DEBUG] - Building battery output: 2024-07-30 22:19:57,221 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 22:19:57,222 - read - [DEBUG] - Building battery output: 2024-07-30 22:19:57,223 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 22:19:57,225 - read - [DEBUG] - Getting mode control figures 2024-07-30 22:19:57,226 - read - [DEBUG] - Calculating Mode... 2024-07-30 22:19:57,227 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 22:19:57,228 - read - [DEBUG] - Force Export is not Running 2024-07-30 22:19:57,229 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 22:19:57,230 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 22:19:57,236 - read - [DEBUG] - Starting ratecalcs... 2024-07-30 22:19:57,266 - read - [DEBUG] - Night Start= Tue Jul 30 23:30:00 2024 2024-07-30 22:19:57,267 - read - [DEBUG] - Day Start= Tue Jul 30 05:30:00 2024 2024-07-30 22:19:57,268 - read - [INFO] - No day/Night rate info so reverting to day 2024-07-30 22:19:57,269 - read - [DEBUG] - Setting Rate to Day 2024-07-30 22:19:57,270 - read - [DEBUG] - First time running so saving AC Charge status 2024-07-30 22:19:57,271 - read - [DEBUG] - Battery rate calcs complete 2024-07-30 22:19:57,275 - read - [DEBUG] - Successfully processed data from: 192.168.68.79 2024-07-30 22:19:57,277 - read - [DEBUG] - processData result: Success processing data 2024-07-30 22:19:57,277 - read - [DEBUG] - Running pubFromPickle 2024-07-30 22:19:57,281 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 22:19:57,282 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 22:19:57,284 - read - [DEBUG] - Dealt with invertor 2024-07-30 22:19:57,285 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 22:19:57,285 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 22:19:57,286 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 22:19:57,287 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 22:19:57,288 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 22:19:57,289 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 22:19:57,289 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 22:19:57,289 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 22:19:57,290 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 22:19:57,291 - read - [DEBUG] - Dealt with meters 2024-07-30 22:19:57,291 - read - [DEBUG] - Dealt with raw 2024-07-30 22:19:57,292 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 22:19:57,293 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 22:19:57,293 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 22:19:57,294 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 22:19:57,295 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 22:19:57,295 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 22:19:57,296 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 22:19:57,296 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 22:19:57,297 - read - [DEBUG] - Dealt with Power 2024-07-30 22:19:57,298 - read - [DEBUG] - Dealt with Power 2024-07-30 22:19:57,298 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 22:19:57,299 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 22:19:57,299 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 22:19:57,300 - read - [DEBUG] - Dealt with Today 2024-07-30 22:19:57,300 - read - [DEBUG] - Dealt with Total 2024-07-30 22:19:57,301 - read - [DEBUG] - Dealt with Rates 2024-07-30 22:19:57,302 - read - [DEBUG] - Dealt with Energy 2024-07-30 22:19:57,302 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 22:19:57,303 - read - [DEBUG] - Dealt with Control 2024-07-30 22:19:57,303 - read - [DEBUG] - Dealt with Stats 2024-07-30 22:19:57,304 - read - [DEBUG] - Running updateFirstRun with SN= TD2343G090 2024-07-30 22:19:57,305 - read - [DEBUG] - Opening settings for first run 2024-07-30 22:19:57,305 - read - [DEBUG] - Settings available 2024-07-30 22:19:57,307 - read - [DEBUG] - serial number aready exists: " serial_number="TD2343G090" " 2024-07-30 22:19:57,308 - read - [DEBUG] - removing lockfile 2024-07-30 22:19:57,309 - read - [INFO] - Publishing Home Assistant Discovery messages 2024-07-30 22:19:57,315 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 22:19:57,316 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:19:57,317 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:19:57,317 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:19:57,318 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:19:57,319 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:19:57,319 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:19:57,320 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 22:19:57,348 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 22:19:57,348 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 22:19:57,353 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 22:19:57,355 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-07-30 22:19:57,356 - read - [DEBUG] - Publish all to MQTT 2024-07-30 22:19:57,357 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 22:19:57,357 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 22:19:57,362 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 22:19:57,563 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 22:19:57,564 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 22:19:57,567 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 22:19:57,768 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 22:19:57,769 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 22:19:57,771 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 22:19:57,972 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-07-30 22:19:57,973 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-07-30 22:19:57,976 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-07-30 22:19:57,991 - mqtt - [DEBUG] - connected OK Returned code=Success 2024-07-30 22:19:57,992 - mqtt - [DEBUG] - Subscribing to GivEnergy/control/TD2343G090/# 2024-07-30 22:19:58,177 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 22:19:58,178 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 22:19:58,179 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:19:58,180 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:19:58,180 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:19:58,181 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:19:58,181 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:19:58,182 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:19:58,183 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 22:19:58,184 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 22:19:58,184 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 22:19:58,185 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 22:19:58,289 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 22:19:58,290 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:19:58,291 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:19:58,293 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:19:58,294 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:19:58,296 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:19:58,298 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:19:58,299 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 22:19:58,332 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 22:19:58,333 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 22:19:58,341 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 22:19:58,344 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 22:19:58,346 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 22:19:58,349 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 22:19:58,350 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 22:19:58,351 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 22:19:58,352 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 22:19:58,363 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 22:19:58,370 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 22:19:58,380 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 22:19:58,384 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats/Timeout_Error 2024-07-30 22:20:28,478 - read - [DEBUG] - Running partial refresh 2024-07-30 22:20:30,901 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 22:20:30,902 - read - [DEBUG] - Running processData 2024-07-30 22:20:30,902 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 22:20:30,922 - read - [DEBUG] - Getting Battery Details 2024-07-30 22:20:30,925 - read - [DEBUG] - Building battery output: 2024-07-30 22:20:30,926 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 22:20:30,927 - read - [DEBUG] - Building battery output: 2024-07-30 22:20:30,928 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 22:20:30,929 - read - [DEBUG] - Building battery output: 2024-07-30 22:20:30,930 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 22:20:30,931 - read - [DEBUG] - Building battery output: 2024-07-30 22:20:30,932 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 22:20:30,933 - read - [DEBUG] - Building battery output: 2024-07-30 22:20:30,934 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 22:20:30,935 - read - [DEBUG] - Building battery output: 2024-07-30 22:20:30,936 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 22:20:30,938 - read - [DEBUG] - Getting mode control figures 2024-07-30 22:20:30,939 - read - [DEBUG] - Calculating Mode... 2024-07-30 22:20:30,940 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 22:20:30,941 - read - [DEBUG] - Force Export is not Running 2024-07-30 22:20:30,942 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 22:20:30,943 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 22:20:30,955 - read - [DEBUG] - Running the data cleansing process 2024-07-30 22:20:31,077 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 22:20:31,175 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 22:20:31,274 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 22:20:31,372 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 22:20:31,470 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 22:20:31,569 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 22:20:31,569 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 22:20:31,570 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 22:20:31,678 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 22:20:31,679 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 22:20:31,686 - read - [ERROR] - inverter Update failed so using last known good data from cache: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffff93e7a6c0>) 2024-07-30 22:20:31,687 - read - [DEBUG] - processData result: processData Error processing registers: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffff93e7a6c0>) 2024-07-30 22:20:31,687 - read - [DEBUG] - Running pubFromPickle 2024-07-30 22:20:31,691 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 22:20:31,691 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 22:20:31,694 - read - [DEBUG] - Dealt with invertor 2024-07-30 22:20:31,695 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 22:20:31,696 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 22:20:31,696 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 22:20:31,697 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 22:20:31,698 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 22:20:31,699 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 22:20:31,699 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 22:20:31,700 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 22:20:31,700 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 22:20:31,701 - read - [DEBUG] - Dealt with meters 2024-07-30 22:20:31,701 - read - [DEBUG] - Dealt with raw 2024-07-30 22:20:31,702 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 22:20:31,703 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 22:20:31,704 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 22:20:31,704 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 22:20:31,705 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 22:20:31,706 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 22:20:31,706 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 22:20:31,707 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 22:20:31,707 - read - [DEBUG] - Dealt with Power 2024-07-30 22:20:31,708 - read - [DEBUG] - Dealt with Power 2024-07-30 22:20:31,708 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 22:20:31,709 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 22:20:31,709 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 22:20:31,710 - read - [DEBUG] - Dealt with Today 2024-07-30 22:20:31,711 - read - [DEBUG] - Dealt with Total 2024-07-30 22:20:31,711 - read - [DEBUG] - Dealt with Rates 2024-07-30 22:20:31,712 - read - [DEBUG] - Dealt with Energy 2024-07-30 22:20:31,712 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 22:20:31,713 - read - [DEBUG] - Dealt with Control 2024-07-30 22:20:31,714 - read - [DEBUG] - Dealt with Stats 2024-07-30 22:20:31,714 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 22:20:31,715 - read - [DEBUG] - Publish all to MQTT 2024-07-30 22:20:31,715 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 22:20:31,717 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 22:20:31,717 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:20:31,718 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:20:31,719 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:20:31,719 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:20:31,721 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:20:31,722 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:20:31,722 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 22:20:31,724 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 22:20:31,724 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 22:20:31,725 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 22:20:31,897 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 22:20:31,898 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:20:31,899 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:20:31,900 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:20:31,901 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:20:31,903 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:20:31,904 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:20:31,905 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 22:20:31,931 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 22:20:31,931 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 22:20:31,938 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 22:20:31,942 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 22:20:31,943 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 22:20:31,945 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 22:20:31,946 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 22:20:31,947 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 22:20:31,948 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 22:20:31,953 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 22:20:31,958 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 22:20:31,963 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats 2024-07-30 22:21:01,165 - read - [DEBUG] - Running partial refresh 2024-07-30 22:21:03,592 - read - [DEBUG] - Data get was successful, now running handler if needed: 2024-07-30 22:21:03,593 - read - [DEBUG] - Running processData 2024-07-30 22:21:03,594 - read - [DEBUG] - Beginning parsing of Inverter data 2024-07-30 22:21:03,614 - read - [DEBUG] - Getting Battery Details 2024-07-30 22:21:03,616 - read - [DEBUG] - Building battery output: 2024-07-30 22:21:03,618 - read - [DEBUG] - Battery HY2343G426 added 2024-07-30 22:21:03,618 - read - [DEBUG] - Building battery output: 2024-07-30 22:21:03,619 - read - [DEBUG] - Battery HY2343G439 added 2024-07-30 22:21:03,620 - read - [DEBUG] - Building battery output: 2024-07-30 22:21:03,621 - read - [DEBUG] - Battery HY2343G359 added 2024-07-30 22:21:03,622 - read - [DEBUG] - Building battery output: 2024-07-30 22:21:03,623 - read - [DEBUG] - Battery HY2343G487 added 2024-07-30 22:21:03,624 - read - [DEBUG] - Building battery output: 2024-07-30 22:21:03,625 - read - [DEBUG] - Battery HY2343G366 added 2024-07-30 22:21:03,626 - read - [DEBUG] - Building battery output: 2024-07-30 22:21:03,627 - read - [DEBUG] - Battery HY2343G470 added 2024-07-30 22:21:03,629 - read - [DEBUG] - Getting mode control figures 2024-07-30 22:21:03,630 - read - [DEBUG] - Calculating Mode... 2024-07-30 22:21:03,631 - read - [DEBUG] - Mode is: Eco (Paused) 2024-07-30 22:21:03,632 - read - [DEBUG] - Force Export is not Running 2024-07-30 22:21:03,633 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 22:21:03,634 - read - [DEBUG] - Getting TimeSlot data 2024-07-30 22:21:03,647 - read - [DEBUG] - Running the data cleansing process 2024-07-30 22:21:03,772 - read - [DEBUG] - Data cleansed for: HY2343G426 2024-07-30 22:21:03,872 - read - [DEBUG] - Data cleansed for: HY2343G439 2024-07-30 22:21:03,973 - read - [DEBUG] - Data cleansed for: HY2343G359 2024-07-30 22:21:04,075 - read - [DEBUG] - Data cleansed for: HY2343G487 2024-07-30 22:21:04,178 - read - [DEBUG] - Data cleansed for: HY2343G366 2024-07-30 22:21:04,279 - read - [DEBUG] - Data cleansed for: HY2343G470 2024-07-30 22:21:04,280 - read - [DEBUG] - Data cleansed for: Battery_Stack_1 2024-07-30 22:21:04,280 - read - [DEBUG] - Data cleansed for: Battery_Details 2024-07-30 22:21:04,392 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 22:21:04,392 - read - [DEBUG] - Data cleansed for: Power 2024-07-30 22:21:04,399 - read - [ERROR] - inverter Update failed so using last known good data from cache: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffff93e74200>) 2024-07-30 22:21:04,400 - read - [DEBUG] - processData result: processData Error processing registers: (<class 'KeyError'>, KeyError(''), <traceback object at 0xffff93e74200>) 2024-07-30 22:21:04,400 - read - [DEBUG] - Running pubFromPickle 2024-07-30 22:21:04,404 - read - [DEBUG] - Converting Model to publish safe string 2024-07-30 22:21:04,404 - read - [DEBUG] - Converting datetime to publish safe string 2024-07-30 22:21:04,406 - read - [DEBUG] - Dealt with invertor 2024-07-30 22:21:04,407 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 22:21:04,408 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 22:21:04,409 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 22:21:04,410 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 22:21:04,410 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 22:21:04,411 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 22:21:04,412 - read - [DEBUG] - Dealt with Stack_0 2024-07-30 22:21:04,412 - read - [DEBUG] - Dealt with HV_Battery_Stacks 2024-07-30 22:21:04,413 - read - [DEBUG] - Dealt with Meter_ID_1 2024-07-30 22:21:04,414 - read - [DEBUG] - Dealt with meters 2024-07-30 22:21:04,414 - read - [DEBUG] - Dealt with raw 2024-07-30 22:21:04,415 - read - [DEBUG] - Dealt with HY2343G426 2024-07-30 22:21:04,416 - read - [DEBUG] - Dealt with HY2343G439 2024-07-30 22:21:04,416 - read - [DEBUG] - Dealt with HY2343G359 2024-07-30 22:21:04,417 - read - [DEBUG] - Dealt with HY2343G487 2024-07-30 22:21:04,418 - read - [DEBUG] - Dealt with HY2343G366 2024-07-30 22:21:04,419 - read - [DEBUG] - Dealt with HY2343G470 2024-07-30 22:21:04,419 - read - [DEBUG] - Dealt with Battery_Stack_1 2024-07-30 22:21:04,419 - read - [DEBUG] - Dealt with Battery_Details 2024-07-30 22:21:04,420 - read - [DEBUG] - Dealt with Power 2024-07-30 22:21:04,421 - read - [DEBUG] - Dealt with Power 2024-07-30 22:21:04,421 - read - [DEBUG] - Dealt with TD2343G090 2024-07-30 22:21:04,422 - read - [DEBUG] - Dealt with Meter_ID1 2024-07-30 22:21:04,422 - read - [DEBUG] - Dealt with Meter_Details 2024-07-30 22:21:04,423 - read - [DEBUG] - Dealt with Today 2024-07-30 22:21:04,423 - read - [DEBUG] - Dealt with Total 2024-07-30 22:21:04,424 - read - [DEBUG] - Dealt with Rates 2024-07-30 22:21:04,424 - read - [DEBUG] - Dealt with Energy 2024-07-30 22:21:04,425 - read - [DEBUG] - Dealt with Timeslots 2024-07-30 22:21:04,426 - read - [DEBUG] - Dealt with Control 2024-07-30 22:21:04,426 - read - [DEBUG] - Dealt with Stats 2024-07-30 22:21:04,427 - read - [DEBUG] - firstrun exists, so this should already have been run 2024-07-30 22:21:04,427 - read - [DEBUG] - Publish all to MQTT 2024-07-30 22:21:04,428 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/raw 2024-07-30 22:21:04,429 - mqtt - [DEBUG] - Prepping invertor for publishing 2024-07-30 22:21:04,430 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:21:04,431 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:21:04,431 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:21:04,432 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:21:04,433 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:21:04,433 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:21:04,434 - mqtt - [DEBUG] - Prepping Stack_0 for publishing 2024-07-30 22:21:04,435 - mqtt - [DEBUG] - Prepping HV_Battery_Stacks for publishing 2024-07-30 22:21:04,435 - mqtt - [DEBUG] - Prepping Meter_ID_1 for publishing 2024-07-30 22:21:04,436 - mqtt - [DEBUG] - Prepping meters for publishing 2024-07-30 22:21:04,510 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Battery_Details 2024-07-30 22:21:04,511 - mqtt - [DEBUG] - Prepping HY2343G426 for publishing 2024-07-30 22:21:04,512 - mqtt - [DEBUG] - Prepping HY2343G439 for publishing 2024-07-30 22:21:04,513 - mqtt - [DEBUG] - Prepping HY2343G359 for publishing 2024-07-30 22:21:04,514 - mqtt - [DEBUG] - Prepping HY2343G487 for publishing 2024-07-30 22:21:04,515 - mqtt - [DEBUG] - Prepping HY2343G366 for publishing 2024-07-30 22:21:04,516 - mqtt - [DEBUG] - Prepping HY2343G470 for publishing 2024-07-30 22:21:04,517 - mqtt - [DEBUG] - Prepping Battery_Stack_1 for publishing 2024-07-30 22:21:04,548 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-07-30 22:21:04,550 - mqtt - [DEBUG] - Prepping Power for publishing 2024-07-30 22:21:04,556 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-07-30 22:21:04,561 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Meter_Details 2024-07-30 22:21:04,562 - mqtt - [DEBUG] - Prepping Meter_ID1 for publishing 2024-07-30 22:21:04,568 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Energy 2024-07-30 22:21:04,568 - mqtt - [DEBUG] - Prepping Today for publishing 2024-07-30 22:21:04,570 - mqtt - [DEBUG] - Prepping Total for publishing 2024-07-30 22:21:04,571 - mqtt - [DEBUG] - Prepping Rates for publishing 2024-07-30 22:21:04,576 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Timeslots 2024-07-30 22:21:04,583 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Control 2024-07-30 22:21:04,590 - mqtt - [DEBUG] - Publishing: GivEnergy/TD2343G090/Stats

Valex1p commented 3 months ago

Hi @britkat1980 I see 601 arrived last night. debugs attached. log_inv_1 (1).log

QQ - should I be deleting .pkl files before installing each new version?

Valex1p commented 3 months ago

logs from 602 attached log_inv_1 (2).log

britkat1980 commented 3 months ago

I've finally got to looking at this. Try DEV version 610 which should get you back up and running on 3PH inverters. I'd appreciate feedback on any odd looking values and specifically if any control works (it should in theory, but I haven't had access to test)

Valex1p commented 3 months ago

@britkat1980 Installed 610. I still get an MQTT connect failure:-

2024-08-01 16:05:13,529 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-08-01 16:05:13,530 - mqtt - [DEBUG] - Prepping Power for publishing 2024-08-01 16:05:13,535 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-08-01 16:05:13,537 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-08-01 16:05:13,538 - read - [DEBUG] - Publish all to MQTT 2024-08-01 16:05:13,539 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-08-01 16:05:13,539 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-08-01 16:05:13,545 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-08-01 16:05:13,745 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-08-01 16:05:13,946 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-08-01 16:05:14,147 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish)

Do I have something not set up correctly? I added a user 'addons' with password as per the GivTCP config file

Full log attached log_inv_1 (4).log

Valex1p commented 3 months ago

@britkat1980 Installed 610. I still get an MQTT connect failure:-

2024-08-01 16:05:13,529 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/Power 2024-08-01 16:05:13,530 - mqtt - [DEBUG] - Prepping Power for publishing 2024-08-01 16:05:13,535 - HA_Discovery - [DEBUG] - Publishing: GivEnergy/TD2343G090/TD2343G090 2024-08-01 16:05:13,537 - HA_Discovery - [ERROR] - Error connecting to MQTT Broker: ('KeyError', 'HA_Discovery.py', 69) 2024-08-01 16:05:13,538 - read - [DEBUG] - Publish all to MQTT 2024-08-01 16:05:13,539 - mqtt - [DEBUG] - MQTT Connection appears closed, re-opening 2024-08-01 16:05:13,539 - mqtt - [DEBUG] - Opening MQTT Connection to core-mosquitto 2024-08-01 16:05:13,545 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-08-01 16:05:13,745 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-08-01 16:05:13,946 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish) 2024-08-01 16:05:14,147 - mqtt - [DEBUG] - In wait loop (multi_MQTT_publish)

Do I have something not set up correctly? I added a user 'addons' with password as per the GivTCP config file

Full log attached log_inv_1 (4).log

and from the MQTT log:-

2024-08-01 16:05:13: New connection from 172.30.32.1:58173 on port 1883. 2024-08-01 16:05:13: New client connected from 172.30.32.1:58173 as GivEnergy_GivTCP_1 (p2, c1, k60, u'addons'). 2024-08-01 16:05:29: Client GivEnergy_GivTCP_1 closed its connection.

britkat1980 commented 3 months ago

Try 611, you shouldn’t have to touch MQTT settings unless you’re running in docker and not as an HA addon

Valex1p commented 3 months ago

Now we are cooking !! I'll take a look at all the entities in a little while and see if they seem sensible and update you.

Thank you for your time and effort!

Valex1p commented 3 months ago

hi @britkat1980 first set of measurement checks attached. Some values pulled by HA are not exposed in the GE dashboard so they are a little difficult to quantify and also where they look 'wrong' it could well be because the inverter is not populating the data I guess.

givtcp measurement check 1.pdf

I'll try and look at controls next.

Valex1p commented 3 months ago

so first look at controls. I went with a change to something fairly innocuous - Charge Target SOC 1.

Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA.

Is there a 'submit' button in HA or should the control changes be written automatically on the next refresh?

Valex1p commented 3 months ago

so first look at controls. I went with a change to something fairly innocuous - Charge Target SOC 1.

Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA.

Is there a 'submit' button in HA or should the control changes be written automatically on the next refresh?

from log:-

2024-08-05 10:16:38,099 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:22:23,489 - write - [ERROR] - Setting Charge Target 2 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:25:51,355 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916)

Valex1p commented 3 months ago

so first look at controls. I went with a change to something fairly innocuous - Charge Target SOC 1. Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA. Is there a 'submit' button in HA or should the control changes be written automatically on the next refresh?

from log:-

2024-08-05 10:16:38,099 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:22:23,489 - write - [ERROR] - Setting Charge Target 2 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:25:51,355 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916)

and with debugs turned on:-

2024-08-06 13:06:49,195 - mqtt - [DEBUG] - MQTT Message Recieved: GivEnergy/control/TD2343G090/setChargeTarget1= 70 2024-08-06 13:06:49,339 - read - [DEBUG] - Write Request recieved 2024-08-06 13:06:49,340 - read - [DEBUG] - Command: setChargeTarget2 was sent: {'chargeToPercent': '70', 'slot': 1} 2024-08-06 13:06:49,341 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-06 13:06:49,342 - read - [DEBUG] - responses is: [{'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 1 failed: (\'KeyError\', \'write.py\', 916)"}'}]

Valex1p commented 3 months ago

so first look at controls. I went with a change to something fairly innocuous - Charge Target SOC 1. Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA. Is there a 'submit' button in HA or should the control changes be written automatically on the next refresh?

from log:- 2024-08-05 10:16:38,099 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:22:23,489 - write - [ERROR] - Setting Charge Target 2 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:25:51,355 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916)

and with debugs turned on:-

2024-08-06 13:06:49,195 - mqtt - [DEBUG] - MQTT Message Recieved: GivEnergy/control/TD2343G090/setChargeTarget1= 70 2024-08-06 13:06:49,339 - read - [DEBUG] - Write Request recieved 2024-08-06 13:06:49,340 - read - [DEBUG] - Command: setChargeTarget2 was sent: {'chargeToPercent': '70', 'slot': 1} 2024-08-06 13:06:49,341 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-06 13:06:49,342 - read - [DEBUG] - responses is: [{'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 1 failed: ('KeyError', 'write.py', 916)"}'}]

should have added this is using Dev 620

gcoan commented 3 months ago

Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA.

This sounds like normal behaviour.

The GE app and the GE portal both show what they last sent to the inverter, whereas HA is directly reading and updating the inverter controls - an update that the portal knows nothing about.

To retrieve the latest value of an inverter setting in the portal, go into the settings and press the little circle next to the control and this will force a retrieve of the current inverter setting into the portal

Valex1p commented 3 months ago

Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA.

This sounds like normal behaviour.

The GE app and the GE portal both show what they last sent to the inverter, whereas HA is directly reading and updating the inverter controls - an update that the portal knows nothing about.

To retrieve the latest value of an inverter setting in the portal, go into the settings and press the little circle next to the control and this will force a retrieve of the current inverter setting into the portal

Yeah - I should have been clearer. The only way I have of reading/setting this parameter is via the GE portal remote control page exactly as you describe. The write obviously fails for some reason as per the logs.

Valex1p commented 3 months ago

Hi @britkat1980

Seem to have a new issue (2.4.640). Values are read and populated OK on startup and for a while after but then stop.

Log seems to suggest a problem with the self run loop?:-

2024-08-12 17:06:03,889 - startup - [INFO] - Restarting Invertor read loop every 60s 2024-08-12 17:06:05,668 - Inv1 - selector_events - [DEBUG ] - Using selector: EpollSelector 2024-08-12 17:06:05,670 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-08-12 17:06:05,671 - Inv1 - GivLUT - [DEBUG ] - Opening Modbus Connection to 192.168.68.79 2024-08-12 17:06:05,675 - Inv1 - read - [CRITICAL] - Detecting inverter characteristics... 2024-08-12 17:06:18,918 - startup - [ERROR] - Self Run loop process stuck. Killing and restarting... 2024-08-12 17:06:18,919 - startup - [INFO] - Restarting Invertor read loop every 60s 2024-08-12 17:06:20,780 - Inv1 - selector_events - [DEBUG ] - Using selector: EpollSelector 2024-08-12 17:06:20,783 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-08-12 17:06:20,783 - Inv1 - GivLUT - [DEBUG ] - Opening Modbus Connection to 192.168.68.79 2024-08-12 17:06:20,787 - Inv1 - read - [CRITICAL] - Detecting inverter characteristics... 2024-08-12 17:06:33,945 - startup - [ERROR] - Self Run loop process stuck. Killing and restarting... 2024-08-12 17:06:33,946 - startup - [INFO] - Restarting Invertor read loop every 60s 2024-08-12 17:06:35,762 - Inv1 - selector_events - [DEBUG ] - Using selector: EpollSelector 2024-08-12 17:06:35,765 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-08-12 17:06:35,765 - Inv1 - GivLUT - [DEBUG ] - Opening Modbus Connection to 192.168.68.79 2024-08-12 17:06:35,769 - Inv1 - read - [CRITICAL] - Detecting inverter characteristics... 2024-08-12 17:06:48,971 - startup - [ERROR] - Self Run loop process stuck. Killing and restarting... 2024-08-12 17:06:48,972 - startup - [INFO] - Restarting Invertor read loop every 60s 2024-08-12 17:06:50,811 - Inv1 - selector_events - [DEBUG ] - Using selector: EpollSelector 2024-08-12 17:06:50,813 - Inv1 - read - [INFO ] - Starting watch_plant loop... 2024-08-12 17:06:50,814 - Inv1 - GivLUT - [DEBUG ] - Opening Modbus Connection to 192.168.68.79 2024-08-12 17:06:50,817 - Inv1 - read - [CRITICAL] - Detecting inverter characteristics...

LeeFarm11 commented 3 months ago

Hi @britkat1980 . I'm now having another go to get GivTCP set up with my 3 phase inverter. I am testing with GivTCP-DEV 2.4.642

I have not yet been able to test if any of the controls work yet. Based on feedback from @Valex1p it seems the controls do not yet work but I will try and give feedback on that soon.

Now I see Battery Voltages and Temperatures for the first time. Great.

In the meantime the first problem I have is when I try to use the OPEN WEB UI nothing happens, just a blank screen. But I can get to the settings via http://192.168.1.204:8099/config.html which is suggested in the log, so I managed to get past that hurdle.

Second problem is that the GivEnergy Dash (localhost:3000) does not show any values - image

I just tried changing a couple of settings. Discharge Target SOC 1 and Discharge Target SOC 10 via the Overview. I left them for a couple of minutes but settings were not successfully changed. I then checked the log and I did get one error message in the Log - Setting Discharge Target 10 failed: ('KeyError', 'write.py', 948)

britkat1980 commented 3 months ago

so first look at controls. I went with a change to something fairly innocuous - Charge Target SOC 1. Current value in both HA and GE dashboard = 80%. I changed HA to 70% but no change at the inverter end. Change the value in GE dashboard and you see that reflected correctly in HA. Is there a 'submit' button in HA or should the control changes be written automatically on the next refresh?

from log:- 2024-08-05 10:16:38,099 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:22:23,489 - write - [ERROR] - Setting Charge Target 2 failed: ('KeyError', 'write.py', 916) 2024-08-05 10:25:51,355 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916)

and with debugs turned on:- 2024-08-06 13:06:49,195 - mqtt - [DEBUG] - MQTT Message Recieved: GivEnergy/control/TD2343G090/setChargeTarget1= 70 2024-08-06 13:06:49,339 - read - [DEBUG] - Write Request recieved 2024-08-06 13:06:49,340 - read - [DEBUG] - Command: setChargeTarget2 was sent: {'chargeToPercent': '70', 'slot': 1} 2024-08-06 13:06:49,341 - write - [ERROR] - Setting Charge Target 1 failed: ('KeyError', 'write.py', 916) 2024-08-06 13:06:49,342 - read - [DEBUG] - responses is: [{'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 1 failed: ('KeyError', 'write.py', 916)"}'}]

should have added this is using Dev 620

I think I've found a problem and and fixed. Can you try Dev643 and see if its works?

Valex1p commented 3 months ago

@britkat1980

boom - right on the money!

So using Dev 643 write to SOC2:-

2024-08-15 13:26:49,741 - mqtt - [DEBUG] - MQTT Message Recieved: GivEnergy/control/TD2343G090/setChargeTarget2= 50 2024-08-15 13:26:49,954 - read - [DEBUG] - Write Request recieved 2024-08-15 13:26:49,955 - read - [DEBUG] - Command: setChargeTarget2 was sent: {'chargeToPercent': '50', 'slot': 2} 2024-08-15 13:26:49,956 - write - [DEBUG] - Setting Charge Target 2 to: 50 2024-08-15 13:26:50,103 - write - [DEBUG] - Pushing control update to mqtt: GivEnergy/TD2343G090/Control/Charge_Target_SOC_2 - 50 2024-08-15 13:26:50,105 - GivLUT - [DEBUG] - Opening regcache at: /config/GivTCP/regCache_1.pkl 2024-08-15 13:26:50,117 - write - [DEBUG] - Pushing control update to pkl cache: Charge_Target_SOC_2 - 50 2024-08-15 13:26:50,118 - write - [DEBUG] - Setting Charge Target 2 was a success 2024-08-15 13:26:50,119 - write - [INFO] - Setting Charge Target 2 was a success 2024-08-15 13:26:50,120 - read - [DEBUG] - responses is: [{'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 2 was a success"}'}]

and then reflected in the GE portal remote controls pretty much immediately:-

Capture 1

Is the fix generic for all controls? I've not dared set a control for anything else yet just in case I can't get it back again!

Valex1p commented 3 months ago

also - does anybody have a description of the functions of each of the controls? Some are obvious (SOC%) others are less obvious (Battery Power Mode; the values in Force Charge etc)

britkat1980 commented 3 months ago

as of 640 calling : http://IPADDRESS:8099/REST1/api provides a json object describing the functions and their usage, that is the best place to start. Let me know if it can be improved with more info/clarity

Valex1p commented 3 months ago

One of the controls I'm particularly interested in is pausing battery discharge (to stop my non GE EV charger emptying the battery)

There is a givtcp control called Battery Pause Mode with options of 'disabled/pause charge/pause discharge/pause both'

I tried setting to 'pause discharge' and the log suggest the write was successful:-

2024-08-15 14:39:23,722 - mqtt - [DEBUG] - MQTT Message Recieved: GivEnergy/control/TD2343G090/setBatteryPauseMode= PauseDischarge 2024-08-15 14:39:24,023 - read - [DEBUG] - Write Request recieved 2024-08-15 14:39:24,024 - read - [DEBUG] - Command: setBatteryPauseMode was sent: {'state': 'PauseDischarge'} 2024-08-15 14:39:24,025 - write - [DEBUG] - Setting Battery Pause Mode to: PauseDischarge 2024-08-15 14:39:24,159 - write - [DEBUG] - Pushing control update to mqtt: GivEnergy/TD2343G090/Control/Battery_pause_mode - PauseDischarge 2024-08-15 14:39:24,160 - GivLUT - [DEBUG] - Opening regcache at: /config/GivTCP/regCache_1.pkl 2024-08-15 14:39:24,183 - write - [DEBUG] - Pushing control update to pkl cache: Battery_pause_mode - PauseDischarge 2024-08-15 14:39:24,186 - write - [DEBUG] - Setting Battery Pause Mode to PauseDischarge was a success 2024-08-15 14:39:24,186 - write - [INFO] - Setting Battery Pause Mode to PauseDischarge was a success 2024-08-15 14:39:24,188 - read - [DEBUG] - responses is: [{'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 2 was a success"}'}, {'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 2 was a success"}'}]

but the inverter didn't actually pause discharge and on the next refresh givtcp reset the value to 'disabled'.

Similar for the Temp pause discharge control except the log reported an error but also success?:-

-08-15 14:51:13,459 - read - [DEBUG] - Command: tempPauseDischarge was sent: 10.0 2024-08-15 14:51:13,460 - write - [DEBUG] - Pausing Discharge for 10.0 minutes 2024-08-15 14:51:13,470 - write - [ERROR] - Pausing Discharge failed: ('TypeError', 'write.py', 1550) 2024-08-15 14:51:13,473 - read - [DEBUG] - responses is: [{'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 2 was a success"}'}, {'id': 'setChargeTarget2', 'result': '{"result": "Setting Charge Target 2 was a success"}'}, {'id': 'setBatteryPauseMode', 'result': '{"result": "Setting Battery Pause Mode to PauseDischarge was a success"}'}]

GE support have previously said the control 'was coming' however didn't specify whether it was a dev for the inverter or for the portal.

britkat1980 commented 3 months ago

Just rechecking the docs, Battery Pause Mode only applies to Single Phase inverters. Will await future firmware to enable it for 3PH

britkat1980 commented 3 months ago

I would use the Battery Discharge Rate and set it to 0W to "pause" discharge

Valex1p commented 3 months ago

hmm - both Battery charge and discharge rates are already read as 0W by givtcp. Its not a parameter available in GE remote control.

Capture

GE remote control does have charge and discharge %, but not in givtcp controls?

LeeFarm11 commented 3 months ago

I updated to Dev 646. Now all I get is this in the Log repeated over and over again. But nothing in the log file in file editor.... -

SyntaxError: invalid decimal literal Traceback (most recent call last): File "/app/startup.py", line 15, in from GivTCP.givenergy_modbus_async.client.client import Client File "/app/GivTCP/givenergy_modbus_async/client/client.py", line 7, in from . import commands File "/app/GivTCP/givenergy_modbusasync/client/commands.py", line 338 reg = (getattr(RegisterMap, f'{"TPH" if '3ph' in invtype else ""}{"EMS" if 'ems' in inv_type else ""}{"DIS" if discharge else ""}CHARGE_TARGETSOC{idx}')) ^

britkat1980 commented 3 months ago

Try Beta649. Tested timeslots and charge target on Three phase and seems to work. Take a look and let me know

LeeFarm11 commented 3 months ago

As mentioned on Facebook ( https://www.facebook.com/groups/1517262158723613/posts/1946135725836252/ ) I have been using Timed Discharge today. This morning (via the Giv Portal) I set Discharge Slots 1 and 2 with Start Time of 0700 and End Time of 1600. And 'Enable Force Discharge' to Enabled. Those settings are still the same.

GivTCP was not running during today. Tonight I have switched to Beta 649 and Started. In GivTCP Timeslots I do not see any slots set to anything other than 00:00:00.

I then set Charge end time slot 7 to 11:00:00 via GivTCP Timeslots and it did change it on the Inverter.

I then set Dicharge end time slot 1 (from 00:00:00) to 17:30:00 via GivTCP Timeslots and it did change it on the Inverter from 16:00:00 to 17:30:00 I then changed (via Giv Portal) the time slot back to 16:00:00. Then I did a refresh of Overview page in HA and the Dicharge end time slot 1 switched to 00:00:00 even though Inverter is really set to 16:00:00, but Charge end time slot 7 is still showing 11:00:00

So it seems that GivTCP is not reading the Time Slots correctly. It seems to be assuming that they are set to 00:00:00 unless GivTCP sets them AND the read from the Inverter is still agreeing with what GivTCP set it to.