Commit graph

1375 commits

Author SHA1 Message Date
lumapu
ec6cfba895 Merge branch 'main' of https://github.com/grindylow/ahoy 2022-05-19 08:12:19 +02:00
lumapu
99f829ac87 * added free heap, mentioned in #24 (added in serial print, status on index and mqtt)
* fixed #45, AC current by factor 10 too high
* fixed failed payload counter
2022-05-19 08:12:09 +02:00
lumapu
cd411c7e71
Merge pull request #44 from stefan123t/main
fixed html and pdf exports
2022-05-18 08:06:11 +02:00
stefan123t
4fc12eb95b
Merge branch 'grindylow:main' into main 2022-05-18 06:45:27 +02:00
stefan123t
d65660c737 hoymiles-format-description.md updated html and pdf exports 2022-05-18 06:43:56 +02:00
lumapu
a35cb414a8 * fixed #41 HM800 Yield total and Yield day were mixed around. Found issue while comparing to Python version
* fixed #43 HM350 channel 2 is displayed in Live-View
* added #42 YieldTotal and YieldTotal Day for HM600 - HM800 inverters
2022-05-17 21:47:41 +02:00
lumapu
5acce759e0 * fix #39 Assignment 2-Channel inverters (HM-600, HM-700, HM-800) 2022-05-17 20:05:31 +02:00
lumapu
6871bf4247 * multi inverter support
* full re transmit included
2022-05-17 17:15:44 +02:00
lumapu
724f0ab83a * complete payload processed (and crc checked)
* inverter type is defined by serial number
* serial debug can be switched live (using setup)
-> Note: only one inverter is supported for now!
2022-05-17 15:30:36 +02:00
lumapu
2dcf948d60
Merge pull request #34 from Sprinterfreak/pypackage
Pypackage: improve code quality
2022-05-17 15:28:36 +02:00
lumapu
8a13d4c41c
Merge pull request #37 from stefan123t/main
Markdown formatting of hoymiles-format-description.md
2022-05-17 15:28:25 +02:00
stefan123t
aa698e40b9
Delete 2022-03-25_11_19_09-Window.png
old, has been superseded
2022-05-17 08:39:36 +02:00
stefan123t
70bedf82b3
Merge branch 'grindylow:main' into main 2022-05-17 08:36:55 +02:00
stefan123t
17a5dcba3c added markdown hoymiles-format-description.md and images 2022-05-17 08:36:04 +02:00
Jan-Jonas Sämann
e473583a55 Change alarm code 2
Seems that alarm code 2 appears on failed commands
2022-05-16 13:10:09 +02:00
Jan-Jonas Sämann
e4eebb67e4 Improve python code quality
Mostly fix naming convetion, add descriptions. Cleanup code, left behind
from tinkering.
2022-05-16 12:29:58 +02:00
Jan-Jonas Sämann
2934c23688 Update UnknownResponse decoder 2022-05-15 18:26:59 +02:00
Jan-Jonas Sämann
5101b22ff7 Provide Influx2 output plugin
Allready thougt about it earlier and requested in #29
2022-05-15 16:19:38 +02:00
Jan-Jonas Sämann
7415139038 Provide rx time in response 2022-05-15 16:06:38 +02:00
Jan-Jonas Sämann
e5b427f4f2 Provice decoders super class to ensure properties 2022-05-15 16:04:38 +02:00
lumapu
58aba45a25
Merge pull request #32 from Sprinterfreak/pypackage
Update pypackage
2022-05-14 23:17:23 +02:00
Jan-Jonas Sämann
532168e1eb Allow disable mqtt 2022-05-14 19:51:47 +02:00
Jan-Jonas Sämann
0f52c62b3f Setup NRF send/receive pipes
Fixes no response from WR
2022-05-14 19:47:10 +02:00
lumapu
f2e7105cb3 fix #26 ticker / interval in app.cpp 2022-05-13 08:02:04 +02:00
lumapu
3c2a896035
Merge pull request #27 from Sprinterfreak/pypackage
Pypackage: integrate ahoy.py into module
2022-05-11 19:01:23 +02:00
Jan-Jonas Sämann
3aff763e8f WIP: Partially decode event log 0x11 and 0x12 2022-05-11 18:58:09 +02:00
Jan-Jonas Sämann
d408264521 Adds documentation to python-hoymiles module 2022-05-11 18:52:28 +02:00
Jan-Jonas Sämann
38346abde2 Update python decoders improves protocol analysis 2022-05-11 00:14:40 +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
lumapu
7338925947 Merge branch 'dev' 2022-05-10 21:01:27 +02:00
lumapu
b485cb8151 * improved stability (in comparison to 0.3.7)
* reset wifi AP timout once a client is detected
* fix #26 wrong variable reset
2022-05-10 21:00:32 +02:00
lumapu
37206847c5 * added rx channel switching
* switched to crc8 check for valid packet-payload
2022-05-09 20:47:05 +02:00
lumapu
904c42a702
Merge pull request #25 from Sprinterfreak/pypackage
Python Implementation full rewrite
2022-05-09 08:28:50 +02:00
Jan-Jonas Sämann
6627eeb931 Update channel hop list
remove channel 9 and 11 because there was never seen a single frame
received
2022-05-08 16:25:53 +02:00
Jan-Jonas Sämann
1ef4507e8f Update 1161-Series decoders
Fixes missing HM1200 decoder
2022-05-08 13:02:30 +02:00
Jan-Jonas Sämann
ff615dba8b Pull-in diff from franz supports 1121-Series
Source
  https://www.mikrocontroller.net/topic/525778#7058357
2022-05-08 12:43:58 +02:00
Jan-Jonas Sämann
3b54b58567 Update Decodes, group decoders by inverter serial
Seems to be that we can not exactly determine the actual model by
looking at the serial. What we seemingly can guess is how many MPPT and
Phases a range of serials have.

Some Group-Based decoders should be compatible across the group.

A group is now named by the lowest model

  * 1121: HM300 1 MPPT, 1 Phase
  * 1141: HM600 2 MPPT, 1 Phase
  * 1161: HM1200 4 MPPT, 1 Phase
2022-05-08 12:38:00 +02:00
Jan-Jonas Sämann
664e846767
Merge pull request #3 from tbnobody/pypackage
Fixes StatusResponse byte assignment for 1161-Series inverters
2022-05-08 12:32:01 +02:00
Thomas Basler
31aba4d722 Fixed divider for AC Current 2022-05-07 10:45:07 +01:00
Thomas Basler
809dec69c7 Merge branch 'pypackage' of https://github.com/Sprinterfreak/ahoy into pypackage 2022-05-07 10:33:14 +01:00
Thomas Basler
767e1c5ee9 Fixed Power assignment for DC Port 1 2022-05-07 10:31:17 +01:00
Jan-Jonas Sämann
0946f1c765 Merge branch 'main' into pypackage 2022-05-06 22:23:02 +02:00
Jan-Jonas Sämann
976991df46 Remove debug script test.py 2022-05-06 20:04:20 +02:00
Jan-Jonas Sämann
f71e43f9ab Merge remote-tracking branch 'refs/remotes/jan/pypackage' into pypackage 2022-05-06 20:01:20 +02:00
Jan-Jonas Sämann
ef67cbe26e Add python requirement PyYAML 2022-05-06 19:59:01 +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
b7c70e415b
Merge pull request #2 from tbnobody/pypackage
Fixed total production for string 3
2022-05-06 10:28:23 +02:00
Thomas Basler
e8ad778918 Fixed total production for string 3 2022-05-06 06:25:52 +01:00
Jan-Jonas Sämann
42bd240083
Merge pull request #1 from tbnobody/pypackage
Added parser for HM-1500
2022-05-05 22:31:56 +02:00
Thomas Basler
eb2608b77d Fixed syntax errors 2022-05-05 21:07:03 +01:00