Commit Graph

17 Commits

Author SHA1 Message Date
82fbc7be43 MQTT: Small fixes. Most notably, MQTT_TOPIC/status will now contain hostname and IP of pitrix. 2019-06-19 22:27:33 +02:00
26df11fc47 Added tests. Start them by sending a message to MQTT_TOPIC/run_tests. First test will test all effects for memory leaks. 2019-06-19 22:26:38 +02:00
8c9e9e2e2e MQTT: Use new effect structure and logging. 2019-06-18 18:17:48 +02:00
5ce3b0c1b3 Centralized the creation of a hostname to a global variable hostname, set in pitrix.cpp. Added an mDNS record for the webserver. 2019-06-14 05:35:17 +02:00
291a3be623 Moved platform-specific code related to WiFi and services to my_wifi.h. Also, made the HTTP server stuff compatible to ESP32.
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-13 06:01:44 +02:00
308196d185 Added fps to MQTT metrics. 2019-06-12 20:49:37 +02:00
2072877159 Handling of incoming MQTT messages improved.
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-11 19:48:42 +02:00
c5856a6f7a Whitespace stuff. Tabs rule!
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-07 06:24:16 +02:00
b71faa3bcb MQTT now sets LWT and explicitly requests a clean sesion on startup.
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-07 06:08:52 +02:00
c153ce915d Added MQTT_TOPIC_WEATHER for receiving and storing weather data. 2019-06-07 06:08:21 +02:00
560b71425d Made the code ESP32-compatible.
All checks were successful
continuous-integration/drone/push Build is passing
2019-06-06 12:12:58 +02:00
05aa6f7249 Added a pragma message if MQTT is disabled.
Some checks failed
continuous-integration/drone/push Build is failing
2019-06-06 06:51:07 +02:00
f7fc459095 MQTT can now be disabled via MQTT_ENABLE 2019-06-06 06:43:50 +02:00
f9fba8a8f9 Macros LOG and LOGln now will, if debugging is enabled, log to an mqtt topic as well as Serial. 2019-05-31 23:57:46 +02:00
a7d956209a Added Effect::start() and Effect::stop() to allow effects to reserve memory on start and free it afterwards. 2019-05-31 05:46:17 +02:00
5321409727 Added support for reporting for freeHeap via MQTT. 2019-05-30 13:09:38 +02:00
2f58fd14d0 Splitting the code into single files is done. \o/ 2019-05-30 00:49:54 +02:00