Kai Gerken
9716f1ff8b
Fix type on field for efficiency
3 years ago
Kai Gerken
bbc725f316
Implement MQTT discovery for Home Assistant
3 years ago
lumapu
aeb63f5d31
* compiles with PlatformIO
3 years ago
lumapu
b9cec55849
reduced warnings
3 years ago
DanielR92
121ce7cbe7
Update __init__.py (short one line)
Use the function 'hexify_payload()' in other lines
3 years ago
wtl0
0b9ab0100a
Janitorial: Trailing whitespace tweaks
3 years ago
wtl0
e25dce1573
Added favicon.ico to find the right tab in the browser more fast; Keep it simple (not as configuration option)
3 years ago
wtl0
821ab2601e
Readme: Added more (redundant) info n libraries to be installed;
Added output on non configured converters in /index.html statistic
Target: Avoid pitfalls and open questions for beginners
3 years ago
wtl0
e5adf23ee9
Add JSON output; Available via HTTP data point /json
3 years ago
lumapu
4a28884cff
* improved setup (if no data is in EEprom)
* improved NRF24 Pinout regarding to #36 , Standard Pinout should be now: https://github.com/grindylow/ahoy/issues/36#issuecomment-1149981052
3 years ago
lumapu
0347a3df44
* PR #76 updated debug messages: now 5 different levels are available
* fixed CRC loop issue
3 years ago
lumapu
7e2df351d9
* fixed debug messages
3 years ago
stefan123t
17b186ee04
added DBGXXX definitions to all header files
3 years ago
lumapu
c61d9568ba
license included
tried to increase stability
3 years ago
stefan123t
14c46e86bd
added variable error messages using #pragma error
3 years ago
stefan123t
d876fe841e
added pyRF24 build instructions from mslookup
3 years ago
stefan123t
20c145013e
added DEBUG_FLAGs to config.h
3 years ago
sude22
db1d1d2057
add uptime MQTT value
3 years ago
sude22
5775df5b36
don't set MQTT topic to fixed value 'inverter'
3 years ago
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