Commit graph

29 commits

Author SHA1 Message Date
stefan123t
6256c7a178
Merge branch 'main' into main 2022-08-07 01:23:31 +02:00
stefan123t
2c177fbfa8 add #114 ntp_server_name and port to eeprom 2022-08-07 01:10:42 +02:00
Andreas Schiffler
6b1f027d01 devControl bugs and error handling 2022-08-05 13:20:12 +02:00
lumapu
21624cb517 * fix index.html to load inverter info immediately
* changed timestamp to 1 for stand alone ESP, #90
2022-07-07 20:53:01 +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
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
20c145013e added DEBUG_FLAGs to config.h 2022-06-16 11:28:49 +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
2d37b2657d * V0.4.15
* reduced debug messages
* fixes after merge
2022-06-02 23:08:49 +02:00
lumapu
e0800bd87e
Merge branch 'main' into main 2022-06-02 22:39:55 +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
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
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
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
lumapu
b485cb8151 * improved stability (in comparison to 0.3.7)
* reset wifi AP timout once a client is detected
* fix #26 wrong variable reset
2022-05-10 21:00:32 +02:00
lumapu
8f444cee2f * improved tickers, only one ticker is active
* added feature to use the ESP as access point for all the time
* added serial features to setup
2022-05-04 19:28:54 +02:00
lumapu
4c3852cde4 * fixed erase settings
* fixed behavior if no MQTT IP is set (the system was nearly unusable because of delayed responses)
* fixed Station / AP WiFi on startup -> more information will be printed to the serial console
* added new ticker for serial value dump
2022-05-03 23:29:33 +02:00
lumapu
539d4f73c1 * added config.h for general configuration
* added option to compile WiFi SSID + PWD to firmware
* added option to configure WiFi access point name and password
* added feature to retry connect to station WiFi (configurable timeouts)
* updated index.html
* added option for factory reset
* added info about project on index.html
* moved "update" and "home" to footer
* fixed #23 HM1200 yield day unit
* fixed DNS name of ESP after setup (some commits before)
2022-05-03 21:03:03 +02:00
lumapu
2abd388726 * converted to "poor-man-ticker" using millis() for uptime, send and mqtt
* added inverter overview
* added send count to statistics
2022-05-01 20:48:10 +02:00
lumapu
f6b75aff90 * preliminary state, compiles good not tested on hardware
* converted struct inverter_t to class Inverter
* started with calculation functions (idea from Hubi/mikrocontroller.net)
2022-04-27 23:03:37 +02:00
lumapu
d195eee498 * pinout can be saved using the web setup
* html / css files are now located inside PROGMEM
* conversion of files is done with python script (OS independent, open source)
* moved as much as possible for now to the hm* modules - the app should only be the body
* successfully tested with HM1200
2022-04-25 17:48:12 +02:00
lumapu
a95069e65c * set default pinout to Wemos D1mini
* pinout will be saved in eeprom, but changes not applied for now
2022-04-24 23:10:58 +02:00
lumapu
a7add69719 * renamed .ino (must be identical to parent folder name)
* build CRC over settings, only if the CRC matches settings are applied
* send command 0x80 (set time was wrong)
* improved crc16 routine
* added statistics for received commands and send statistics (channels are not correct for now!)
* receive of commands 0x01, 0x02, 0x03, 0x81 and 0x84 working
2022-04-20 08:58:23 +02:00
lumapu
5f927ad8c5 added ESP8266 code 2022-04-17 01:54:48 +02:00