openhab - best approach
tja last edited by
i try to use openhab with my neuron 203.
so far there seems to be only the possibility to use the openhab modbus binding. and if i read correctly one would get not the full functionality of the neuron ...
- did someone do the modbus binding ? did it work ?
- with modbus, what features are useable, which are missing ?
- is there another possibility ? a binding for evok f.e. ?
- if not - has somebody sample code that would help developing such a evok binding ? preferable in java/groovy ...
We are now in the process of developing our own binding for Neuron, though it may take some time before it is ready.
If you cannot wait any longer you have a couple of options (besides Modbus) - writing a SYSFS binding (look at the GPIO binding for inspiration), basing the binding on WebSocket (look at Loxone for inspiration) or using MQTT (can be used out of the box, but requires using a third-party MQTT-EVOK plugin, which you can find somewhere on the EVOK forum).
For the Modbus binding I would recommend looking at the Wago binding implementation, which is based on Modbus and should provide a good starting point for development.
thenoobiniser last edited by
Is there any news on the Openhab binding so far?
Alternatively, say I want to have Openhab running on a unipi neuron module, can I use Modbus TCP to communicate between the Unipi and openhab?
- both are on the same device and use the same IP adress, is this a problem for the modbus TCP?
- if not, does there need to be a router connected to the device for the modbus TCP or can the device run on itself?
Hello @thenoobiniser and welcome to our forum!
Unfortunately there are no news about the openHAB binding, but it is definitely on our todo list.
In the mean time, you can use the openHAB's Modbus binding together with our Modbus TCP server. But that requires deeper knowledge of how the Modbus works in order to not get lost in the implementation. Now to your questions:
- No, openHAB can directly run on UniPi, but the response may be slow, because it is a quite complex Java application.
- UniPi doesn't have to be connected to router and can run completely without network connection.