Adding WebConfig to ESP8266 Gateway
-
I've setup up an ESP8266 Gateway with MQTT (using sketch in Dev branch). Connection to AP & MQTT broker is working fine.
Rather than having the wireless AP credentials hardcoded I would like the ability to include the WebConfig UI developed by John Lassen here. This would also allow me to experiment with different MQTT brokers without reprogramming the GW.
I started with the GatewayESP8266MQTTClient sketch and tried to merge the WebConfig sketch but it doesn't seem very doable. Even when separating the EEPROM space the GW seems to continuously try to take over the Wifi configuration and override anything the WebConfig code is doing. Is something doable at all? Any suggestions on how ones goes about doing such a merge? Would it be easier to start with a non-ESP8266 gateway sketch and then merge the WebConfig stuff?
-
I've setup up an ESP8266 Gateway with MQTT (using sketch in Dev branch). Connection to AP & MQTT broker is working fine.
Rather than having the wireless AP credentials hardcoded I would like the ability to include the WebConfig UI developed by John Lassen here. This would also allow me to experiment with different MQTT brokers without reprogramming the GW.
I started with the GatewayESP8266MQTTClient sketch and tried to merge the WebConfig sketch but it doesn't seem very doable. Even when separating the EEPROM space the GW seems to continuously try to take over the Wifi configuration and override anything the WebConfig code is doing. Is something doable at all? Any suggestions on how ones goes about doing such a merge? Would it be easier to start with a non-ESP8266 gateway sketch and then merge the WebConfig stuff?
@Iyad-Nahas This is a feature I've been dreaming about since I ported MySensors to ESP!
I had a quick look at the code and it seems doable. The biggest issue you'll probably encounter is that all the WiFi stuff is hidden since MySensors 2.0beta.
Maybe @hek can point you in the right direction?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login