Commit Graph

55 Commits

Author SHA1 Message Date
Stefan Allius
f097b3350b fix memory leak on connection aborts
- use weakrefs
- call Message.close() in the parent class
- call Message.__del__()
- cleanup logging
2023-10-03 00:48:22 +02:00
Stefan Allius
056e182f64 implement close() to release cercular references 2023-10-03 00:46:45 +02:00
Stefan Allius
00f1fe01bf disable MQTT debug logs 2023-10-03 00:45:56 +02:00
Stefan Allius
108da0a97e Merge pull request #12 from s-allius/s-allius/issue5
S allius/issue5
2023-10-02 19:49:46 +02:00
Stefan Allius
e5d19ce07d Force MQTT registration
- when the home assistant has set the status to online again
2023-10-02 19:42:42 +02:00
Stefan Allius
464e542a47 clearify comment 2023-10-02 19:38:34 +02:00
Stefan Allius
414eb19ffb clarify comment 2023-10-02 19:35:59 +02:00
Stefan Allius
283bc2257b send autoconfig on HA restart
Fixes #5
2023-10-02 19:31:12 +02:00
Stefan Allius
198146b5f4 Bump aiomqtt to version 1.2.1 2023-10-01 22:41:41 +02:00
Stefan Allius
242653da72 check MQTT componet and new icons v0.0.5 2023-10-01 21:54:59 +02:00
Stefan Allius
417b57c99a Version 0.0.5 2023-10-01 21:36:33 +02:00
Stefan Allius
ff9360d2a7 add versioning, build 'rel' and 'dev' variants 2023-10-01 21:30:40 +02:00
Stefan Allius
c570fbabfa add MQTT component configuration 2023-10-01 21:29:33 +02:00
Stefan Allius
7b69de8181 add MQTT component configuration; add MQTT origin 2023-10-01 21:27:36 +02:00
Stefan Allius
5377dd81c8 supports version string 2023-10-01 21:26:53 +02:00
Stefan Allius
64f573a369 supports version string 2023-10-01 21:26:22 +02:00
Stefan Allius
c31c0280e7 prints version on start 2023-10-01 21:22:43 +02:00
Stefan Allius
382d887f56 Update entity icons 2023-10-01 13:25:05 +02:00
Stefan Allius
92d44eaa6b update entity icons 2023-10-01 13:23:57 +02:00
Stefan Allius
c773d5a084 add build script and set docker labels with dyn. data 2023-09-30 22:34:52 +02:00
Stefan Allius
997195ea29 Version 0.0.4 v0.0.4 2023-09-30 17:42:07 +02:00
Stefan Allius
b25a4619f3 Merge pull request #9 from s-allius/s-allius/issue6
S allius/issue6
2023-09-30 17:32:16 +02:00
Stefan Allius
030b9794bb add more code documentation 2023-09-30 17:27:51 +02:00
Stefan Allius
bf597c10a5 update changelog 2023-09-30 16:13:12 +02:00
Stefan Allius
0f4d41b466 add some code comments 2023-09-30 16:11:32 +02:00
Stefan Allius
a44c03fc98 add arg '-vv' for pytest to get better error msgs 2023-09-30 16:10:36 +02:00
Stefan Allius
6a6a89d6d3 fix unit test for multiple ha devices 2023-09-30 16:09:35 +02:00
Stefan Allius
7d56f47c10 Move data up interval to the controller block 2023-09-30 12:33:00 +02:00
Stefan Allius
aa1376208a ignore .DS_Store 2023-09-30 01:17:48 +02:00
Stefan Allius
4f1c3a53be support for sub devices
Fixes #6
2023-09-30 01:16:40 +02:00
Stefan Allius
d97d4ece43 cleanup 2023-09-29 16:38:52 +02:00
Stefan Allius
476cdf029e Version 0.0.3 v0.0.3 2023-09-29 01:00:02 +02:00
Stefan Allius
dfcd5de166 uncomment at least one inverters definition 2023-09-29 00:46:00 +02:00
Stefan Allius
60fc38b1f0 Merge pull request #4 from s-allius/s-allius/issue2
S allius/issue2
2023-09-29 00:32:43 +02:00
Stefan Allius
5b155c7b4c Getting Started added 2023-09-29 00:25:23 +02:00
Stefan Allius
c0a2a705ec Running Proxy with host UID and GUID
Fixes #2
2023-09-28 21:46:02 +02:00
Stefan Allius
125f681bec move proxy image to ghcr.io v0.0.2 2023-09-27 22:08:58 +02:00
Stefan Allius
8b4ff6173c Version 0.02 2023-09-27 22:06:16 +02:00
Stefan Allius
9273c843d4 add opencontainer labels 2023-09-27 21:43:47 +02:00
Stefan Allius
d48ddcb151 ignore systemtest, since they include private data 2023-09-27 21:42:52 +02:00
Stefan Allius
5bc3ba8727 change default UIT to 1000 2023-09-27 19:11:35 +02:00
Stefan Allius
76cb9a19c7 Voltage and current of inputs added 2023-09-27 19:05:28 +02:00
Stefan Allius
1d1b906a87 version 0.0.1 v0.0.1 2023-09-25 23:39:39 +02:00
Stefan Allius
3295a76acb Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy into main 2023-09-25 23:31:48 +02:00
Stefan Allius
2be19fe29c initial commit 2023-09-25 23:31:20 +02:00
Stefan Allius
a89e81625b contribution added 2023-09-25 23:15:12 +02:00
Stefan Allius
f4ff2b69df WiFi strength, temp and grid values added 2023-09-25 23:06:31 +02:00
Stefan Allius
d88c99cbb7 Create CONTRIBUTING.md 2023-09-25 21:39:01 +02:00
Stefan Allius
d9445181d8 Create CODE_OF_CONDUCT.md 2023-09-25 20:29:37 +02:00
Stefan Allius
38cdef1dda bind services to all interfaces 2023-09-25 00:10:31 +02:00