Stefan Allius
6332976c4a
S allius/issue102 ( #110 )
...
* hotfix: don't send two MODBUS commands together
* fix unit tests
* remove read loop
* optional sleep between msg read and sending rsp
* wait after read 0.5s before sending a response
* add pending state
* fix state definitions
* determine the connection timeout by the conn state
* avoid sending MODBUS cmds in the inverter's reporting phase
* update changelog
2024-06-23 15:06:43 +02:00
Stefan Allius
cc233dcb17
S allius/issue108 ( #109 )
...
* add more data types
* adapt unittests
* improve test coverage
* fix linter warning
* update changelog
2024-06-23 00:52:42 +02:00
Stefan Allius
e0568291f6
use Enum class for State
2024-06-16 17:50:09 +02:00
Stefan Allius
06b63f554d
addapt unit test
2024-06-09 11:41:29 +02:00
Stefan Allius
851bd54d8f
Merge branch 'dev-0.9.0' of https://github.com/s-allius/tsun-gen3-proxy into s-allius/issue56
2024-06-08 00:08:54 +02:00
Stefan Allius
66657888dd
add log_level support for modbus commands
2024-05-28 19:32:20 +02:00
Stefan Allius
5c6f9e7414
increase test coverage to 100%
2024-05-23 19:52:55 +02:00
Stefan Allius
0fc74b0d19
improve unit test
2024-05-22 22:54:23 +02:00
Stefan Allius
177706c3e6
test Modbus retries
2024-05-19 21:17:56 +02:00
Stefan Allius
23ff2bb05c
fix unit tests
2024-05-19 13:44:16 +02:00
Stefan Allius
476c5f0006
adapt unit tests
2024-05-19 12:24:35 +02:00
Stefan Allius
9c39ea27f7
fix unit tests
2024-05-18 23:10:47 +02:00
Stefan Allius
766774224b
adapt unit tests
2024-05-18 21:46:28 +02:00
Stefan Allius
6877465915
add more unit tests
2024-05-13 22:47:52 +02:00
Stefan Allius
92469456b7
fix unit tests
2024-05-12 23:11:55 +02:00
Stefan Allius
6fcf4f47c2
add more unit tests
2024-05-11 20:53:39 +02:00
Stefan Allius
b3f0fc97d7
add more unit tests
2024-05-09 23:23:33 +02:00
Stefan Allius
5a0456650f
avoid sending modbus cmds in critical states
2024-05-09 14:20:57 +02:00
Stefan Allius
0ae6dffc6b
Update test_talent.py
2024-05-07 22:54:23 +02:00
Stefan Allius
39beb0cb44
add more modbus tests
2024-05-07 18:02:09 +02:00
Stefan Allius
bf0f152d5a
add unit tests for modbus
2024-05-05 20:20:19 +02:00
Stefan Allius
f2c4230a49
use async_write instead of flush_send_msg()
2024-05-03 18:24:48 +02:00
Stefan Allius
1d9cbf314e
add Modbus tests
2024-05-02 23:56:42 +02:00
Stefan Allius
63547bb51f
adapt tests for stateless timestamp handling
2024-04-29 22:51:31 +02:00
Stefan Allius
c1e114447a
rename unit test files for GEN3
2024-04-14 14:39:01 +02:00