Readit News logoReadit News
willhschmid commented on Building a Low-Cost IoT Edge Node with ESP32: Lessons from Real Deployments    · Posted by u/ariajames
willhschmid · 2 months ago
If you are using ESP32, I recommend exploring Xedge32, as it simplifies the design of secure MQTT edge solutions. The following tutorials list includes several MQTT projects: https://realtimelogic.com/xedge32-tutorials/ And don't forget to read how horrible MQTT can be if you do not set it up correctly: https://realtimelogic.com/articles/How-Hackers-Can-Easily-Pe...
willhschmid commented on Web-Based Remote Garage Door Controller   github.com/jjsch-dev/Door... · Posted by u/willhschmid
willhschmid · 7 months ago
This DIY DoorController project provides a web-based solution for controlling a garage door remotely. It includes a minimally invasive design with a magnetic reed switch for detecting door states and an NPN transistor for simulating button presses on a generic garage door remote. The software runs on the Xedge32 platform, offering a web interface that can be added to mobile home screens for app-like functionality. The project also supports email logging by configuring SMTP settings and emphasizes security with password protection.

Deleted Comment

willhschmid commented on MQTT turns 25   andypiper.co.uk/2024/10/2... · Posted by u/andypiper
this_user · 10 months ago
Having recently used MQTT for a project, I can't say that I'm a huge fan. There are a lot of options in the protocol where it's not immediately clear what they do and why they are important, or in what combination they need to be used to make sure things work as intended, and the documentation is often not great at explaining. Part of this may also be on the Eclipse Mosquitto Python client that I had been using. I took me several days to figure out that the client was running into a race condition on a slower system that resulted in subscriptions to topics silently being ignored which caused the associated callbacks to malfunction despite following their documentation 100%. Overall, this has been one the messiest experienced I have ever had with a protocol, certainly one that isn't that old.
willhschmid · 10 months ago
MQTT does have its nuances, and diving into the specifications is sometimes required to grasp all the options fully. That said, for most cases, simply focusing on the API for the library you're using should suffice. It sounds like the real issue you're facing is more with the library than the protocol itself.

If you're open to using Lua, you might find this client library more straightforward: https://realtimelogic.com/ba/doc/en/lua/MQTT.html. It’s designed to be simple to use and works with the BAS runtime, which supports many platforms, including microcontrollers like the ESP32: https://realtimelogic.com/downloads/bas/ESP32/

willhschmid commented on Hackers Can Easily Penetrate Your MQTT Solution   realtimelogic.com/article... · Posted by u/willhschmid
willhschmid · a year ago
Think your MQTT solution is safe, even with authentication, including mTLS? Well, think again! Here's a step-by-step guide on how hackers can exploit MQTT solutions, even when credentials are in place. This tutorial includes ready-to-run MQTT exploit code.

u/willhschmid

KarmaCake day60April 28, 2011View Original