lumapu
9ec93f4647
* more debug output (#retransmits)
* improved loop counters
3 years ago
lumapu
f148c41a1f
ESP8266 v0.4.16
* request only one inverter per loop (https://github.com/grindylow/ahoy/issues/53#issuecomment-1147042489 )
* mqtt loop interval calculated by # of inverters and inverter request interval
* limit maximum number of retries
* added feature request #62 (readable names for channels)
* improved setup page, added javascript to hide / show channel fields
** IMORTANT: memory layout change, all configuration will be lost, except WiFI **
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
Stefan Thieme
df2f052c85
load stats on index page initially
3 years ago
lumapu
2d37b2657d
* V0.4.15
* reduced debug messages
* fixes after merge
3 years ago
lumapu
0e2fe920e7
* added another yield
3 years ago
lumapu
c7d039ac8c
* added RX channel 40
* improved RF24 ISR
* reduced AP active time to 60s (will be increase once a client is connected)
* added `yield` without success -> random reboot (cause 4)
3 years ago
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