Hello
I am facing a not working openhab App. App does not show any sitemap.
My research of the problem was, that the IP of the RasPi has changed, because the Router restarted.
(Security is off, I know)
There is no fixed IP on the RasPi and openHab.
Would like to ask you for debug, I think if I reboot the Pi the App will work again.
thanks in advance
Do you know the new IP of your RasPi and did you adjust it in the settings of the app? If your router changes the IP addresses of your devices after a restart it’s very likely that your Hue system also got a new IP. Did you enter that new IP in the openHAB config-file? And did you restart openHAB after that?
In general: It’s not a good idea to let the router handle the IPs of your devices in that way. After a power outage or a planned restart you’ll face that problem again. So make sure, that your router assigns all devices with a static (DHCP) address; a lot of routers have that function. (“Always assign that IP address to that device.”)
Actually it’s a pretty stable system. I changed willingly the IPs of all my devices a few weeks ago and made the adjustments in openHAB and it’s iOS app without any flaws.
Hi Norman
The App does not need a IP !?
I am using a Hostname, so its always the same setting. (I do not have static IP at home)
The hostname is immediately updatet after restart of the Router, this works fine, no problems at all.
The Router is a stupid thing, but is the only hardware that is 24/7 online, so it has to do the dhcp.
Some things have static IP’s in my intranet, but I would like to keep dynamic IP on my PI and openHab, to be idependet of use also at other houses.
You are right with the IP of the Hue, this was set to a static IP address, I changed it to dynamic (#) now.
The Pi is still not restarted, that means would it be possible to find the problem openHab is actually facing by connecting with the App ?
Regards
And: if you have problems accessing openhab from your android app leave the local url blank, the app finds your openhab by itself (assuming your network config is clean and functionable):
The firmware has nothing to do with the downloaded distribution operating system.
You can compare it somehow with the BIOS of a personal computer, although it’s not the same but has the same function.
With apt-get upgrade you have the newest software, with rpi-update the newest firmware. With the newest firmware you can make sure that you have optimized hardware support.