Earlier quoted context omitted.
bro your images are giant. every load of the page is transferring 40ish MB. back_panel_back_render.png is 11.3 MB. replace those with smaller versions and click to link to the larger.. but I do see both cloudfront and cloudflare headers so not sure why these aren't being cached by them
Thanks for letting me know, I will have to fix this soon. This was the first post as part of a new blogging setup I'm using and clearly I'm missing some of my old processes (like image resizing).
Building an IoT Notification Device from Scratch
11–19 of 19 posts
Re: Building an IoT Notification Device from Scratch
#12Love the project - would have been great when my kiddos were that age.
Re: Building an IoT Notification Device from Scratch
#13If you want to avoid “long polling” then MQTT isn’t the answer (it’s still a long held TCP connection waiting for messages). UDP would be the way to go, and with WireGuard as a carrier you don’t have to worry about NAT traversal issues (and get privacy as a bonus). Love the project - would have been great when my kiddos were that age.
Re: Building an IoT Notification Device from Scratch
#14The entire ESP ecosystem is quite accessible for people of modest technical ability. HomeAssistant+ ESPHome + ESP32 in particular is a good stack because it takes away most of the complexity. Common sensors have ESPHome code available with a quick google so just need to connect the wires right basically
Would have been a nicer fit (smaller bevel) than the LCD in this project at about the same cost.
Re: Building an IoT Notification Device from Scratch
#15Re: Building an IoT Notification Device from Scratch
#16The entire ESP ecosystem is quite accessible for people of modest technical ability. HomeAssistant+ ESPHome + ESP32 in particular is a good stack because it takes away most of the complexity. Common sensors have ESPHome code available with a quick google so just need to connect the wires right basically
For BLE you can use STM32s and Nordics. But Wifi-on-Chip is ESP32-only.
Re: Building an IoT Notification Device from Scratch
#17The entire ESP ecosystem is quite accessible for people of modest technical ability. HomeAssistant+ ESPHome + ESP32 in particular is a good stack because it takes away most of the complexity. Common sensors have ESPHome code available with a quick google so just need to connect the wires right basically
Problem is that ESP32s are super power hungry once you start using BLE or Wifi. For BLE you can use STM32s and Nordics. But Wifi-on-Chip is ESP32-only.
Re: Building an IoT Notification Device from Scratch
#18I noticed there seems to be a use-after-return with the creds returned from CredentialManager::retrieveCredentials (C-arrays can't be passed/returned by value). One solution could be to return Arduino Strings instead
Re: Building an IoT Notification Device from Scratch
#19If you want to avoid “long polling” then MQTT isn’t the answer (it’s still a long held TCP connection waiting for messages). UDP would be the way to go, and with WireGuard as a carrier you don’t have to worry about NAT traversal issues (and get privacy as a bonus). Love the project - would have been great when my kiddos were that age.