Hi,
I’m having an issue with my openHab setup and I would appreciated your help.
My openhab instance is installed in a different IP address than my items, and it doesn’t show me the status of the items in the dashboards.
My openhab is on ip 172.4.0.1:8080 for ex. and my things on 172.15.0.xxx, that’s because I would like to access things that are in different locations but using only one openhab instance.
If I open openHAB on the same subnet than the items, the staus works fine and i can switch on and off them. If I go to a different subnet they stay grey and can’t switch them on/off.
Do you know why this is happening? As anyone had this problem before? I tried to find help in the forum, but did not find anything close to this issue.
It may help if you could let us more details about what kind of things you talk as the detection for these things may be different kind of methods like broadcasts …
Devices on two different subnets can’t communicate unless you set up your networks to allow it. You probably won’t find much discussion about it in the community, because it’s a network issue that doesn’t have anything to do with your OH server. I suggest Googling “can devices on different networks communicate”.
In fact, you’ll have to setup a route to the other subnet., either via firewall rule (i.e. forward the traffic to the subnet) or via vpn (so that both subnets are virtually the same subnet)
But Russ is completely correct, that is out of scope of openHAB.
It sounds like you’re having trouble accessing the status of your items in openHAB when they are on a different IP address than your openHAB instance. The items work fine and can be switched on/off when accessed from the same subnet as the items, but when accessed from a different subnet, the items stay greyed out and cannot be switched on/off. One possibility could be a network configuration issue or firewall blocking access to the items from the openHAB instance.
Thank you all for the help, I’m not an expert in networking but we have several buildings connected with routers and switchs. I can get to the http web page of the Shelly items in any subnet, just can’t change their staus on openhab outside the same subnet as the items.
With HA I can do it with no problems, that’s why I thought it could be something with openHab…