Stefan Allius
|
763af8b4cf
|
add send_modbus_cmd()
|
2024-05-03 18:24:06 +02:00 |
|
Stefan Allius
|
a2f67e7d3e
|
use async_write() instead of flush_send_msg()
|
2024-05-03 18:23:08 +02:00 |
|
Stefan Allius
|
f78d4ac310
|
remove flush_send_msg()
|
2024-05-03 18:22:31 +02:00 |
|
Stefan Allius
|
fdedfcbf8e
|
reneme Modbus constants
|
2024-05-03 18:21:59 +02:00 |
|
Stefan Allius
|
494c30e489
|
renme __async_write() into async_write()
|
2024-05-03 18:21:15 +02:00 |
|
Stefan Allius
|
30dc802fb2
|
Add MQTT subscrition for modbus experiences
|
2024-05-03 00:05:34 +02:00 |
|
Stefan Allius
|
5fdad484f4
|
add flush_send_msg() implementation
|
2024-05-03 00:03:02 +02:00 |
|
Stefan Allius
|
dba3b458ba
|
add Modbus support
|
2024-05-02 23:59:55 +02:00 |
|
Stefan Allius
|
1d9cbf314e
|
add Modbus tests
|
2024-05-02 23:56:42 +02:00 |
|
Stefan Allius
|
58c3333fcc
|
initial checkin
|
2024-05-02 23:55:59 +02:00 |
|
Stefan Allius
|
530687039d
|
Add Modbus_Command counter
|
2024-05-01 11:57:32 +02:00 |
|
Stefan Allius
|
5d0c95d6e6
|
fix typo
|
2024-05-01 11:57:02 +02:00 |
|
Stefan Allius
|
e8902f7923
|
Merge branch 'dev-0.8.0' of https://github.com/s-allius/tsun-gen3-proxy into test-config
|
2024-04-28 19:08:00 +02:00 |
|
Stefan Allius
|
d34862260e
|
Convert data collect interval to minutes
|
2024-04-28 18:34:11 +02:00 |
|
Stefan Allius
|
c061d263eb
|
Convert data collect interval to minutes
|
2024-04-28 18:32:26 +02:00 |
|
Stefan Allius
|
ccc7e7959e
|
change unit of the collect interval to minutes
|
2024-04-28 18:31:33 +02:00 |
|
Stefan Allius
|
549fca8ae5
|
Add unit tests for the Config class
|
2024-04-23 21:50:13 +02:00 |
|
Stefan Allius
|
f73376b330
|
initinal commit
|
2024-04-22 23:09:33 +02:00 |
|
Stefan Allius
|
220f2cce18
|
improve config handling
- fetch validating exceptions
- don't crash on missing config params
|
2024-04-22 23:07:13 +02:00 |
|
Stefan Allius
|
2e64ae5884
|
ignore non realtime values
- data with frametype 0x81 are non realtime
values. Since HA only supports realtime values,
we don't parse them for now
|
2024-04-22 20:24:52 +02:00 |
|
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
|
6dbf259e44
|
add postfix for rc and dev versions
|
2024-04-21 22:48:33 +02:00 |
|
Stefan Allius
|
4faf44db91
|
GEN3PLUS: fix temperature values
|
2024-04-20 00:05:34 +02:00 |
|
Stefan Allius
|
a571a3b456
|
adapt testcases to new version reading
|
2024-04-19 21:30:41 +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
|
111af8f469
|
fix endianess of Power_on_time test
|
2024-04-18 19:06:40 +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
|
b46645daee
|
Merge branch 'dev-0.7.0' of https://github.com/s-allius/tsun-gen3-proxy into s-allius/issue53
|
2024-04-17 22:06:21 +02:00 |
|
Stefan Allius
|
220fe3d4c9
|
adapt container informations
|
2024-04-17 22:05:24 +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
|
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 |
|