Hello Morberis.
Welcome to the community. At last another codesys developer on a Smart things forum! :).
I’m currently redeveloping my entire interface with Smart things. Going down the new ST API route with my own Smart App. I’ve made some really great progress since I’ve last posted in this thread although I’ve come across a major stumbling block at the moment with subscriptions. See my posts here: Smart App Multiple Device Subscriptions.
I’m also working on a library that I hope to bring to the codesys store at some stage but I need a lot of development to make this modular for users other than just me. I will let you know when this will be ready.
My project now has become very specific to my use case over the last 2 years but regardless the key requirement is a hosted Smart App running on a server. Mine runs on a raspberry pi. This then “streams event information” using a webhook via an OPC server to my codesys/PLC application. Therefore any integration would need a connection from an internet connected server to your application. Mostly very different to the automation I work with in industry with Codesys.
To me though, codesys is the perfect environment for an automation engineer/developer to bridge the gap to home automation using the Smart things API. Below is some more functionality I’ve added over the past couple of months.
Example of Downstairs Control
Some Heating Analysis
Integrated SHM Alarm Delay/CountDown Handler
Separate Integration to Smappee Power (Polls Power/Current Every 3 minutes, Consumption every hour)