-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Secure MQTT for ESP32 Devices #4783
Comments
I have been working on it: #3788 You can try the last test build made for this PR: https://github.com/letscontrolit/ESPEasy/actions/runs/5968797472 |
How can i download this build for the common ESP32 ? Theres no Link to a File. |
Oh yes, found it. My Browser had Issues. Used another and it worked. Just flashed this. But i cant see any SSL or TLS Stuff in controller Settings. This is the current firmware :
|
You need to test either the "max" build (for 16M flash units) or the "custom" build (which doesn't have all plugins included). |
Hmm, on Max. Wifi is broken RESET: Warm boot, reset count: 1 |
Hmm are you sure about the power supply of that unit?
WiFiDisconnect will then force a WiFi restart |
Doesnt work. I´ll drop on this. I need a stable solution for MQTT TLS and will wait until its merged, |
Seems to work with "custom" but whyyyyyyyyyyyyyyyyyyyy MQTT-Import is removed :-( :-( |
OK, but that's something we can change.... |
I flashed this "ESP_Easy_mega_20230824_custom_ESP32_4M316k.factory.bin" for testing. It seems, MQTT-TLS gets connected 👍 Is it easy to add MQTT-Import to that build ? Thank you 👍 |
I will have a look later this evening. |
Just thought about a quick work-around :) I just edited the file describing the Custom builds on ESP32 and triggered a GH Actions build: So it will be ready in about 40 - 45 minutes. |
Had to do a break from this stuff due to massive work :-( Today i tried to compile a custom myself and checked out the Code with this PR. But i get following error in PIO if i try to compile a custom build : "error initializations for multiple members of 'ProtocolStruct::" Can i compile a build myself or is that not as esay with this PRed Version ? |
Depending on what time you pulled the code, you may have pulled the code that still had a merge conflict. |
I pulled again and the error gone 👍 But iam to dumb to compile it. I switched to custom_env and renamed the custom-sample.h and selected the Plugins i need. EDIT: I managed to get the Wifi up Via Serial. But i think, it makes no sense to try to compile a Firmware with this PR and a custom.h. The PR works fine with my Broker, MQTT Import and framed oled. |
Maybe it is easier to remove your Custom.h file and just edit the file
This define will enable the feature MQTT TLS. Or just add to your Custom.h: #define FEATURE_MQTT_TLS 1 |
Thanks, this worked 👍 Everything is running very good with that PR on my ESP32. Not tested with ESP8266. |
Will ESP Easy get MQTT over SSL like Tasmota has.
On ESP32 Devices Secure MQTT works fine at Tasmota. With ESP8266 its possible, too but very very unstable.
How about adding SSL to ESPeasy ?
The text was updated successfully, but these errors were encountered: