X10 Community Forum

🔌General Home Automation => Automating Your House => Troubleshooting Automation Problems => Topic started by: bobbyds1 on February 15, 2021, 10:15:03 PM

Title: setting static ip in pi
Post by: bobbyds1 on February 15, 2021, 10:15:03 PM
How can i assign a static ip address to pi after i am logged in to pi.  and i need to have alexa rediscover my devices when itry tellin it to discover new devices it does not find any of my x10 devices.

Need some assistance.
Title: Re: setting static ip in pi
Post by: bkenobi on February 15, 2021, 11:53:49 PM
There are multiple options to accomplish the same goal. I use a DHCP setting on my router to assign a fixed IP. If you prefer to assign the IP on the RPi itself, you can modify the /etc/dhcpcd.conf file.
Title: Re: setting static ip in pi
Post by: Tuicemen on February 16, 2021, 06:13:27 AM
Setting up an IP reservation in your router is the prefered method for any device. I had issues with my phone always grabing another devices IP. This way the router only gives out that IP to the device based on its MAC address and will not issue it to anything else if the device fails to or slow to load.
Title: Re: setting static ip in pi
Post by: bobbyds1 on February 16, 2021, 06:39:55 AM
Tuicemen is their any way to turn off the wifi on pi and just use an ethernet cable. if so can you please instruct how.

Thank you
Title: Re: setting static ip in pi
Post by: Tuicemen on February 16, 2021, 07:47:33 AM
Turning off on wifi/ ethernet is done in the pi configuration.
sudo raspi-config
Title: Re: setting static ip in pi
Post by: bobbyds1 on February 16, 2021, 05:15:03 PM
when i go into the config file there is no way to turn it off.. right now when i look in my router pi is connected wirelessly under one ip address and wired under another ip address. need to shut off the wifi
Title: Re: setting static ip in pi
Post by: Tuicemen on February 16, 2021, 05:24:19 PM
 You can always try one of these methods
https://raspberrytips.com/disable-wifi-raspberry-pi/
 >!
Title: Re: setting static ip in pi
Post by: bobbyds1 on February 16, 2021, 07:34:23 PM
ok i have disabled the wifi on pi. I can access home genie but I cannot access hu bridge

Need some help Please