add MQTT and OTA update support #1

Open
burned42 wants to merge 6 commits from add_mqtt into main
Showing only changes of commit ad4ee16f19 - Show all commits

View File

@ -14,7 +14,7 @@ framework = arduino
monitor_speed = 115200
upload_speed = 500000
upload_protocol = espota
Review

I presume with this change, flashing initially with USB is no longer an option? I.e., this needs to be commented? If so, I'd appreciate a short comment. It's been a really long time since I've used ArduinoOTA.

I presume with this change, flashing initially with USB is no longer an option? I.e., this needs to be commented? If so, I'd appreciate a short comment. It's been a really long time since I've used ArduinoOTA.
Review

I honestly have no idea. I was happy when I got this working with the platform io thingy.

I honestly have no idea. I was happy when I got this working with the platform io thingy.
upload_port = led-marquee-sign.fablab.local
upload_port = led-marquee-sign

Would it be sufficient just to target the mDNS hostname that by default should be led-marquee-sign.local?

Would it be sufficient just to target the mDNS hostname that by default should be `led-marquee-sign.local`?

IIRC that didn't work when we tried that.

IIRC that didn't work when we tried that.

Works when using just led-marquee-sign :)

Works when using just `led-marquee-sign` :)

That is some odd behavior, but then again, if it works... mDNS is pretty standard with these IoT devices nowadays. For example, WLED also advertises a (user-configurable) hostname. Perhaps PlatformIO applies some magic here.

That is some odd behavior, but then again, if it works... mDNS is pretty standard with these IoT devices nowadays. For example, [WLED](https://kno.wled.ge/) also advertises a (user-configurable) hostname. Perhaps PlatformIO applies some magic here.
# Serial1 (sign data) maps to D4 by default
[env:d1_mini]