bzfbd
235861eaea
Fix various warnings which become fatal with later gcc versons in esp-idf 5.x ( #1268 )
...
- we cannot use partial initialisation of structs in C++ files (copied from example C files initially it seems)
- IRAM_ATTR uses a COUNTER, do not use the attribute on the implementation
- provide missing copy implementations for Rgb and Hsv
- one no longer can |= on volatile variables; use = | instead
- fix project and header includes
- avoid redefining BLINK_GPIO
- Remove defined but unused variables
- Fix printf formats
- Add missing case statement (HTTP_EVENT_REDIRECT)
- RMT needs to be updated to new interface (CONFIG_RMT_SUPPRESS_DEPRECATE_WARN is on currently; see https://docs.espressif.com/projects/esp-idf/en/release-v5.0/esp32/api-reference/peripherals/rmt.html )
- Adjust tcpip_adpater_* to esp_netif_*
- Use buffered versions of *ntoa* functions for IPv4 addresses and not a static on the stack (also fixes warnings)
- Whatever I missed
Co-authored-by: Bjoern A. Zeeb <patch@zabbadoz.net >
2022-11-04 20:06:46 +01:00
CaCO3
ff726485ba
Improve MQTT ( #1232 )
...
added shared variable for autointerval to use it as MQTT LWT timeout
2022-10-30 20:08:14 +01:00
CaCO3
d21a38f42f
Added parameter to enable/disable Homeassistant Discovery
2022-10-29 18:45:47 +02:00
CaCO3
9b9a7537f1
.
2022-10-29 12:06:20 +02:00
CaCO3
56d8c65008
add maintopic to entity name to get a better entity ID. For some undocumented reason, HA removes the maintopic again in the name, so it looks ok :)
2022-10-29 11:50:19 +02:00
CaCO3
0867dcc6da
.
2022-10-28 22:58:39 +02:00
CaCO3
b9f57edb92
added separate binary sensor "problem" indicating an error state
2022-10-28 22:53:23 +02:00
CaCO3
7ebbba3cf2
refactoring
2022-10-28 17:50:27 +02:00
CaCO3
5188734c8b
added device classes
2022-10-28 17:09:32 +02:00
CaCO3
4e476a75ca
changed error topic to a binary sensor, removed meas unit if it has no unit
2022-10-28 16:53:55 +02:00
CaCO3
7a037a3254
adjusted icons
2022-10-28 16:27:00 +02:00
CaCO3
f6b44ac905
renaming
2022-10-28 16:11:09 +02:00
CaCO3
deecc128be
added user friendly name, corrected Wifi icon
2022-10-28 16:00:13 +02:00
CaCO3
6cdbe38717
.
2022-10-27 23:35:48 +02:00
CaCO3
fe0d0c2590
.
2022-10-27 23:16:15 +02:00
CaCO3
44f61c7c91
.
2022-10-27 23:10:39 +02:00
CaCO3
af8b7d6824
.
2022-10-27 22:26:56 +02:00
CaCO3
648a35e4d7
Add HomeAssistant Discovery Topics
2022-10-27 22:02:21 +02:00
CaCO3
bfc7c2b8b7
.
2022-10-27 19:06:47 +02:00
CaCO3
7a280bc7c6
added callback on connected
2022-10-27 12:18:23 +02:00
CaCO3
f4ae688527
refactored check if logfile is enabled. error messages always get logged now
2022-10-27 10:44:28 +02:00
CaCO3
ca45d0a278
.
2022-10-27 10:03:05 +02:00
CaCO3
30549ac5af
refactored MQTT
2022-10-27 01:09:09 +02:00
CaCO3
72e3570dc4
.
2022-10-26 22:46:01 +02:00
CaCO3
724169b059
.
2022-10-26 22:46:01 +02:00
CaCO3
96b3d7cc2f
.
2022-10-26 22:46:01 +02:00
CaCO3
74c9eada47
.
2022-10-26 22:46:01 +02:00
CaCO3
98451c8fc7
renamed mainerrortopic with lwt, only send it once on connecting, minor fixes and cleanups
2022-10-26 22:46:01 +02:00
CaCO3
6b47eef4cd
use unique MQTT client ID. Without this (and multiple running deevices with same ID), they disconnect each other!
2022-10-26 22:46:01 +02:00
George Ruinelli
1e698440f9
added log level to logfile, adjusted some loglevels
2022-10-22 18:05:08 +02:00
George Ruinelli
0bf8182728
.
2022-10-21 22:55:36 +02:00
jomjol
88a074dfa9
Rolling 20220928
2022-09-28 07:16:56 +02:00
CaCO3
395b471700
added return codes. Try to publish. If it fails, run MQTT init and publish again. Increased Keep Alive timeout to make sure it is greater than the flow interval
2022-09-04 17:55:22 +02:00
CaCO3
eafcdb01c2
moved log entry
2022-09-03 00:26:16 +02:00
CaCO3
3f58086aa1
Re-init MQTT if it failed last time, added log messages
2022-09-03 00:09:50 +02:00
Anthony
090f8d5cc9
Added CPU temperature to MQTT.
2022-08-27 23:59:06 -04:00
jomjol
00028010ee
Rolling 20220526
2022-05-26 20:31:26 +02:00
jomjol
0e90bcb2ef
Rolling 20220320
2022-03-20 21:36:44 +01:00
jomjol
1f5486e8cc
Rolling 20220215
2022-02-15 21:26:38 +01:00
jomjol
45a71981c8
Rolling 20220208
2022-02-08 19:36:25 +01:00
jomjol
567dc74cd7
Rolling 20220123
2022-01-23 19:47:34 +01:00
jomjol
eac513411e
v10.0.2
2022-01-01 08:53:55 +01:00
jomjol
98f9274085
V10.0.1
2021-12-31 09:02:59 +01:00
jomjol
957138960a
Rolling 20211230
2021-12-30 11:02:20 +01:00
jomjol
61bf536207
Rolling 20211212
2021-12-12 19:30:07 +01:00
jomjol
f4c8bf9206
Rolling 20210921
2021-09-21 18:49:32 +02:00
jomjol
32f15fc557
rolling 20210708
2021-08-07 15:25:27 +02:00
jomjol
17a87b23a1
v8.0.5
2021-08-01 21:46:17 +02:00
Zwer2k
45a1e137d1
Merge branch 'rolling' of https://github.com/jomjol/AI-on-the-edge-device into rolling
2021-07-11 11:24:26 +02:00
Zwer2k
749fc6699c
Merge remote-tracking branch 'origin/gpio-handler' into rolling
2021-07-08 21:54:44 +02:00