Commit graph

60 commits

Author SHA1 Message Date
lumapu
6ed2dfde9c * fix EPS32 GPIO names #286
* fix negative temperature  (OpenDTU issue 246)
* added plausibility check based on payload length
* prepared project for splitting into library and end-user-esp
* added donation link to index.html
* deactivated disclaimer temporarily
2022-10-21 16:44:04 +02:00
lumapu
ab70dda9a1
Merge pull request #327 from DanielR92/daniel-dev03
patch and change to a switch case
2022-10-06 13:57:40 +02:00
DanielR92
1ba92414cc create a DTU-ID from the CPU-ID 2022-10-05 19:01:39 +02:00
DanielR92
868012931f Patch from home... 2022-10-04 18:44:27 +02:00
stefan123t
f5c784f44c no retransmit on Restart / CleanState_LockAndAlarm 2022-10-03 23:19:09 +02:00
stefan123t
a98afcdeb2 fix ++cnt warning -Wsequence-point 2022-10-03 23:10:05 +02:00
stefan123t
13aa06e5d9 add CleanState_LockAndAlarm in app.cpp, hmRadio.h, web.cpp
and add Inverter Pulldown to serial.html
2022-10-03 23:02:37 +02:00
lumapu
66b70f24e5 * improved records in hmInverter
* added records to api
* removed unused endpoints from api
2022-09-13 21:58:32 +02:00
lumapu
56b747709a improved records in hmInverter.h 2022-09-12 22:57:36 +02:00
lumapu
6bd7e01f1a * started to implement POST api
* improved web serial console
* added multi inverter total values (published through MQTT)
* fixed: after boot there were transferred wrong data because of incorrect assignment (mqtt, visualization)
  -> not tested with sun
2022-09-10 02:19:25 +02:00
lumapu
0759bff4cd * web-serial: added internal buffer which is transmitted every second if its fill state is different from 0
* added uptime to serial console
* time will be instantiated in ESP (was in in JS)
* fixed SerialDebug inside hmRadio.h (thx to klahus1)
2022-09-09 14:46:18 +02:00
lumapu
4561655d9d * improved serial console
* repaired /save
* removed yields (not allowed with async-web)
2022-09-08 22:52:51 +02:00
Andreas Schiffler
dc38d46cda
Merge branch 'development02' into config_override 2022-08-30 09:05:10 +02:00
Oliver Fueckert
7fc57ffc8c - Improve config system allowing a user customizable config_override.h file to ensure git pulls don't require merges
- Move DTU_RADIO_ID to config.h to allow for easy customization for multiple DTUs with non conflicting radio IDs
2022-08-30 08:52:47 +02:00
Andreas Schiffler
146a1d5eea improvment mqtt after add values 2022-08-24 08:31:33 +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
04db808920 fix crc8 too 2022-08-15 22:55:02 +02:00
Marcel Alburg
1200ca0b79 first changes to prepare code for esp32 2022-08-15 22:42:08 +02:00
lumapu
15402dbd99 * merged showSetup (app + main) 2022-08-13 23:59:19 +02:00
lumapu
e5be85cb27
Update hmRadio.h
changes requested by @aschiffler regarding hmRadio.h
2022-08-11 13:42:26 +02:00
lumapu
b0c74c4b6a Merge branch 'main' of https://github.com/grindylow/ahoy 2022-08-10 12:00:51 +02:00
lumapu
31a09dbaf9 * flush rx every time 2022-08-10 12:00:45 +02:00
Andreas Schiffler
14b6e08532 alarm handling 2022-08-10 10:41:38 +02:00
Andreas Schiffler
406e7fdb8f handling of reactive power limit 2022-08-08 10:38:12 +02:00
Andreas Schiffler
03bb7fbb88 bugfix pointer for pwr limit data 2022-08-07 18:42:21 +02:00
Andreas Schiffler
028aedb788 prototype webapi to get info, improved pwr limit 2022-08-07 17:27:50 +02:00
Andreas Schiffler
3361d5b9bf change default for power limit persistens 2022-08-06 17:20:52 +02:00
Andreas Schiffler
56cc481069 power limit persistent 2022-08-05 15:00: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
7c6e068562 fix #112 switch both TX & RX channels in hmRadio.h 2022-08-03 20:52:22 +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
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
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
9ec93f4647 * more debug output (#retransmits)
* improved loop counters
2022-06-09 23:26:10 +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
Stefan Thieme
ea9ab4601a add channel 2440 to RX_CHANNELS 5 in hmRadio.h 2022-06-01 23:48:44 +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
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