Commit graph

31 commits

Author SHA1 Message Date
geronet1
ba91e905ce MQTT last will with uptime 2022-10-15 21:20:20 +02:00
tastendruecker123
079ba896d1 MQTT reconnect delay, fixed ESP32 build 2022-08-22 19:59:45 +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
tastendruecker123
e59ca5f388 MQTT subscribe only when reconnect successful 2022-08-19 12:43:47 +02:00
lumapu
f1b19bccfe * improved mqtt settings 2022-08-13 03:07:09 +02:00
lumapu
e1c713fb00 * make mClient in mqtt private again (#145)
* v0.5.10
2022-08-12 15:41:27 +02:00
HorstG-57
4dc64eb2d7 Meine anpassungen wegen
MQTT Intervall
	MQTT Test

	MQTT Subscribe muss nur nach dem MQTT Connect nicht bei jedem Connect Check
2022-08-10 23:15:50 +02:00
Andreas Schiffler
6032a5ad41 Merge branch 'upstream/HEAD' into control 2022-08-05 13:43:37 +02:00
Andreas Schiffler
6b1f027d01 devControl bugs and error handling 2022-08-05 13:20:12 +02:00
stefan123t
966a25bcd0 add mClient->setServer as suggested in #120 2022-08-04 01:19:46 +02:00
stefan123t
f657ace328 fix #106 handpickled mDevName changes from #120 2022-08-04 00:58:46 +02:00
stefan123t
1a679130d8 fix #106 PubSubClient reconnect, which maintains a reference to char* mAddr 2022-08-03 18:58:45 +02:00
Andreas Schiffler
7ed5a0a9e1 active power limit added via mqtt and setup page 2022-08-01 21:26:25 +02:00
Andreas Schiffler
dccd04ab42 first poc for power set via mqtt 2022-07-21 17:08:55 +02:00
fila612
193802aae4 HASS - MQTT Retained Messages
In #104 durch @KG3RK3N vorgeschlagen und von mir smoke-getestet. Scheint den gewünschten Erfolg zu bringen.
2022-07-18 09:58:02 +02:00
lumapu
c35c86210f Merge branch 'main' of https://github.com/grindylow/ahoy 2022-07-06 21:53:13 +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
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
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
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
01f1fab27f * try to fix #52 2022-05-23 20:31:21 +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
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
d0731f7065 * new structure
* slim definitions of fields and units
* prepared multi inverter setup (not finished now)
2022-04-24 01:00:06 +02:00
lumapu
58d79beb8c * send values using mqtt
* only send command 0x80 to inverter, all replies 0x01, 0x02, 0x03 and 0x84 are received
2022-04-22 20:16:29 +02:00
lumapu
c00be7bb35 * added mqtt 2022-04-22 07:53:26 +02:00