Stefan Allius
2c4af0b7d8
lint code with flake8
2023-11-02 22:31:30 +01:00
Stefan Allius
c772eeeb28
Proxy counters don't work after restart properly
...
Fixes #21
2023-11-02 22:30:50 +01:00
Stefan Allius
165f94828f
adapt unit tests
2023-11-01 21:18:25 +01:00
Stefan Allius
d8bc2dcae1
register proxy dev as soon as the MQTT connection is established
2023-11-01 21:17:43 +01:00
Stefan Allius
af27e95ef7
register proxy dev as soon as the MQTT connection is established
2023-11-01 21:16:54 +01:00
Stefan Allius
bcc901ba4c
add class value new_stat_data
2023-11-01 21:14:22 +01:00
Stefan Allius
7a2667767e
add callback on mqtt/ha conn establishment
2023-11-01 21:11:54 +01:00
Stefan Allius
85be9072db
adapt interface of ha_confs
2023-11-01 21:09:57 +01:00
Stefan Allius
387bab01be
Proxy counters don't work after restart properly
...
Fixes #21
2023-11-01 21:08:51 +01:00
Stefan Allius
bcd37faa4f
Update changelog
2023-10-30 23:48:15 +01:00
Stefan Allius
47878adb23
fix definition of the 'Unknown Control Type' counter
2023-10-30 23:43:18 +01:00
Stefan Allius
205a4e38ee
increase test coverage
2023-10-28 00:14:34 +02:00
Stefan Allius
36754196c2
add Unknown_Ctrl error counter
2023-10-28 00:11:22 +02:00
Stefan Allius
cfe64b1eae
add Unknown_Ctrl error counter
2023-10-28 00:09:19 +02:00
Stefan Allius
bb793a3f13
Version 0.4.3
v0.4.3
2023-10-26 20:37:03 +02:00
Stefan Allius
c3da9d6101
- avoid resetting the daily generation counters
2023-10-26 20:32:08 +02:00
Stefan Allius
0c9f953476
don't initialize must_incr values with zero
...
- when the connection is just established by the inverter.
sometimes the inverters send invalid data with the value zero.
In this case, we no longer initialize the must_incr values,
to avoid sending invalid data to the mqtt broker and the
Home Assistant
2023-10-26 20:23:53 +02:00
Stefan Allius
658f42d4fe
restart mqtt broker on errors
2023-10-23 21:38:58 +02:00
Stefan Allius
870a965c22
- fix typo
2023-10-23 21:27:58 +02:00
Stefan Allius
0c645812bd
catch mqtt errros
2023-10-23 21:25:47 +02:00
Stefan Allius
7b71f25496
Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy into main
2023-10-23 21:18:44 +02:00
Stefan Allius
50977d5afd
catch Mqtt errors
...
- we catch mqtt errors, so we can forward messages to
the tsun cloud even if the mqtt broker is not running
2023-10-23 21:17:17 +02:00
Stefan Allius
ff0979663e
fetch broken pipe errors
2023-10-23 21:12:10 +02:00
Stefan Allius
a6ac9864af
Merge pull request #20 from LenzGr/patch-1
...
CHANGELOG.md: fix typos
2023-10-23 19:12:25 +02:00
Lenz Grimmer
2e0331cb88
CHANGELOG.md: fix typos
2023-10-23 09:31:54 +02:00
Stefan Allius
ec54e399fb
updae default config
2023-10-23 00:14:26 +02:00
Stefan Allius
600362d00b
Version 0.4.2
v0.4.2
2023-10-21 21:48:46 +02:00
Stefan Allius
341e5c3964
fix typo
2023-10-21 21:40:28 +02:00
Stefan Allius
27a99fccec
setup test coverage measurement
2023-10-21 21:39:19 +02:00
Stefan Allius
9264faaf3d
avoid resetting daily generation counters
2023-10-21 21:38:36 +02:00
Stefan Allius
342313b76d
add more test cases
2023-10-21 18:20:32 +02:00
Stefan Allius
f96091affd
Increase test coverage for the Infos class to 100%
2023-10-21 16:46:49 +02:00
Stefan Allius
1df8ae55f0
Version 0.4.1
v0.4.1
2023-10-20 21:53:59 +02:00
Stefan Allius
311b36aaf1
avoid resetting total generation counters
2023-10-20 21:51:02 +02:00
Stefan Allius
1642fe5a8a
Merge pull request #19 from s-allius/s-allius/issue18
...
S allius/issue18
2023-10-20 20:09:56 +02:00
Stefan Allius
2b7e671dfc
initialize the proxy statistics
2023-10-20 20:08:39 +02:00
Stefan Allius
a1930d32ae
initialize the proxy statistics
2023-10-20 19:54:48 +02:00
Stefan Allius
11d7d616fa
add static constructor to init proxy statistics
2023-10-20 00:27:21 +02:00
Stefan Allius
5433e18389
Send proxy values when the inverter disconnets
2023-10-19 20:04:41 +02:00
Stefan Allius
9006472264
list supported inverters
2023-10-17 23:40:34 +02:00
Stefan Allius
605a269d84
Add screenshots
2023-10-17 21:18:54 +02:00
Stefan Allius
93392f49c0
Version 0.4.0
v0.4.0
2023-10-16 21:56:04 +02:00
Stefan Allius
587ec3d517
Merge pull request #17 from s-allius/s-allius/issue10
...
S allius/issue10
2023-10-16 21:50:12 +02:00
Stefan Allius
b98313ae23
add test for open close without any msg transfer
2023-10-16 20:33:46 +02:00
Stefan Allius
dc27da2b56
initialize sug_area
2023-10-16 20:30:43 +02:00
Stefan Allius
0c4bd2a03a
log forwarded messages on info level
2023-10-16 20:29:44 +02:00
Stefan Allius
ba961fdfd7
Send internal proxy states to Home-Assistant
...
Fixes #10
2023-10-16 20:29:23 +02:00
Stefan Allius
03aa0c5747
adapt tests
2023-10-15 23:13:43 +02:00
Stefan Allius
10ec949a5b
register proxy entities under a unique device (singleton)
2023-10-15 23:05:56 +02:00
Stefan Allius
909d5ca44a
add MQTT config for the proxy device
2023-10-15 22:59:18 +02:00