Hi,
At home I have an elder PLC (Moeller PS4 - ± 20 years old )
The PLC is controlling all lights, hot water boiler, … and the entire house is foreseen with push buttons.
As I already have this splendid system, it would be a pity if I couldn’t integrate it with openhab.
The PLC itself communicates with RS232, but there is an DLL file so you can communicate to excel, …
I have bought a second one to experiment and I already was able to access, read and write in Excel Merker Values to and from the PLC using VBA.
I can write in VBA and, as Java is not very much different then Visual Basic, I think I can manage Java also.
Currently I have already a (very basic) project working with openhab and my intentions are to run it on a Windows PC which I also will use as a multimedia server.
To continue with my OpenHab project (view which lights are on, …), I need to find a way to read the data of the PLC in OpenHab (through the DLL-file). Would anybody have any idea what would be the best solution?
If desired, I can upload tonight a part of the VBA script (but can’t upload yet any file as a new member of Openhab )
Kind regards,
Bastn