Commit Graph

9 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 754f1591f7
If we can't reconnect after 2 attempts and a delay fo 2s, then restart
Thankfully, the ESP32 has an inbuilt function to reboot it :D
2022-07-13 02:01:31 +01:00
Starbeamrainbowlabs 491b87c0b3
Add reconnect if the connection dies
this time, by recalling mqtt.connect

apparently it didn't like recreating the objects very much
2022-07-04 16:47:10 +01:00
Starbeamrainbowlabs 752045d4b0
Revert "automatically attempt to reconnect to the MQTT if we fail to send a message"
This reverts commit bbb6d542f3.
2022-07-04 16:26:53 +01:00
Starbeamrainbowlabs d2eea40641
Revert "bugfix: variable name shadowing"
This reverts commit a6dc9699d2.
2022-07-04 16:26:45 +01:00
Starbeamrainbowlabs a6dc9699d2
bugfix: variable name shadowing 2022-06-30 21:59:25 +01:00
Starbeamrainbowlabs bbb6d542f3
automatically attempt to reconnect to the MQTT if we fail to send a message 2022-06-30 21:44:25 +01:00
Starbeamrainbowlabs 856f2d27bb
Fix up project
it works! :D
2022-06-30 16:01:26 +01:00
Starbeamrainbowlabs 61bbae7d16
.ino → .cpp
Platform.IO doesn't like .ino files, apparently
2022-06-30 15:30:42 +01:00
Starbeamrainbowlabs d3566bd894
Import project into Platform.io 2022-06-30 15:27:42 +01:00