Commit graph

15 commits

Author SHA1 Message Date
DM6JM
f6d9cd6142 Update: RPi documentation 2023-03-12 17:39:36 +01:00
Knuti_in_Päse
57bc46191c
RPi: README.md format one new section 2023-02-04 17:25:58 +01:00
Knuti_in_Paese
9a0bee831d RPi:specify README.md and collect data from EventsResponse 2023-02-04 16:40:50 +01:00
Knuti_in_Paese
892f554ff5 RPI:finer tuned debug logging
Description for prep RF24 and pyrf24 on debian 11 (bullseye) 64 bit OS
2023-02-04 11:41:29 +01:00
Knuti_in_Paese
0d552e3007 RPI:error handling while getting corruppted data
extended error handling while getting corruppted data on 64 bit operating system (bullseye)
lots of currupted data are reseived on Debian 11 OS. So we have to check the data length before using strict.unpack
2023-02-02 14:21:30 +01:00
Knuti_in_Paese
d996c2c10b RPI:using pyRF24 on Debian 11 bullseye environment
known RF24 lib can not installed on Debian 11 bullseye 64 bit operating system
now, system try to import RF24 nor pyrf24
2023-02-01 21:42:51 +01:00
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
2022-11-04 21:43:52 +01:00
Christian Ehrlicher
5f6b175742 Add comment about missing python modules, move section about ahoy
example config before the 'example run' section.
2022-08-18 17:10:33 +02:00
stefan123t
d876fe841e added pyRF24 build instructions from mslookup 2022-06-16 11:30:33 +02:00
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.
2022-05-11 00:05:09 +02:00
Jan-Jonas Sämann
0ee867993c MQTT payload injection and default unknown decoder
Adds the ability to directly inject payloads to be sent to the inverter.
Fixes application crash at missing decoder by adding default decoding.

All unknown payloads are now printed as long- and short-lists for faster
protocol analysis
2022-05-06 19:54:04 +02:00
Jan-Jonas Sämann
9d75ca0c34 Ahoy Python Rewrite
Is was clear, the cmd approach does not decode payloads reliably.
The modular form allows for easy tinkering.

This implements

 * hoymiles protocol
 * transport-layer enables for retransmit of missed fragments
 * full payload decode
 * device specific decoders
 * transaction tracking enables decoding of different datasets
 * multi-inverter support
 * configuration format change to YAML (required for multi-inverter)

First PoC, lots of things have to be relocated, rewritten and exteded.

Currently only supports Hoymiles HM-600, more device decodes have to be added by
users who have the hardware.
2022-05-05 18:35:24 +02:00
Jan-Jonas Sämann
d7f9f6d3be PoC Hoymiles package full payload decode WIP
Transform ahoy.py into a python library, implements decoding of
fragmented large payloads.
The module also allows for easier tinkering and replay testing.
2022-05-02 22:41:42 +02:00
Martin Grill
3ba0d0f3b1 fixed minor formatting issues 2022-03-28 20:33:28 +02:00
Martin Grill
686d4b6a22 Initial documentation for ahoy.py 2022-03-28 20:27:47 +02:00