Forum Discussion
GordonThree
Nov 19, 2017Explorer
TNGW1500SE wrote:
Thanks, I been beating my head trying to think of how I can program these things to work on more than one network. Then I came up with the idea of naming them all the same.
Overlapping SSID will work. Another way to do it is with the WiFiMulti library, it lets you save several access point SSID/Password pairs into your program and tries each one till it finds a match. Yet another option is the WiFiManager library, if ESP can't connect to the last known access point, it will start its own access point for you to connect to, and then you can change whatever settings you need.
Once you've outgrown NodeMCU and the Lua scripts, move over to programming in C++, either using the Arduino framework or native Espressif SDK. It opens SO MANY DOORS.
Thumbs up for adding Alexa to the mix. It's nice being able to do "Alexa turn off the lights" and the system turns off indoor and outdoor lights just like that. "Alexa set bathroom fan to 50%" is another of my favorites.
My ESP nodes are all managed by an api server that sends them configuration information, like what their job is, their mqtt settings, server addresses, all stored in a database. If I need to swap out a node, I just update the database and the new node becomes the replacement.
Of course, the hardware part is fun too. Here's a few of my creations:

Dual channel 10amp DC solid state switch, for 12v items in the RV

Four channel PWM dimmer, intended to control my awning light which has the rgb + white LED chips.
Sorry to ramble... glad to see someone else hacking with the ESP
About RV Must Haves
Have a product you cannot live without? Share it with the community!8,800 PostsLatest Activity: Apr 28, 2025