Commit graph

96 commits

Author SHA1 Message Date
lumapu
4fd93be575 Merge branch 'main' into hms
Update to latest release
2023-04-20 21:39:48 +02:00
lumapu
f0c5361cf0 Merge branch 'development03' into improv 2023-04-06 23:29:25 +02:00
lumapu
bfae0e0def basic implementation of improv 2023-04-06 12:16:23 +02:00
lumapu
8d8cab6099 minor corrections 2023-04-04 23:34:16 +02:00
rejoe2
1e81a3e963
faster request after power limit
and more yield() calls in while() loops (thx to beegee3)
2023-04-04 15:27:03 +02:00
rejoe2
1e6a06b580
hmRadio.h - change rx/tx channel hopping logic (#7)
* hmRadio.h - change rx/tx channel hopping logic

- patch originally provided by beegee3
- timings look very good for 3rd gen., and ok for MI in my environment over several restarts
- runs stable on ESP32 
- not sure wheather this also has any (negative or positive) impact to reboot problem with ESP8266
2023-04-02 19:23:57 +02:00
rejoe2
26ec95d61e
MI - fixes to MQTT; uses classic hmRadio.h 2023-04-02 13:45:18 +02:00
rejoe2
e8e216cd69
MI - fix MQTT version
+ changed rx/tx logic (times + debug output)
2023-04-01 19:04:47 +02:00
rejoe2
24bfb43b02
Radio changes, MQTT fixes
* consolidated (?) proposals from beegee3
* timing now 410microsesonds
2023-03-31 19:17:16 +02:00
rejoe2
1f0f8b904a
MI - use only crc8 for MI commands
MI-600 at least sents answers as well...
2023-03-31 08:06:51 +02:00
lumapu
f2ce528a56 Merge branch 'development03' into hms 2023-03-27 10:15:37 +02:00
Markus Krause
29315b9b42 fix pointer lifetime for SPIClass 2023-03-26 16:00:40 +02:00
Markus Krause
7ee9a9dfb6 fix for display stealing the spi interface 2023-03-26 14:39:29 +02:00
lumapu
8ad9a919f4 Merge branch 'development03' into hms 2023-03-25 22:51:56 +01:00
Markus Krause
44c254b180 prevent setting of SPI pins for ESP82xx as not supported 2023-03-25 22:46:48 +01:00
Markus Krause
e3aa64b5cb remove explicit HSPI call as it breaks 8266 builds 2023-03-25 22:37:10 +01:00
Markus Krause
97d60f2ea9 start making SPI configurable 2023-03-25 20:32:23 +01:00
rejoe2
a1fb4aa911
MI - fix length for command packets 2023-03-24 17:01:43 +01:00
rejoe2
c1e7128846
debug review 2023-03-24 15:33:26 +01:00
rejoe2
32092ede0d
debug review
- DPRINT_IVID
- MI: some small changes
2023-03-24 15:26:14 +01:00
lumapu
997bfe41e7 Merge branch 'development03' into hms 2023-03-24 08:12:46 +01:00
lumapu
4d735924ef Merge branch 'development03' into hms 2023-03-20 08:51:37 +01:00
rejoe2
a7bacf1f11
MI - dec control plus debug (#4)
* restructure serial debug output (partly) 

+ MI - more code review

* fix debug output for power control cmds

* MI - limitation commands answered

* Debug - add more macros and texts

Might as well help for https://github.com/lumapu/ahoy/pull/478

Unfortunately, this atm doesn't really lower used flash memory

* MI - limit command

- now seems to work for MI-600 (to be verified)
- debug - more use of macros (wrt. to real effect see last remark)
2023-03-19 13:49:07 +01:00
lumapu
159b78c326 0.5.103
merged MI improvements, thx @rejoe2 #778
changed display inverter online message
2023-03-19 13:13:27 +01:00
lumapu
3a25ebb26f improved HMS implementation, RX not functional
Tx visible on SDR @ 863MHz
2023-02-21 20:23:45 +01:00
lumapu
c56c785a1f basic implementation of HMS/HMT inverters 2023-02-20 22:10:05 +01:00
lumapu
a0879cfcbe reduced heap fragmentation (removed strtok completely) #644, #645, #682
added part of mac address to MQTT client ID to seperate multiple ESPs in same network
added dictionary for MQTT to reduce heap-fragmentation
removed `last Alarm` from Live view, because it showed always the same alarm - will change in future
2023-02-15 14:12:53 +01:00
lumapu
ca25f16548 prevent send devcontrol request during disabled night communication
changed yield total correction as module (inverter input) value #570
MQTT Yield Day zero, next try to fix #671
2023-02-12 02:00:54 +01:00
lumapu
026df8a09b fix power-limit was not checked for max retransmits #667
fix blue LED lights up all the time #672
fix installing schedulers if NTP server isn't available
improved zero values on triggers #671
hardcoded MQTT subtopics, because wildcard `#` leads to errors
rephrased some messages on webif, thx to @Argafal #638
2023-02-11 02:02:04 +01:00
lumapu
a157f2b97b fix blue LED lights up all the time #672
added an instant start communication (once NTP is synced)
2023-02-10 17:18:00 +01:00
lumapu
e03464dabc merge #664 2023-02-08 08:53:02 +01:00
lumapu
5765e054f3 fixed communication error #652
reset values is no bound to MQTT any more, setting moved to `inverter` #649
fixed wording on `index.hmtl` #661
2023-02-08 00:19:04 +01:00
lumapu
75539c5daf started implementation of MI inverters (setup.html, own processing MiPayload.h) 2023-02-06 23:37:05 +01:00
lumapu
0e6faa79e3 fixed communication #656 2023-02-06 21:47:12 +01:00
lumapu
edefcf1c83 fix Interrupt
fix connect to WiFi with only one AP
2023-02-06 00:07:58 +01:00
beegee3
6159c07559
Update hmRadio.h 2023-02-05 15:41:47 +01:00
lumapu
3adcb68d98 improved payload handling (retransmit all fragments on CRC error)
improved `isAvailable`, checkes all record structs, inverter becomes available more early because version is check first
fix tickers were not set if NTP is not available
disabled annoying `FlashStringHelper` it gives randomly Expeptions during development, feels more stable since then
moved erase button to the bottom in settings, not nice but more functional
split `tx_count` to `tx_cnt` and `retransmits` in `system.html`
fix mqtt retransmit IP address #602
added debug infos for `scheduler` (web -> `/debug` as trigger prints list of tickers to serial console)
2023-01-19 22:43:23 +01:00
lumapu
3d3e3dc8c6 improved payload handling (request / retransmit) #464
included alarm ID parse to serial console (in development)
2023-01-17 17:35:00 +01:00
lumapu
07bf947ff7 improved stability
improved wifi initial connection - especially if station wifi is not available #509
removed new operators from web.h (reduce dynamic allocation)
improved sun calculation #515, #505
fixed wifi auto reconnect #509
added disable night communication flag to MQTT #505
changed MQTT publish of `available` and `available_text` to sunset #468
2022-12-20 22:43:54 +01:00
lumapu
5977bbaee6 improved stability
added icons to index.html, added wifi-strength symbol on each page
moved packet stats and sun to system.html
refactored communication offset (adjustable in minutes now)
2022-12-20 00:04:25 +01:00
lumapu
ea6a9c155c changed sunrise / sunset calculation, angle is now -3.5 instead of original -0.83
improved scheduler (removed -1 from `reload`) #483
improved reboot flag in `app.h`
fixed #493 no MQTT payload once display is defined
2022-12-17 13:26:25 +01:00
lumapu
dc9eda5ee3 fix changes from merge 2022-12-12 21:05:36 +01:00
lumapu
0af2d18514 Merge branch 'nrf_info' of https://github.com/DanielR92/ahoy into DanielR92-nrf_info 2022-12-12 20:50:38 +01:00
lumapu
7c6ab6792b fix #472 refactored ahoyWifi class completely
-> now Ahoy opens an AP during boot. This will be closed once a station WiFi connection is established
improved NTP after boot, will be synced immediately after successful WiFi connection
2022-12-03 02:06:20 +01:00
DanielR92
4f46106228 Add NRF to system site + api 2022-11-19 20:15:54 +01:00
lumapu
fbad251236 refactored directory structure 2022-11-09 22:46:30 +01:00
Renamed from tools/esp8266/src/hm/hmRadio.h (Browse further)