Stefan Allius
6035e52234
add Power on Time register for ftype 0x81
2024-04-17 22:02:21 +02:00
Stefan Allius
3a5e4648a1
Convert the temperature to Grand Celsius
2024-04-16 19:26:52 +02:00
Stefan Allius
6eec4b312e
switch to aiomqtt version 2.0.1
2024-04-15 00:10:26 +02:00
Stefan Allius
b1ea63b00d
use test serial number to identify the test case
2024-04-14 21:29:41 +02:00
Stefan Allius
9682379bcd
increase test coverage for infos_g3p.py to 100%
2024-04-14 21:02:20 +02:00
Stefan Allius
19c143d894
unittest for Infos_G3P class
2024-04-14 20:38:16 +02:00
Stefan Allius
64362dad21
remove trailing '\x00' from received strings
2024-04-14 20:36:20 +02:00
Stefan Allius
f4aa7004e5
increase test coverage for infos.py by to 100%
2024-04-14 17:52:02 +02:00
Stefan Allius
2ade04e6cc
move common info tests form test_infos_g3 to test_infos
2024-04-14 16:01:30 +02:00
Stefan Allius
c1e114447a
rename unit test files for GEN3
2024-04-14 14:39:01 +02:00
Stefan Allius
0e63c45302
improve parse()
2024-04-14 14:24:32 +02:00
Stefan Allius
f6af744864
fix flake warning
2024-04-14 12:31:48 +02:00
Stefan Allius
ac0bf2f8f8
add more unittests for solarman_v5.py
2024-04-14 12:30:07 +02:00
Stefan Allius
05b576b198
make code more clear
2024-04-14 12:29:27 +02:00
Stefan Allius
57bbd986b3
register all counters which should be reset at midnight
2024-04-14 12:28:34 +02:00
Stefan Allius
32ab49b566
make depency check in reg_clr_at_midnight optional
2024-04-14 12:22:25 +02:00
Stefan Allius
03125782bc
experimental AT cmd handler and tests
2024-04-13 20:18:44 +02:00
Stefan Allius
74ac6c6666
fix at_commit_message(); code cleanup
2024-04-12 20:50:57 +02:00
Stefan Allius
c5c49c5f24
erase trailing whitespace
2024-04-12 19:38:06 +02:00
Stefan Allius
1d3a44c9f0
first self-sufficient island support
...
- add Sequence class to handle the sequence of packets
- send response for received packets directly
- don't forward responses anymore
- addapt tests to new behavior
2024-04-12 18:57:48 +02:00
Stefan Allius
22f68ab330
beautify code
2024-04-12 18:48:22 +02:00
Stefan Allius
edab268faa
add _update_header() to messages.py
2024-04-12 18:47:47 +02:00
Stefan Allius
d1e10b36ea
add _update_header method to messages.py
2024-04-12 18:46:22 +02:00
Stefan Allius
70df843fe2
print helful messages on config errors
2024-04-10 22:45:48 +02:00
Stefan Allius
234eb26eae
remove builddate from version
2024-04-09 00:37:30 +02:00
Stefan Allius
1760a764ea
add branch name and date to version string
2024-04-09 00:15:03 +02:00
Stefan Allius
ddde988e2c
switch to aiomqtt version 2.0.0
2024-04-08 21:58:06 +02:00
Stefan Allius
97da24c839
add missing tests
2024-04-07 22:44:53 +02:00
Stefan Allius
9d395af986
add samples for pv module configurations
2024-04-07 20:52:07 +02:00
Stefan Allius
93b89062f5
Read pv module details for HA from config file
2024-04-07 19:41:05 +02:00
Stefan Allius
214f3dfae5
Add manufacturuer and modell type for pv modules
2024-04-07 10:29:05 +02:00
Stefan Allius
b9731d43a6
add docstrings to the scheduler module
2024-04-06 21:08:09 +02:00
Stefan Allius
2153d7c15c
cleanup
2024-04-06 20:20:42 +02:00
Stefan Allius
8fc8a29be2
clear daily energy production at midnight
2024-04-06 00:04:25 +02:00
Stefan Allius
d6cc211a51
Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy into s-allius/issue32
2024-04-03 23:13:21 +02:00
Stefan Allius
65448773aa
add usage info for ./build.sh
2024-04-02 21:04:38 +02:00
Stefan Allius
009746a1e4
fix logging of incoming connections
2024-04-02 18:51:59 +02:00
Stefan Allius
8f390b67cb
cleanup
2024-04-01 23:31:15 +02:00
Stefan Allius
6cfc1792ba
add descriptions
2024-04-01 23:29:46 +02:00
Stefan Allius
04ba868b37
build model name for solarman logger
2024-04-01 22:20:46 +02:00
Stefan Allius
f3842d95d8
add testcases for building model names
2024-04-01 21:24:07 +02:00
Stefan Allius
fbbf698666
fix unit tests
2024-04-01 20:06:25 +02:00
Stefan Allius
ef8a461569
build gen 3 inverter modell name
2024-04-01 20:05:51 +02:00
Stefan Allius
73c35de3e5
add more values to Home Assistant
2024-04-01 15:00:15 +02:00
Stefan Allius
80f4dd722a
remove useless parameter from _key_obj()
2024-04-01 02:08:28 +02:00
Stefan Allius
f38fea3807
move ignore_this_device() into base class Infos
2024-04-01 00:48:33 +02:00
Stefan Allius
695d8a8906
count AT commands in home assiatant
2024-03-31 23:56:18 +02:00
Stefan Allius
e4b7ef7a0c
add more unit tests
2024-03-31 23:26:14 +02:00
Stefan Allius
884d4c04e6
improve error handling
...
- for wrong start bytes and stop bytes
- for wrong checksums
2024-03-31 19:10:58 +02:00
Stefan Allius
75bdaedc31
fix error counting on checksum errors
2024-03-31 01:18:01 +01:00