GivTCP 1.1.6 Released

19 comments started 2022-08-22 last 2022-08-28
Home AutomationHome Assistant
B
#1 Britkat

GivTCP 1.1.6 released
Updates include:

  • Fixes to Daily Energy Tracking
  • New data filtering and process monitoring for greater stability
  • Fixes to WEB Dashboard
  • Ability to turn on/off dashboard and set Port

If updating, please do uninstall the reinstall the container/addon, so its fresh start as there are some core changes to the start-up and config variables.

Post problems and questions here

#2 TheDragon (GivEnergy)

At midnight, it crashes. With all of the Today cumulative values trying to reset from eg 25kwh to 0. The error logs relates to this and uses previous value. Also present in 1.1.5 as previously discussed

The cycle continues indefinitely, till the Add0On is stopped and restarted. Then the values reset to those of the current day, now incremented from 0, as they would have been at midnight.

Propose maybe a cache clear at 0001, then reload the AddOn at 0002

T
#3 Tim

Britkat Just built a new container for the new release. Left most settings as default but have two inverters and got the following in the logs:

2022-08-23T08:49:40.199789749Z Instance is inv: 1/2
2022-08-23T08:49:40.200437456Z Recreating settings.py for invertor 1
2022-08-23T08:49:40.201953650Z GivTCP Instance is 1
2022-08-23T08:49:40.202239222Z Running Invertor read loop every 20
2022-08-23T08:49:40.208839728Z Subscribing Mosquitto on port 1883
2022-08-23T08:49:40.210484412Z Starting Gunicorn on port 6345
2022-08-23T08:49:40.214057946Z Instance is inv: 2/2
2022-08-23T08:49:40.216134191Z Recreating settings.py for invertor 2
2022-08-23T08:49:40.217694708Z Traceback (most recent call last):
2022-08-23T08:49:40.217870646Z   File "/app/startup.py", line 32, in <module>
2022-08-23T08:49:40.219479861Z     outp.write("    numBatteries=\""+str(os.getenv("NUMBATTERIES_"+str(inv))+"\"\n"))
2022-08-23T08:49:40.219654860Z TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

BTW Your Github repo has a more comprehensive list of what the ENV options are/do but neither are complete by the looks of it.

BTW2 The container name defaulted to "unruffled_mirzakhani". What's that all about?

A
#4 anglefire

There are a few more env listed in the unofficial documents on hoggy’s page. It’s under the givtcp bit. Not sure where now as I am away from home
I found them when I was upgrading to 1.1.4 and it didn’t work. Most though will be created when you run the docker compose (or however you create it!)

#6 TheDragon (GivEnergy)

anglefire
Coming along nicely

#7 hoggy

anglefire I'm guessing that doc may need some tweaking with the latest version? Let me know if you can' edit it (you should be able to)

A
#8 anglefire

hoggy I’ll install 1.1.6 when I get back home and see what is needed. I should be able to edit it - but will be sure to let you know if I can’t 🤣

#9 hoggy

Tim that name rings a bell from dev group, perhaps a contributor to GivTCP or some carryover from a code merge.

B
#10 Britkat

Tim Portainer makes up random names for containers, if you don't set one, nothing to do with me!

B
#11 Britkat

FYI, bugs in 1.1.5 & 1.1.6 have been fixed in version 1.1.7

I'm gonna let GivTCP settle in now for a while (no more rapid updates for a week or two 😀 ). Obviously if anyone finds problems do let me know.

I'll have a look at providing better explanation of the ENV (the github readme is pretty out of date!)

A
#12 anglefire

Britkat I did try and add some comments to the ones I have in my compose docker file on hoggys unofficial documents wiki.

A
#13 anglefire

hoggy I've just come to update the wiki - and don't seem to be able to edit the document.

#14 hoggy

anglefire ive put it back to pending review, does thay work? (Ironically "Better Docs" documentation is a bit lacking!)

A
#15 anglefire

hoggy Yep that works!

#16 hoggy

I've modified permissions, there was one for being able to edit published docs I'd not ticked so once your sorted we can check if you can edit again without me pushing it back down to pending.

A
#17 anglefire

hoggy I've updated it to the latest docker compose file that I use. Britkats docker compose file is slightly different with quotes around the Env variables - but that didn't seem to work for me - but could be just me!

#18 hoggy

anglefire republished now. May be worth seeing if you can still edit it now if you get time some point.

A
#19 anglefire

hoggy Yes - Can edit it - or it says I can and it did open in edit mode 🙂