Hello everyone,
I am playing around with OH2 for a couple of days and by now I am very impressed with the elegance and simplicity of OH2 compared to OH1 and in general. To learn the basics I implemented two bindings for output devices which our students built.
Now I would like to implement a binding for an input device which generates lots of sensor data and sends them via UDP. My initial plan was to create a new DatagramSocket Thread, receive the data, do some mathematical magic and based on that send commands to the eventbus. Well and here is my problem: How to publish commands to the bus? In OH1 we had the concept of In, Out and InOut Bindings – how did this translate to OH2?
Hopefully the question is not to dumb and someone has a nice example :)
Jonas Sorgalla
University of Applied Science Dortmund
How to publish commands to the bus? In OH1 we had the concept of In, Out and InOut Bindings – how did this translate to OH2?
--
You received this message because you are subscribed to the Google Groups "openhab2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab2+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab2/42da60f7-d4f3-4c74-96a7-4fafc87f6ae5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.