Stefan Allius
6dbd9bc85f
print coloured logs
2024-08-06 20:08:22 +02:00
Stefan Allius
47f7580184
MQTT timestamps and protocol improvements ( #140 )
...
* add TS_INPUT, TS_GRID and TS_TOTAL
* prepare MQTT timestamps
- add _set_mqtt_timestamp method
- fix hexdump printing
* push dev and debug images to docker.io
* add unix epoche timestamp for MQTT pakets
* set timezone for unit tests
* set name für setting timezone step
* trigger new action
* GEN3 and GEN3PLUS: handle multiple message
- read: iterate over the receive buffer
- forward: append messages to the forward buffer
- _update_header: iterate over the forward buffer
* GEN3: optimize timeout handling
- longer timeout in state init and reveived
- got to state pending only from state up
* update changelog
* cleanup
2024-08-04 19:43:09 +02:00
Stefan Allius
e4ff17e600
S allius/issue117 ( #118 )
...
* add shutdown flag
* add more register definitions
* add start commando for client side connections
* add first support for port 8899
* fix shutdown
* add client_mode configuration
* read client_mode config to setup inverter connections
* add client_mode connections over port 8899
* add preview build
2024-07-08 19:08:58 +02:00
Stefan Allius
a42ba8a8c6
Dev 0.9 ( #115 )
...
* make timestamp handling stateless
* adapt tests for stateless timestamp handling
* initial version
* add more type annotations
* add more type annotations
* fix Generator annotation for ha_proxy_confs
* fix names of issue branches
* add more type annotations
* don't use depricated varn anymore
* don't mark all test as async
* fix imports
* fix solarman unit tests
- fake Mqtt class
* print image build time during proxy start
* update changelog
* fix pytest collect warning
* cleanup msg_get_time handler
* addapt unit test
* label debug images with debug
* dump droped packages
* fix warnings
* add systemtest with invalid start byte
* update changelog
* update changelog
* add exposed ports and healthcheck
* add wget for healthcheck
* add aiohttp
* use config validation for healthcheck
* add http server for healthcheck
* calculate msg prossesing time
* add healthy check methods
* fix typo
* log ConfigErr with DEBUG level
* Update async_stream.py
- check if processing time is < 5 sec
* add a close handler to release internal resources
* call modbus close hanlder on a close call
* add exception handling for forward handler
* update changelog
* isolate Modbus fix
* cleanup
* update changelog
* add heaithy handler
* log unrelease references
* add healtcheck
* complete exposed port list
* add wget for healtcheck
* add aiohttp
* use Enum class for State
* calc processing time for healthcheck
* add HTTP server for healthcheck
* cleanup
* Update CHANGELOG.md
* updat changelog
* add docstrings to state enum
* set new state State.received
* add healthy method
* log healthcheck infos with DEBUG level
* update changelog
* S allius/issue100 (#101 )
* detect dead connections
- disconnect connection on Msg receive timeout
- improve connection trace (add connection id)
* update changelog
* fix merge conflict
* fix unittests
* S allius/issue108 (#109 )
* add more data types
* adapt unittests
* improve test coverage
* fix linter warning
* update changelog
* 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
* S allius/issue111 (#112 )
Synchronize regular MODBUS commands with the status of the inverter to prevent the inverter from crashing due to unexpected packets.
* inital checkin
* remove crontab entry for regular MODBUS cmds
* add timer for regular MODBUS polling
* fix Stop method call for already stopped timer
* optimize MB_START_TIMEOUT value
* cleanup
* update changelog
* fix buildx warnings
* fix timer cleanup
* fix Config.class_init()
- return error string or None
- release Schema structure after building thr config
* add quit flag to docker push
* fix timout calculation
* rename python to debugpy
* add asyncio log
* cleanup shutdown
- stop webserver on shutdown
- enable asyncio debug mode for debug versions
* update changelog
* update changelog
* fix exception in MODBUS timeout callback
* update changelog
2024-07-01 23:41:56 +02:00
Stefan Allius
6e1ed5d1e7
check the docker-compose.yaml file as last step
2024-06-03 20:59:21 +02:00
Stefan Allius
56f36e9f3f
build release candidate as paket
2024-05-31 23:09:33 +02:00
Stefan Allius
6dbf259e44
add postfix for rc and dev versions
2024-04-21 22:48:33 +02:00
Stefan Allius
220fe3d4c9
adapt container informations
2024-04-17 22:05:24 +02:00
Stefan Allius
234eb26eae
remove builddate from version
2024-04-09 00:37:30 +02:00
Stefan Allius
1760a764ea
add branch name and date to version string
2024-04-09 00:15:03 +02:00
Stefan Allius
65448773aa
add usage info for ./build.sh
2024-04-02 21:04:38 +02:00
Stefan Allius
e2873ffce7
Hardening ( #30 )
...
* set build-argument for environment
* hardening remove dangerous commands
* add hardening scripts for base and final image
2023-11-22 21:57:42 +01:00
Stefan Allius
42ae95fd1c
remove --no-cache for release candidates (rc)
2023-10-10 20:15:10 +02:00
Stefan Allius
ed14ed484b
add build support for release candidates (rc)
2023-10-07 20:55:26 +02:00
Stefan Allius
ff9360d2a7
add versioning, build 'rel' and 'dev' variants
2023-10-01 21:30:40 +02:00
Stefan Allius
c773d5a084
add build script and set docker labels with dyn. data
2023-09-30 22:34:52 +02:00