โNov-19-2017 07:38 AM
โNov-24-2017 06:11 PM
โNov-20-2017 06:49 AM
GordonThree wrote: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
โNov-19-2017 02:27 PM
โNov-19-2017 02:00 PM
โNov-19-2017 12:54 PM
TNGW1500SE wrote:
I have 3 routers that I log into. Home, work & RV. They are never within range of each other when turned on. The RV router is off when it is home. Is there any problem using the same ssid & password for all three routers?
I know it's not a problem connectiong to different ssid's on my phone. The problem is I'm starting to log in to my routers with other devices like Alexa & ESP3266 micro controllers. I have to flash the micro controlers with one ssid and password. My thoughts are, if all three routers had the same ssid and password, I could take the devices from one location to the other. They'd never know they had been moved. Then all devices would connect to any of the three routers.
PS for you "real nerds": If you're really into gadgets, check out the NodeMCU boards you program with Arduino. You can control almost anything using NPN transistors and the boards GPIO pins. 2 bucks each! Big learning curve! Buy a few extra, you'll smoke one! I have a bunch of stuff automated using MQTT, Alexa and IFTTT. I'm up to 5 Alexa's now and some Nodes controling a bunch of the 12 volt stuff.
โNov-19-2017 12:48 PM
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.
โNov-19-2017 11:54 AM
โNov-19-2017 11:40 AM
โNov-19-2017 09:05 AM
TNGW1500SE wrote:rk911 wrote:TNGW1500SE wrote:
I have 3 routers that I log into. Home, work & RV. They are never within range of each other when turned on. The RV router is off when it is home. Is there any problem using the same ssid & password for all three routers?
I know it's not a problem connectiong to different ssid's on my phone. The problem is I'm starting to log in to my routers with other devices like Alexa & ESP3266 micro controllers. I have to flash the micro controlers with one ssid and password. My thoughts are, if all three routers had the same ssid and password, I could take the devices from one location to the other. They'd never know they had been moved. Then all devices would connect to any of the three routers.
the ssid shouldn't be a problem as long as you're only 'seeing' one or the other even then the only problem would be you being able to determine which is which. when we travel I often see more than one 'Xfinity' or 'Comcast'. but I like clean solutions so why not just append 'home', 'work' and 'rv' to your SSIDs as in: 'myrouter-home' and so on? passwords should not be an issue but you could use the same format by appending 'home', 'work' and 'rv' to the PW.
I have to flash the ssid and password to the micro controllers. I'd have to reflash them to change the name or password.
โNov-19-2017 09:02 AM
TNGW1500SE wrote:
I have 3 routers that I log into. Home, work & RV. They are never within range of each other when turned on. The RV router is off when it is home. Is there any problem using the same ssid & password for all three routers?
f.
โNov-19-2017 08:48 AM
rk911 wrote:TNGW1500SE wrote:
I have 3 routers that I log into. Home, work & RV. They are never within range of each other when turned on. The RV router is off when it is home. Is there any problem using the same ssid & password for all three routers?
I know it's not a problem connectiong to different ssid's on my phone. The problem is I'm starting to log in to my routers with other devices like Alexa & ESP3266 micro controllers. I have to flash the micro controlers with one ssid and password. My thoughts are, if all three routers had the same ssid and password, I could take the devices from one location to the other. They'd never know they had been moved. Then all devices would connect to any of the three routers.
the ssid shouldn't be a problem as long as you're only 'seeing' one or the other even then the only problem would be you being able to determine which is which. when we travel I often see more than one 'Xfinity' or 'Comcast'. but I like clean solutions so why not just append 'home', 'work' and 'rv' to your SSIDs as in: 'myrouter-home' and so on? passwords should not be an issue but you could use the same format by appending 'home', 'work' and 'rv' to the PW.
โNov-19-2017 07:55 AM
TNGW1500SE wrote:
I have 3 routers that I log into. Home, work & RV. They are never within range of each other when turned on. The RV router is off when it is home. Is there any problem using the same ssid & password for all three routers?
I know it's not a problem connectiong to different ssid's on my phone. The problem is I'm starting to log in to my routers with other devices like Alexa & ESP3266 micro controllers. I have to flash the micro controlers with one ssid and password. My thoughts are, if all three routers had the same ssid and password, I could take the devices from one location to the other. They'd never know they had been moved. Then all devices would connect to any of the three routers.