* update changelog
* add addon-dev target
* initial version
* use prebuild docker image
* initial version for multi arch images
* fix missing label latest
* create log and config folder first.
* clean up and translate to english
* set labels with docker bake
* add addon-debug and addon-dev targets
* pass version number to proxy at runtime
* add two more callbacks
* get addon version from app
* deploy rc addon container to ghcr
* move ha_addon test into subdir
* fix crash on container restart
- mkdir -p returns no error even if the director
exists
* prepation for unit testing
- move script into a method
* added further config to schema
* typo fixed
* added monitor_sn + PV-strings 3-6 to create toml
* added options.json for testing
* prepare pytest and coverage for addons
* fix missing values in resulting config.toml
- define mqtt default values
- convert filter configuration
* first running unittest for addons
* add ha_addons
* increase test coverage
* test empty options.json file for HA AddOn
* fix pytest call in terminal
* improve test coverage
* remove uneeded options.json
* move config.py into subdir cnf
---------
Co-authored-by: Michael Metz <michael.metz@siemens.com>
* added service to transfer Add-on config from options.json to config.toml
* added feature to get MQTT config from Homeassistant
current version is MVP. can run as Home Assistant Add-On, config.toml is automatically created from option parameters in the add-on configuration tab.
* fix pylance and flake8 warnings
* prepare building a ha addon
- move build script into root dir
- cp source files in addon build-tree
* ignore proxy source files in addon build tree
* move proxy source files in own directory
* remove duplicates source files from repro
* check for a valis SONAR_TOKEN
* rename add_on path
* prepare for unittests and coverage measurement
* move file cause of the changes pathname
* move the proxy dir to /home/proxy
* build addon with make now
* remove duplicated requirements.txt file from repo
* undo changes
---------
Co-authored-by: Michael Metz <michael.metz@siemens.com>
Co-authored-by: Stefan Allius <stefan.allius@t-online.de>
* - fix pytest setup that can be startet from the rootdir
- support python venv environment
- add pytest.ini
- move common settings from .vscode/settings.json into pytest.ini
- add missing requirements
- fix import paths for pytests
* - support python venv environment
* initial version
* - add missing requirements python-dotenv
* fix import paths for pytests
* fix pytest warnings
* initial version
* report 5 slowest test durations
* add more vscode settings for python
* add tsun_v2 default configuration
* Add port 10000 for gen 3 plus inverters
* add monitor_sn for solarman support
* listen on port 10000 for solarman inverters
* initial version for gen 3 plus support
* refactoring split gen3 and gen3plus
* refactoring
* refactoring classes
* refactor proxy statistic counter
* - fix loggin levels
- user super() in close() and __del__()
* add config for gen 3 plus
* Add solarman config support
* refacot Message.. classes
* rename class MessageG3 into Talent
* refactor close() handler
* refactor disc() handler
* move loop() into the base class AsyncStream
* move async_read, _write and _forward into base class
* Cleanup
* move server_loop and client_loop into basic class
* add msg forwarding for solarman V5 protocol
* move server_loop() and client_loop to class AsyncStream
* rename AsyncStreamxx ton Connectionxx
* fix unit tests
* make more attributes privae
* load .env file
* wait after last test
* ignore .env
* add response handler
* Update README.md
* update unreleased changes
* home assistant add more diagnostic values
* fix typo
* Update README.md
Definition of the inverter generations added to the compatibility table
* add ha couter for 'Internal SW Exceptions'
* Update README.md
Fixes an incorrect marking in the display of the configuration file
* Update README.md
Planning documented for MS-2000 support
* S allius/issue33 (#34)
* - fix issue 33
The TSUN Cloud now responds to contact_info and get_time messages with
an empty display message and not with a response message as before.
We tried to parse data from the empty message, which led to an
exception
* Add test with empty conn_ind from inverter
* version 0.5.5
* add tsun_v2 default configuration
* Add port 10000 for gen 3 plus inverters
* add monitor_sn for solarman support
* listen on port 10000 for solarman inverters
initial version for gen 3 plus support
* refactoring split gen3 and gen3plus
* refactoring
* refactoring classes
* refactor proxy statistic counter
* - fix loggin levels
- user super() in close() and __del__()
* add config for gen 3 plus
* Add solarman config support
* refacot Message.. classes
* rename class MessageG3 into Talent
* refactor close() handler
* refactor disc() handler
* move loop() into the base class AsyncStream
* move async_read, _write and _forward into base class
* Cleanup
* move server_loop and client_loop into basic class
* add msg forwarding for solarman V5 protocol
* move server_loop() and client_loop to class AsyncStream
* rename AsyncStreamxx ton Connectionxx
* fix unit tests
* make more attributes privae
load .env file
* wait after last test
* ignore .env
* add response handler