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
9a9cf79aac
fix unittests
2024-06-21 23:38:07 +02:00
Stefan Allius
a09d489c94
Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy into dev-0.9
2024-06-21 19:25:37 +02:00
Stefan Allius
a3c054d2b1
Dev 0.8 ( #106 )
...
* S allius/issue102 (#103 )
* hotfix: don't send two MODBUS commands together
* Update README.md
Exchange logger fw version with the real inverter fw version in the compatibility table
* Update python-app.yml
run also on pushes to issue branches
fix name for issues branches
* S allius/issue104 (#105 )
* Update README.md
Exchange logger fw version with the real inverter fw version in the compatibility table
* Update python-app.yml
run also on pushes to issue branches
fix name for issues branches
* fix forwarding of MODBUS responses
* fix unit tests
* update changelog
2024-06-21 18:12:48 +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
d6093e6b11
fix pytest collect warning
2024-06-09 11:40:08 +02:00
Stefan Allius
ff8adb5632
fix solarman unit tests
...
- fake Mqtt class
2024-06-09 11:02:43 +02:00
Stefan Allius
730229cfb0
don't mark all test as async
2024-06-09 01:26:21 +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
ec4261ae84
Merge branch 'dev-0.8.0' into s-allius/issue77
2024-05-31 20:17:03 +02:00
Stefan Allius
685c2dc07b
fix unit tests
2024-05-31 20:10:22 +02:00
Stefan Allius
c6eecb4791
add missing testcases
2024-05-30 19:32:53 +02:00
Stefan Allius
063850c7fb
add allow and block filter for AT+ commands
2024-05-30 18:38:05 +02:00
Stefan Allius
66657888dd
add log_level support for modbus commands
2024-05-28 19:32:20 +02:00
Stefan Allius
fdf3475909
fix unit test
2024-05-27 20:56:03 +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
98ef252bb0
don't forward invalid MODBUS responses
2024-05-20 18:51:55 +02:00
Stefan Allius
eff3e7558b
increase test coverage
2024-05-20 16:53:26 +02:00
Stefan Allius
6ef6f4cd34
cleanup
2024-05-20 00:48: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
1ae7784bee
add more unit tests
2024-05-11 23:41:40 +02:00
Stefan Allius
6fcf4f47c2
add more unit tests
2024-05-11 20:53:39 +02:00
Stefan Allius
3fda08bd25
add more unit tests
2024-05-11 20:48:57 +02:00
Stefan Allius
26f108cc51
build version string in the same format as TSUN
2024-05-10 20:50:37 +02:00
Stefan Allius
b3f0fc97d7
add more unit tests
2024-05-09 23:23:33 +02:00
Stefan Allius
65973b2835
fix unit tests
2024-05-09 18:48:59 +02:00
Stefan Allius
5a0456650f
avoid sending modbus cmds in critical states
2024-05-09 14:20:57 +02:00
Stefan Allius
c4b3e1a817
Merge branch 'dev-0.8.0' of https://github.com/s-allius/tsun-gen3-proxy into dev-0.8.0
2024-05-08 23:50:18 +02:00
Stefan Allius
0ac4b1f571
add more unit tests
2024-05-08 23:50:04 +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
f804b755a4
improve modbus trace
2024-05-06 23:18:47 +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
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
81d551e47f
initial version
2024-04-30 11:49:59 +02:00
Stefan Allius
63547bb51f
adapt tests for stateless timestamp handling
2024-04-29 22:51:31 +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