Christian Ehrlicher
e148f89d0c
RPI: fix sleep calculation by using the correct (utc) time
2 years ago
Christian Ehrlicher
c2ef55f7a2
RPI: fix logging
2 years ago
Christian Ehrlicher
cbcfb8da72
RPI: use logging facility instead print()
2 years ago
Christian Ehrlicher
b5e81f1605
RPI: misc - don't extract DTU serial from config for every poll
2 years ago
Christian Ehrlicher
0df4f38dac
RPI: remove unused function and import
2 years ago
Christian Ehrlicher
a13fc1d92a
RPI: fix SunsetHandler - use correct (utc) timestamp for comparision
2 years ago
Christian Ehrlicher
4c52f07889
RPI: cleanup SunsetHandler
2 years ago
Christian Ehrlicher
5beed9d8e0
RPI: print backtrace for unhandled exception
2 years ago
Christian Ehrlicher
ac45ff7108
RPI: don't try to reach inverter after sunset, will not work for polar
day or night but should be easy to add if really needed
2 years ago
Christian Ehrlicher
ed205fba47
RPI: refactor: move more stuff into main_loop
2 years ago
noName
94a096b7b6
fix rare crash related to time shift which might cause negative sleep time
2 years ago
noName
8c843af71d
rpi: calculate energy_total for whole inverter
2 years ago
Christian Ehrlicher
5cd2d70a9b
RPI: some more changes to properly throw and catch exceptions
2 years ago
Christian Ehrlicher
f332738ceb
RPI: properly catch exception when crc8 check failed
2 years ago
Christian Ehrlicher
fb6250a109
RPI: Request alarm when alarm id changes
2 years ago
Christian Ehrlicher
de90c19eb3
RPI: add handling for InverterDevInform_All message, handle
RealTimeRunData_Reality similar to RealTimeRunData_Debug
2 years ago
Christian Ehrlicher
73a0397107
RPI: be able to handle more than one inverter with the volkszaehler
plugin
2 years ago
Christian Ehrlicher
c6fb43c4ef
RPI: don't throw exception when no valid frame was received
2 years ago
Christian Ehrlicher
ddbb35eff3
RPI: use a requests seesion for the volkszaehler plugin to be able to
use hhtp keep-alive functionality. Print debug-output only when debug
is enabled
2 years ago
Christian Ehrlicher
6753be8871
Take timestamp from response instead local time
2 years ago
Christian Ehrlicher
82f1562129
Initial plugin to directly send the values from the inverter to the volkszaehler middleware
2 years ago
ngt-github
616e889e94
Added options for TLS usage for MQTT client and insecure certificate handling
2 years ago
stefan123t
7131ea5c7d
fix line end comments
fix line end comments in tools/rpi/hoymiles/decoders/__init__.py
2 years ago
stefan123t
836dc1526b
Commented Error-Codes with Hex-Equivalents
Commented Error-Codes with Hex-Equivalents
3 years ago
DanielR92
121ce7cbe7
Update __init__.py (short one line)
Use the function 'hexify_payload()' in other lines
3 years ago
Jan-Jonas Sämann
044cf316b5
Decode 80 02 as EventsResponse
Data also looks like some sort of table
3 years ago
Jan-Jonas Sämann
6b47291ac1
Add payload debug function print_table_unpack
Helps recognize values in unknown payloads by decoding data from payload
with different offsets, data types and print results as aligned table
Enhances DebugDecodeAny class
3 years ago
Jan-Jonas Sämann
391fec99d2
Pypackage fix interval sleep time
3 years ago
Jan-Jonas Sämann
4e709254c7
pypackage add event log entry count for 1161
3 years ago
Jan-Jonas Sämann
34f6f9363d
pypackage typo
3 years ago
Jan-Jonas Sämann
d5252866f8
pypackage add txpower min, high
Now txpower can be one of min, low, high, max
3 years ago
Jan-Jonas Sämann
88e9de42b8
pypackage add powerfactor where possible
3 years ago
Jan-Jonas Sämann
68cb8a59d9
Pypackage Disable retransmit in log parse mode
Disable retransmit if InverterTransaction is invoked without an actual
radio attached.
3 years ago
Jan-Jonas Sämann
5935e0dabe
Update pypackage set txpower per nrf/inverter
Add config parameter `txpower` in inverters- and nrf context.
This enables overriding txpower default RF24_PA_MAX, in some cases
inverters require RF24_PA_LOW. For larger setups, txpower can be set per
inverter to be able to query a far away (max) and a near by (low) one from within
one instance.
Valid values can be:
* `txpower: 'max'` (corresponds to RF24_PA_MAX, default)
* `txpower: 'low'` (corresponds to RF24_PA_LOW)
3 years ago
Jan-Jonas Sämann
93b3f02b24
Add pypackage retransmit last frame
Mentioned in #30 by @stefan123t
3 years ago
lumapu
8238e90903
* fix #38 current assignment for 4-channel inverters
* added last received timestamp in /hoymiles livedata web page #47
* improved style.css
* improved NTP as described in #46
3 years ago
Jan-Jonas Sämann
e473583a55
Change alarm code 2
Seems that alarm code 2 appears on failed commands
3 years ago
Jan-Jonas Sämann
e4eebb67e4
Improve python code quality
Mostly fix naming convetion, add descriptions. Cleanup code, left behind
from tinkering.
3 years ago
Jan-Jonas Sämann
2934c23688
Update UnknownResponse decoder
3 years ago
Jan-Jonas Sämann
5101b22ff7
Provide Influx2 output plugin
Allready thougt about it earlier and requested in #29
3 years ago
Jan-Jonas Sämann
7415139038
Provide rx time in response
3 years ago
Jan-Jonas Sämann
e5b427f4f2
Provice decoders super class to ensure properties
3 years ago
Jan-Jonas Sämann
532168e1eb
Allow disable mqtt
3 years ago
Jan-Jonas Sämann
0f52c62b3f
Setup NRF send/receive pipes
Fixes no response from WR
3 years ago
Jan-Jonas Sämann
3aff763e8f
WIP: Partially decode event log 0x11 and 0x12
3 years ago
Jan-Jonas Sämann
d408264521
Adds documentation to python-hoymiles module
3 years ago
Jan-Jonas Sämann
38346abde2
Update python decoders improves protocol analysis
3 years ago
Jan-Jonas Sämann
d27f0c1148
Integrate ahoy.py into hoymiles module
Finally get rid of ahoy.py and integrate functionallity into the module
itself. Prepares for pipelines, adding pip installer or debian packaging.
Improve configuration adds commandline switches for:
* `--verbose, enabling verbose logging
* `--log-transactions`, outbut all rf raw data
Improve loop, now runs all queued commands per inverter within interval.
Skip sleep when interval is allready due.
3 years ago
Jan-Jonas Sämann
6627eeb931
Update channel hop list
remove channel 9 and 11 because there was never seen a single frame
received
3 years ago
Jan-Jonas Sämann
1ef4507e8f
Update 1161-Series decoders
Fixes missing HM1200 decoder
3 years ago