Commit graph

62 commits

Author SHA1 Message Date
Andreas Schiffler
6be2b0979f speed up set power limit 2022-09-05 20:07:48 +02:00
lumapu
0355572692 corrected most of the review comments, except "maxlength" 2022-09-01 07:25:30 +02:00
lumapu
b67cd033d2 fix #209 2022-08-30 15:49:33 +02:00
lumapu
2bfb6467e0 * fix #195: used trim() to remove leading and trailing spaces, added maxlength attr to input field
* started to work on #209: added another timer for NTP update after configurable interval (default 12h)
2022-08-30 15:35:36 +02:00
lumapu
ae968d618a * added option for no powerlimit (setup)
* moved function showLiveData to web.cpp
* improved debug messages
* cleaned some code
2022-08-26 16:34:10 +02:00
lumapu
fec8758de7 * fix empty inverters save on a brandnew ESP
* replaced several {0} by memset
* erase now erases the flash with 0xff (identical to a brandnew ESP)
2022-08-26 12:47:32 +02:00
tastendruecker123
0ad53d56d8
ESP32 support added
* ESP32 adjustments, compiles and runs
* Changed gitignore to ignore debug log files
2022-08-19 17:35:10 +02:00
Andreas Schiffler
c38afda489
Merge branch 'main' into esp32-adjustments 2022-08-17 09:54:33 +02:00
Andreas Schiffler
3e1b120b74 0.5.14 Bug fix mqtt payload & get FWVersion
Changes 0.5.14.
- bug fix in mqtt payload handling thx to @klahus1 and silversurfer
- small improvements in code styling
- refactoring to get have the option to implement different parse for InfoCommands
- Get FWVersion by REST API call
- Display FWVersion in webui (only after REST API call)
2022-08-17 09:01:25 +02:00
Marcel Alburg
1200ca0b79 first changes to prepare code for esp32 2022-08-15 22:42:08 +02:00
Andreas Schiffler
8a02c62995 Undo failed merge
- Sorry for the mess
2022-08-15 14:47:31 +02:00
Andreas Schiffler
304e947656 Merge branch 'main' 2022-08-14 11:18:54 +02:00
lumapu
a5f975bbe4 * moved wifi related stuff to extra class 2022-08-14 03:00:04 +02:00
lumapu
74f053a5ae * webinterface refactored completely 2022-08-14 02:18:53 +02:00
lumapu
3c8a4c49a1 * first refactored version which is accessible through web interface 2022-08-14 01:40:55 +02:00
lumapu
15402dbd99 * merged showSetup (app + main) 2022-08-13 23:59:19 +02:00
lumapu
778f209eb5 * improved read / save to eep 2022-08-13 23:16:33 +02:00
lumapu
f1b19bccfe * improved mqtt settings 2022-08-13 03:07:09 +02:00
lumapu
f92a9509a1 * Zwischenstand, compile ok 2022-08-13 02:50:34 +02:00
lumapu
ccb9fb537d * main in app integriert, Zwischenstand 2022-08-13 02:15:56 +02:00
lumapu
c6e3cd39ba * started refactoring 2022-08-13 01:07:59 +02:00
Andreas Schiffler
03879d6aed bugfix pointer to power limit 2022-08-11 13:25:28 +02:00
HorstG-57
ef520b65ec in app.h defines eingebaut mit dem sich das verhalten der app in Bezug auf MQTT anpassen läst
in app.cpp bedingte Compiler Abschnitte eingebaut
2022-08-10 23:49:38 +02:00
Andreas Schiffler
028aedb788 prototype webapi to get info, improved pwr limit 2022-08-07 17:27:50 +02:00
Andreas Schiffler
6b1f027d01 devControl bugs and error handling 2022-08-05 13:20:12 +02:00
Andreas Schiffler
7ed5a0a9e1 active power limit added via mqtt and setup page 2022-08-01 21:26:25 +02:00
Andreas Schiffler
d41c26a3ce first poc set power limit via mqtt 2022-07-21 17:06:24 +02:00
lumapu
c35c86210f Merge branch 'main' of https://github.com/grindylow/ahoy 2022-07-06 21:53:13 +02:00
Kai Gerken
3b7eb9c58b Implement state class for mqtt discovery. 2022-07-06 20:55:17 +02:00
Kai Gerken
bbc725f316 Implement MQTT discovery for Home Assistant 2022-07-02 20:24:55 +02:00
lumapu
aeb63f5d31 * compiles with PlatformIO 2022-06-30 22:28:54 +02:00
wtl0
0b9ab0100a Janitorial: Trailing whitespace tweaks 2022-06-27 00:42:51 +02:00
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
e5adf23ee9 Add JSON output; Available via HTTP data point /json 2022-06-27 00:17:18 +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
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
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
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
lumapu
6871bf4247 * multi inverter support
* full re transmit included
2022-05-17 17:15:44 +02:00
lumapu
724f0ab83a * complete payload processed (and crc checked)
* inverter type is defined by serial number
* serial debug can be switched live (using setup)
-> Note: only one inverter is supported for now!
2022-05-17 15:30:36 +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
37206847c5 * added rx channel switching
* switched to crc8 check for valid packet-payload
2022-05-09 20:47:05 +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