Stefan Thieme
b1906f0f31
add method entry debug statements
3 years ago
Stefan Thieme
ae1272ccf0
normalize settings for AHOY-DTU
3 years ago
Stefan Thieme
ea9ab4601a
add channel 2440 to RX_CHANNELS 5 in hmRadio.h
3 years ago
Stefan Thieme
9e5105a98b
use mSendInterval for showIndex and index.html
3 years ago
lumapu
247ae3e1db
fix #56
3 years ago
lumapu
df5a306bb2
* inverter dependent mqtt (is avail)
* implemented heap stats #58
* inserted 'break' in ISR while loop
3 years ago
Jan-Jonas Sämann
391fec99d2
Pypackage fix interval sleep time
3 years ago
Peter Lelie
5c1c88d5bf
3D-Model for a case for Wemos D1
This is a 3D printable case for a Wemos D1 and a nrf24 module sandwiched together.
3 years ago
lumapu
69f8f0b806
* reduced heap size (>50%) by using 'F()' for (nearly) all static strings (mentioned by @stefan123t )
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
lumapu
01f1fab27f
* try to fix #52
3 years ago
lumapu
6a1a3b86d2
* added patch from @Argafal
* Updated readme to refer library versions
3 years ago
lumapu
7844ea2946
* moved mqtt loop out of `checkTicker` as mentioned in #49
* added irritation and efficiency calculations (** EPPROM CHANGE - YOUR SETTINGS MAYBE BECOME CURRUPT! **)
* improved style
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
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
3 years ago
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
3 years ago
lumapu
5acce759e0
* fix #39 Assignment 2-Channel inverters (HM-600, HM-700, HM-800)
3 years ago
lumapu
6871bf4247
* multi inverter support
* full re transmit included
3 years ago
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!
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
lumapu
f2e7105cb3
fix #26 ticker / interval in app.cpp
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
lumapu
b485cb8151
* improved stability (in comparison to 0.3.7)
* reset wifi AP timout once a client is detected
* fix #26 wrong variable reset
3 years ago
lumapu
37206847c5
* added rx channel switching
* switched to crc8 check for valid packet-payload
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
Jan-Jonas Sämann
ff615dba8b
Pull-in diff from franz supports 1121-Series
Source
https://www.mikrocontroller.net/topic/525778#7058357
3 years ago
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
3 years ago
Thomas Basler
31aba4d722
Fixed divider for AC Current
3 years ago
Thomas Basler
767e1c5ee9
Fixed Power assignment for DC Port 1
3 years ago
Jan-Jonas Sämann
976991df46
Remove debug script test.py
3 years ago
Jan-Jonas Sämann
ef67cbe26e
Add python requirement PyYAML
3 years ago
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
3 years ago
Thomas Basler
e8ad778918
Fixed total production for string 3
3 years ago