I have openhab2 in connection with a philips hue system and alexa already successfully in the employment. The remaining part of my house I have connected via a Beckhoff CX9020 and various BUS systems.
I have after ample research now the question which is the best way to connect OpenHab2 with the Beckhoff world.
1.) Is there an interface between (officially not, possibly trick) OPC UA and OpenHab2?
2.) I have the idea to use Enocean-USB for OpenHab2 world with Enocean interface on the PLC-Beckhoff.
I don’t know of an interface between OPC UA and OH2, though I agree that would be pretty easy.
However, I can say as a Beckhoff employee that if you don’t mind waiting just a little while (like a month or two) we will be releasing our IOT communicator package which will include MQTT as a protocol. Then you could use Mosquitto as the server and use the MQTT binding on OH2 to pub/sub and do the same on the Beckhoff side.
The IOT package will be available for TC3 if that’s what you’re using and will be compatible with the CX9020 you’re using.
Just a thought on another way you could accomplish that. Since I started working with OH I’ve been looking for a way to interface these two as well.
therefore i create a new topic:
"Hello OH Community,
your idea looks interesting.
Do you have any updates regarding this topic?
I have more or less the same setup (Beckhoff CX) and I’m looking ways to interact with it.
I’m currently working with a jQuery mobile side as visualisation.
Thanks in advance!
The communication between the Web Server and the CX works smooth and really comfortable because the tame4 can read and write all kinds of variables based on their names.
Now I have been fallen in love with OH2 and yes I’d like to support whatever it takes to get an good solution for OH2 with CX on TC2.