esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
415 stars 26 forks source link

[Feature Request] AWS IoT #33

Open DarkFox opened 5 years ago

DarkFox commented 5 years ago

Amazon Web Services IoT offers MQTT over Websocket and there are existing implementations for Arduino/ESP8266.

OttoWinter commented 5 years ago

Yes in theory that would be nice, though the MQTT client library used by esphomelib only supports communication over a direct TCP socket connection. Supporting websockets probably means re-writing large parts of that library which I do not intend to do in the near future.

DarkFox commented 5 years ago

Yeah, I see it's quite tightly coupled. I might give it a go some time though. :)

nagyrobi commented 2 years ago

Also see: https://github.com/esphome/feature-requests/issues/482

iBobik commented 1 year ago

I see it is possible to use PubSubClient on ESP8266 to connect with AWS IoT: https://github.com/copercini/esp8266-aws_iot/blob/master/examples/MQTT_x509_bin/MQTT_x509_bin.ino

Maybe it just needs to add config for certificates?