I am new to openhab, just install it in raspberry pi and walk through the tutorial.
I add the network binding to the inbox and start the automatic discovery of all (reachable) network devices in the same subnet, I have several devices on the network but nothing discovered.
At this point I wonder if is it a problem that I should be fixed as I don’t want to move on with the tutorial before understand it. Can anyone suggest why I can’t see them and how to fix it?
What’s in the log viewer? It should be accessible from the openhab main page (where you select paper UI, basic UI, …). Since the binding is pinging the entire network, you could also check trafic using a network diagnostics tool such as Wireshark.
If you installed using openHABian (the recommended installation for an RPi) then when you go to ipaddress:8080, LogViewer will be one of the options on the dashboard.
If not, you need to ssh to the RPi and look at /var/log/openhab2/openhab.log.
please stop and start the binding after every config change. The binding does not detect this. I looks like this is a bug.
on the console:
bundle:list ==> find network binding number
bundle:stop xxx (bundle number of the network binding)
bundle:start xxx (bundle number of the network binding)
Please post the network binding config related informations from:
/conf/services
/conf/things
/conf/items
Things and Channels can be configured without restarting the binding. Only the binding configurations (timeouts, arp path etc) are read only once.
The binding is very conservative. A device is Offline by default. A ping is performed every minute by default, so the state will not update in real time. If the binding shows Online, there is a device though. Make a screenshot of the Thing configuration for further help.
You can just leave that setting empty and the binding should not use arp ping. If it still produces a message, please open a Github Issue and I’ll resolve it as time permits