CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Jun 24, 2019 5:14 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Mar 01, 2017 2:31 pm 

Joined: Fri Dec 20, 2013 8:40 pm
Posts: 12
Hi All,

I've embarked on a home automation project using Codesys on my Raspberry Pi 3 and have a key question regarding access device API from my PLC program.

I've been using home automation devices for some time and currently I have a Samsung Smarthings hub with various devices connected to the hub over different protocols like: Z-Wave, Zigbee, WIFI. The hub takes status from all these devices and has a community of developers building smartapps that allows you build logic for Motion sensors, lighting, switches and so on. On its own its a very good home automation platform.

I've used Codesys in industry as part of my work as an automation engineer so essentially I want to bypass the Smarthings Application and take the device status of all my existing connected devices and build my own logic and visualization.

Doing research I have found a developer REST API that will give me access to all my Samsung Smarthings devices. It will give me access if I can make requests within my PLC program. This is something I don't have any experience with and hopefully someone can shed some light.

I'm assuming over TCP I can make these requests but to implement this in a FB in codesys, I'm not sure where to start?. I will continue my research but If anyone has any experience accessing any device API through codesys this would be great.

Thanks in advance all,

Best Regards.

PostPosted: Thu Mar 02, 2017 9:30 am 
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3323
Sounds very interesting
could you give a small overview which devices exaclty
'Samsung Smarthings hub with various devices connected to the hub' you are using?


PostPosted: Sun Dec 16, 2018 3:33 am 

Joined: Fri Feb 16, 2018 5:39 pm
Posts: 18
I am looking to do something similar. The easiest way seems to maybe be IFTTT but I'm not sure how to use that with Codesys.

I also have a professional interest since the Philips hue and Nanoleaf products would make great lighting indicators. I deal in agricultural automation so something like that would be fun and a good wow factor.

Edit: I do apologize. I haven't done much research for this beyond searching for examples of people using IFTTT with Codesys or talking about it in relation to Codesys. I haven't found anything but haven't yet looked at the technical requirements to write my own implementation, or even if that would be possible with my skills.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: No registered users and 5 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited