Stefan Allius
f422c5ba91
adapt unit tests
2025-04-18 01:29:23 +02:00
Stefan Allius
ae3cf2a68c
load fonts locally
2025-04-18 01:28:43 +02:00
Stefan Allius
5cedece1b3
add more favicons formats
2025-04-18 01:27:07 +02:00
Stefan Allius
b26f7ba591
add more favicon formats
2025-04-18 01:26:11 +02:00
Stefan Allius
2ab200e199
add awesome web font
2025-04-18 01:25:18 +02:00
Stefan Allius
bf523c0713
add Roboto font
2025-04-18 01:24:19 +02:00
Stefan Allius
f33209bf8f
add favicon.ico
2025-04-17 20:33:17 +02:00
Stefan Allius
9c7b891a60
add favicon.ico
2025-04-17 20:24:20 +02:00
Stefan Allius
4d3166b81f
fix unit test for test dashboard
2025-04-17 18:06:17 +02:00
Stefan Allius
e31a5a2f5a
add w3.css dashboard
2025-04-17 00:14:48 +02:00
Stefan Allius
5eded48ee8
add test template and stylesheet
2025-04-16 19:42:52 +02:00
Stefan Allius
7425195b8b
copy web-file into the add-on container
2025-04-16 19:42:24 +02:00
Stefan Allius
3862abc8e4
configure path to web files for Quart
2025-04-16 19:41:27 +02:00
Stefan Allius
80cefc8082
S allius/issue378 ( #382 )
...
* move home route into web diretory
* add web UI to add-on
* update changelog
* use Blueprints
2025-04-16 01:49:53 +02:00
Stefan Allius
7d5670b6b5
remove aiohttp by quart ( #381 )
...
* remove aiohttp by quart
* remove global proxy_is_up
* add unit test for some routes
2025-04-16 00:54:02 +02:00
Stefan Allius
f98273a3eb
S allius/issue362 ( #379 )
...
* allow serial number starting with `Y00`
* rollback to python version 3.13.2
2025-04-15 17:54:45 +02:00
Stefan Allius
5452b8efc2
Start version 0.14 ( #374 )
...
* bump version to 0.14.0
* update changelog
* set BUILD_ID only for dev and debug versions
2025-04-14 00:01:06 +02:00
renovate[bot]
5568a017ec
Update python Docker tag to v3.13.3 ( #359 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-13 23:39:44 +02:00
renovate[bot]
4a70f366f1
Update dependency aiomqtt to v2.3.2 ( #358 )
...
* Update dependency aiomqtt to v2.3.2
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-13 23:38:38 +02:00
Stefan Allius
aac89065fd
Update rel 0.13.0 ( #370 )
...
* bump version
2025-04-13 20:56:10 +02:00
Stefan Allius
fe250d478a
Fix rel build ( #368 )
...
* fix rel build run
* disable cache for rc build
* bump python version to 3.12.10-r0
2025-04-13 20:35:21 +02:00
Stefan Allius
83a723c959
Update rel 0.13.0 ( #367 )
...
* fix link
(cherry picked from commit 3d422f9249 )
* update compose help link
(cherry picked from commit 6d4ff0d508 )
* fix link
(cherry picked from commit 3d422f9249 )
* fix rel build run
2025-04-13 19:59:05 +02:00
Stefan Allius
abe6bfb013
update compose help link ( #361 )
2025-04-10 23:58:59 +02:00
renovate[bot]
31f4f05bed
Update ghcr.io/hassio-addons/base Docker tag to v17.2.4 ( #355 )
...
* Update ghcr.io/hassio-addons/base Docker tag to v17.2.3
* Update ghcr.io/hassio-addons/base Docker tag to v17.2.4
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-08 20:47:11 +02:00
Stefan Allius
8ca91c2fdd
define the value 2 for the out status ( #356 )
2025-04-07 23:47:29 +02:00
Stefan Allius
ea749dcce6
enforce numbered release candidates ( #353 )
v0.13.0-rc1
2025-04-06 22:28:32 +02:00
Stefan Allius
af5604d029
add alarm bitfields ( #352 )
...
- fix bitfield of the inverter alarms
- add batterie alarms
2025-04-06 20:07:17 +02:00
renovate[bot]
015b6b8db0
Update dependency pytest-cov to v6.1.1 ( #346 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 01:28:27 +02:00
Stefan Allius
7782a3cb57
Add two states build from the measurements ( #351 )
...
* Add two states build from the measurements
- Batterie Status calculated from the batt current
- Power Supply State calc from the out Power
* improve test coverage
2025-04-06 01:21:41 +02:00
Stefan Allius
3d073acc58
Cleanup MQTT json format for DCU batterie ( #349 )
...
* Cleanup MQTT json format for DCU batterie
- add hw and sw version
- rename total generation into total charging energy
- rename cell temperature sensors
- restructure json format
- adapt unit tests
* revert changed test packages
2025-04-05 22:30:57 +02:00
Stefan Allius
6974672ba0
S allius/issue334 ( #335 )
...
* move forward_at_cmd_resp into InfosG3P class
- the variable is shared between the two connections
of an inverter. One is for the TSUN cloud and the
other for the device.
* use inverter class to share values between
the two protocol instances of a proxy
- move forward_at_cmd_resp into class InverterG3P
- store inverter ptr in Solarman_V5 instances
- add inverter ptr to all constructurs of protocols
- adapt doku and unit tests-
- add integration tests for AT+ commands which
check the forwarding from and to the TSUN cloud
* adapt and improve the unit tests
- fix node_id declaration, which always has a / at
the end. See config grammar for this rule
- set global var test to default after test run
2025-04-05 14:37:52 +02:00
Stefan Allius
4988a29a34
S allius/issue340 ( #345 )
...
* build the README.md files for the HA Add-ons
2025-04-04 20:11:43 +02:00
Stefan Allius
970b611d47
fix systemtest ( #344 )
2025-04-04 18:38:17 +02:00
renovate[bot]
1ec97a3e9c
Update ghcr.io/hassio-addons/base Docker tag to v17.2.3 ( #342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-04 14:51:13 +02:00
renovate[bot]
2707582a45
Update dependency flake8 to v7.2.0 ( #330 )
...
* Update dependency flake8 to v7.2.0
* Flake8: ignore F821 errors, due of False Positives
# cleanup some unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-04 14:29:00 +02:00
renovate[bot]
bcec8dd843
Update dependency aiohttp to v3.11.16 ( #341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-02 21:00:43 +02:00
renovate[bot]
1b5af7fa97
Update dependency pytest-cov to v6.1.0 ( #339 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-01 23:17:42 +02:00
renovate[bot]
2731c68675
Update dependency aiohttp to v3.11.15 ( #338 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-01 23:12:17 +02:00
renovate[bot]
a8f8eca06c
Update dependency aiomqtt to v2.3.1 ( #337 )
...
* Update dependency aiomqtt to v2.3.1
* update aiomqtt badge
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de >
2025-04-01 23:08:42 +02:00
renovate[bot]
f9eb4ad8d7
Update dependency coverage to v7.8.0 ( #336 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 22:54:40 +02:00
Stefan Allius
0e65e90c25
add DDZY422-D2 as not supported ( #333 )
...
* add DDZY422-D2 as not supported
* describe not supported devices clearer
2025-03-30 16:40:02 +02:00
renovate[bot]
18b2a2bfb2
Update dependency python-dotenv to v1.1.0 ( #332 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-30 01:13:17 +01:00
renovate[bot]
d1da8a85d3
Update dependency pytest-asyncio to v0.26.0 ( #331 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-30 01:05:22 +01:00
Stefan Allius
433faecbb5
update uml diagrams ( #329 )
...
* update uml diagrams
* pin versions to make test runs reproducible
* add install target for easier dev env setup
2025-03-30 00:44:27 +01:00
Stefan Allius
632498c384
S allius/issue327 ( #328 )
...
* fix typo
* add DCU-1000 storage systems/batteries
* fix compatiblity table
* concern ms3000 support
2025-03-26 23:24:56 +01:00
Stefan Allius
d9384a6118
Merge branch 'main' of https://github.com/s-allius/tsun-gen3-proxy
2025-03-26 19:43:34 +01:00
Stefan Allius
9ec111759a
Merge pull request #326 from s-allius/dev-0.13
...
Dev 0.13
2025-03-26 19:40:42 +01:00
Stefan Allius
8d2dcb7212
S allius/issue320 ( #324 )
...
* at unit test for 0x4510 msg with frametype 5
2025-03-26 18:56:01 +01:00
Stefan Allius
32d7711ab7
S allius/issue321 ( #325 )
...
* support frame type no 8 for AT+ responses
2025-03-26 18:47:09 +01:00
Stefan Allius
dff8934b82
Dcu1000 ( #312 )
...
* set equipment model dor DCU1000 devices
* DCU1000: add temp sensor and mppt states
* DCU1000: add total generation
* add more DCU1000 registers for MODBUS polling
* improve names of batterie measurements
* add more diagnostic registers
* adapt unit tests
* move uml files into subfolder
* add sensors for batterie cell voltages
* swap On and Off for MPPT status
2025-03-25 20:10:10 +01:00