Commit graph

19 commits

Author SHA1 Message Date
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
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
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
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
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