Commit graph

278 commits

Author SHA1 Message Date
wtl0
e25dce1573 Added favicon.ico to find the right tab in the browser more fast; Keep it simple (not as configuration option) 2022-06-27 00:23:49 +02:00
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
2022-06-27 00:21:45 +02:00
wtl0
e5adf23ee9 Add JSON output; Available via HTTP data point /json 2022-06-27 00:17:18 +02:00
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
2022-06-26 13:26:44 +02:00
lumapu
0347a3df44 * PR #76 updated debug messages: now 5 different levels are available
* fixed CRC loop issue
2022-06-17 02:04:47 +02:00
lumapu
7e2df351d9 * fixed debug messages 2022-06-17 00:36:31 +02:00
lumapu
425ffdfc58
Merge pull request #76 from stefan123t/main
Raspberry Pi pyRF24 build instructions from mslookup
2022-06-17 00:22:30 +02:00
stefan123t
17b186ee04 added DBGXXX definitions to all header files 2022-06-17 00:18:45 +02:00
lumapu
c61d9568ba license included
tried to increase stability
2022-06-16 23:56:29 +02:00
stefan123t
14c46e86bd added variable error messages using #pragma error 2022-06-16 22:27:16 +02:00
stefan123t
d876fe841e added pyRF24 build instructions from mslookup 2022-06-16 11:30:33 +02:00
stefan123t
20c145013e added DEBUG_FLAGs to config.h 2022-06-16 11:28:49 +02:00
sude22
db1d1d2057 add uptime MQTT value 2022-06-10 10:11:26 +02:00
sude22
5775df5b36 don't set MQTT topic to fixed value 'inverter' 2022-06-10 07:05:13 +02:00
lumapu
9ec93f4647 * more debug output (#retransmits)
* improved loop counters
2022-06-09 23:26:10 +02:00
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 **
2022-06-09 23:03:38 +02:00
lumapu
b995cc0a93
Merge pull request #65 from Sprinterfreak/pypackage
Add payload debug function print_table_unpack
2022-06-07 06:53:32 +02:00
Jan-Jonas Sämann
044cf316b5 Decode 80 02 as EventsResponse
Data also looks like some sort of table
2022-06-07 01:53:44 +02:00
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
2022-06-07 01:51:15 +02:00
Stefan Thieme
df2f052c85 load stats on index page initially 2022-06-06 08:31:56 +02:00
lumapu
2d37b2657d * V0.4.15
* reduced debug messages
* fixes after merge
2022-06-02 23:08:49 +02:00
lumapu
44b31f765c Merge branch 'main' of https://github.com/grindylow/ahoy 2022-06-02 22:42:06 +02:00
lumapu
0e2fe920e7 * added another yield 2022-06-02 22:41:59 +02:00
lumapu
e0800bd87e
Merge branch 'main' into main 2022-06-02 22:39:55 +02:00
lumapu
e7d0e4ae66 Merge branch 'main' of https://github.com/grindylow/ahoy 2022-06-02 08:20:25 +02:00
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)
2022-06-02 08:20:16 +02:00
Stefan Thieme
b1906f0f31 add method entry debug statements 2022-06-02 00:06:25 +02:00
Stefan Thieme
ae1272ccf0 normalize settings for AHOY-DTU 2022-06-01 23:55:20 +02:00
Stefan Thieme
ea9ab4601a add channel 2440 to RX_CHANNELS 5 in hmRadio.h 2022-06-01 23:48:44 +02:00
Stefan Thieme
9e5105a98b use mSendInterval for showIndex and index.html 2022-06-01 23:46:38 +02:00
lumapu
a9d4418bc0
Merge pull request #61 from Sprinterfreak/pypackage
Pypackage fix interval, add HM600 event count
2022-05-30 08:34:55 +02:00
lumapu
247ae3e1db fix #56 2022-05-29 22:48:42 +02:00
lumapu
df5a306bb2 * inverter dependent mqtt (is avail)
* implemented heap stats #58
* inserted 'break' in ISR while loop
2022-05-29 21:57:59 +02:00
Jan-Jonas Sämann
391fec99d2 Pypackage fix interval sleep time 2022-05-29 07:22:44 +02:00
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.
2022-05-26 00:18:26 +02:00
lumapu
f3b0bc8bb8 Merge branch 'main' of https://github.com/grindylow/ahoy 2022-05-24 21:52:41 +02:00
lumapu
69f8f0b806 * reduced heap size (>50%) by using 'F()' for (nearly) all static strings (mentioned by @stefan123t) 2022-05-24 21:52:27 +02:00
Jan-Jonas Sämann
4e709254c7 pypackage add event log entry count for 1161 2022-05-24 20:10:28 +02:00
lumapu
2199d46890
Merge pull request #54 from Sprinterfreak/pypackage
Update Pypackage
2022-05-24 19:52:37 +02:00
Jan-Jonas Sämann
34f6f9363d pypackage typo 2022-05-24 19:28:58 +02:00
Jan-Jonas Sämann
d5252866f8 pypackage add txpower min, high
Now txpower can be one of min, low, high, max
2022-05-24 18:34:38 +02:00
Jan-Jonas Sämann
88e9de42b8 pypackage add powerfactor where possible 2022-05-24 18:26:48 +02:00
Jan-Jonas Sämann
68cb8a59d9 Pypackage Disable retransmit in log parse mode
Disable retransmit if InverterTransaction is invoked without an actual
radio attached.
2022-05-24 18:12:43 +02:00
lumapu
01f1fab27f * try to fix #52 2022-05-23 20:31:21 +02:00
lumapu
f41e76df1b Merge branch 'main' of https://github.com/grindylow/ahoy 2022-05-23 12:22:43 +02:00
lumapu
6a1a3b86d2 * added patch from @Argafal
* Updated readme to refer library versions
2022-05-23 12:22:31 +02:00
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
2022-05-23 11:35:56 +02:00
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)
2022-05-23 07:31:09 +02:00
Jan-Jonas Sämann
93b3f02b24 Add pypackage retransmit last frame
Mentioned in #30 by @stefan123t
2022-05-21 17:58:50 +02:00
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
2022-05-19 16:52:21 +02:00