Several years ago, I took the course on Home Automation and built a system round that course using a RPi 3 and Sonoff switches. The system functioned perfectly until recently when I had to replace the router on my network.. After some digging, I found that the I/P address on the RPi had changed. The RPi responds to the new address but unfortunately none of the switches do. Is there a way that I can change the I/P back to the original address? I am able to access the RPi using PUtty and the new address. But changing the I/P in all the switches has to be a last resort effort.
Thanks for listening
It seems to be possible. Check this article: https://www.makeuseof.com/raspberry-pi-set-static-ip/
Did the password/SSDI change? If with the new router you have a new SSID and password, you’ll need to add those to the switches, even though you can add the same IP address to the Pi.
I hope this helps.
Sara, thank you for the response. Unfortunately, I tried to set up a static i/p before I saw your reply and in doing so I have rendered the RPi useless. I can no longer access it from my my network even though it shows up on the Angry I/P scanner as a live connection. When I use that address in putty, I just get an empty page. At this point I am going to just restart from scratch .. I have downloaded the latest version of the course and have a question or two.. The RPi version of Raspian Lite does not appear on the website. Should I just use the one called OS LITE to create a new OS? Once I get the RPi running I will use the procedure that you provided to set a static i/p and also make that setting in the router. The SSID/pswd combination is still the same, so I am hope that getting the RPi back on the right I/P will get me back in business with out having to reprogram the switches. In this process, I have tried two different I/P scanners and get different results from them which doesn’t give me much confidence in either one. I tried the Angry and the Advanced scanners. I know the course recommends the Angry but without get the same results it gets difficult to rely on either one.
Please let me know your thoughts on the RPi version so I can proceed through the course and get this thing working again.
Raspian is now just Raspberry PI OS. Download the non desktop version (You won’t be connecting a monitor or keyboard). Even with the same SSID and password you most likely will have to reset all of the connections (I just tried the same thing and had to do that).
As Steve mentioned, it is now called Raspberry Pi OS.
The eBook need to be updated. We’re working on it at the moment, but it takes a lot of time to update an eBook like that.
We have updated instructions to install the operating system here: https://randomnerdtutorials.com/installing-raspbian-lite-enabling-and-connecting-with-ssh/
Thanks to all for the help, I am back in business. The switches did not have to be changed. You get so used to those systems working that you really miss them when they fail.
Wow. Glad the switches just “Worked”. It was a real pain when my router died and I had to replace it. Even with the exact same settings my Kasa switches had to be updated to connect. Perhaps it was because I got a WiFi 6 mesh system. I don’t know.