Stefan Allius
95ebb92f05
cleanup
...
- chance log level from INFO to DEBUG
- remove experimental value Register.VALUE_1
- format Register.POWER_ON_TIME as integer
2024-04-22 20:20:39 +02:00
Stefan Allius
59dabbfa4a
change logging level to debug
2024-04-21 23:57:59 +02:00
Stefan Allius
4faf44db91
GEN3PLUS: fix temperature values
2024-04-20 00:05:34 +02:00
Stefan Allius
9a698781db
read inverter & logger version
2024-04-19 21:29:14 +02:00
Stefan Allius
6f9d2d4fac
GEN3PLUS: Add inverter status
2024-04-19 19:07:59 +02:00
Stefan Allius
27ac47fde9
fix incomplete format string
2024-04-18 18:45:01 +02:00
Stefan Allius
ee1722e374
decode logger values as little endian
2024-04-18 18:44:09 +02:00
Stefan Allius
82514e9e41
calculate real timestamp for received data
2024-04-17 22:03:12 +02:00
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
64362dad21
remove trailing '\x00' from received strings
2024-04-14 20:36:20 +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
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
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
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
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
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
Stefan Allius
c4db53bd1e
Merge branch 'main' into refactor-Infos-class
2024-03-31 01:05:54 +01:00
Stefan Allius
cdc3226adf
count invalid messages
2024-03-31 00:51:30 +01:00
Stefan Allius
e29c250f39
add INVALID_MSG_FMT
2024-03-31 00:47:58 +01:00
Stefan Allius
643c0026d8
count INVALID_MSG_FMT errors
2024-03-31 00:26:54 +01:00
Stefan Allius
7cbd5f25bb
parse data from received messages
2024-03-30 21:50:08 +01:00