Internet of Things/AWS Iot ESP32 Sensor - circa 2022
From Federal Burro of Information
Jump to navigationJump to search
Goal
- esp32
- bme680
- aws iot
- tls client certs.
Rough notes
https://docs.aws.amazon.com/iot/latest/developerguide/mqtt.html
source: https://www.instructables.com/Arduino-Using-AWS-IoT-Serivce/
https://www.arduino.cc/reference/en/libraries/mqtt/
https://randomnerdtutorials.com/esp32-mqtt-publish-subscribe-arduino-ide/
- PENDING TEST RUN
- assumes node-red broker on raspberry pi.
- tls ?
https://www.emqx.com/en/blog/esp32-connects-to-the-free-public-mqtt-broker
- PENDING TEST RUN
- no tls mentioned username and pass , assumes
- arduino lib: PubSubClient by Nick O’Leary ( insert link )
https://www.valvers.com/open-software/arduino/esp32-mqtt-tutorial/
- PENDING TEST RUN
- arduino lib: Joël Gähwiler MQTT library. -I've already proved this lib has no tls support BOO!!!!
- except scroll down and find an aws iot exmaple coimeplte with certs: "https://github.com/valvers/valvers.website.src/blob/master/docs/src/esp32-mqtt-tutorial/140-esp32-arduino-mqtt-connect-to-aws-iot/140-esp32-arduino-mqtt-connect-to-aws-iot.ino"
Ditching TLS MQTT
I've given up on tls mqtt. can I do a low powerweb server?
https://hackaday.com/2022/10/28/esp8266-web-server-saves-60-power-with-a-1-ms-delay/