yeah there is one in the sidebar. but I’d prefer a classic page since the sidebar is already very “bloated”
I don’t feel to be the right person to create such page, but I’ll gladly add the configs I’ve found over time on github that proved to be rather good.
Is it possible to modify configurations to use openhab 2 network binding for sending commands to a network device.
I have a esp8266 with mdns responder with hostname esp8266.local. I added this hostname using network binding gui in openhab 2 and it is able to detect that the device is reachable and its presence gets set to online. I was wondering if this network binding could be used to automatically discover this mdns server hostname and for sending commands to esp8266.
It would be really great if you could tell me how to approach this issue.
I only tried openHAB2 a few weeks ago and failed miserably, so I am not 100% sure if I can answer properly.
From what I gather the esp8266 is basically presenting itself as a network device via WLAN and can be pinged, am I right?
The networkhealth binding is only used for pinging or testing ports on devices and not for sending commands, for this you could try to use the TCP Binding.
If you just want to set the hostname for the device you might just want to use DHCP?
Yes. I tried Yveaux’s mqttgateway2.pl and even wrote a puppet module for the installation of the whole SerialGateway + MqttGateway but I ran into troubles with the reception. At first I thought it might be caused by the RPi running in the cellar. So I created a MqttGateway running on the Arduino and moved it to the groundfloor.
But I’m still thinking about returning to the RPi variant (especially when Arduino and RPi codebase will be merged https://github.com/mysensors/Raspberry/issues/15 ). For now I’m only using the mqtt gateway for receiving data from the sensors but I already built the SceneController to test sending status data from OpenHAB to the display but no luck yet.
I originally built a gateway with a Wiznet w5100 ethernet shield (clone), but then it’d stop responding after about 15 mins so I ended up going with the serial gateway connected to my Pi via USB serial. I understand there are some troubles with those shields as my experience is not uncommon (generally…not specifically to do with use as gateway) I’ve ordered a few of the ENC28J60 modules to see if I have better luck. The serial gateway works great, but I’m far more familiar with comms over IP rather than via serial so I’m really hoping the new ethernet modules work well and I can replace my serial setup with an MQTT one talking to Mosquitto on my Pi.