<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Device API Access from Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cc41e21631/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cc41e21631/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/cc41e21631/</id><updated>2020-02-27T16:26:31.634000Z</updated><subtitle>Recent posts to Device API Access from Codesys</subtitle><entry><title>Device API Access from Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cc41e21631/?limit=25#1b44" rel="alternate"/><published>2020-02-27T16:26:31.634000Z</published><updated>2020-02-27T16:26:31.634000Z</updated><author><name>RoryLDM</name><uri>https://forge.codesys.com/u/roryldm/</uri></author><id>https://forge.codesys.com0aa50685799c673e002829bcb7eed709469e16b6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: 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.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Device API Access from Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cc41e21631/?limit=25#b755" rel="alternate"/><published>2020-02-27T16:26:30.690000Z</published><updated>2020-02-27T16:26:30.690000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.coma515e76b27a7779b05883d03a1df9e0e08837930</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Sounds very interesting&lt;br/&gt;
could you give a small overview which devices exaclty&lt;br/&gt;
'Samsung Smarthings hub with various devices connected to the hub' you are using?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Device API Access from Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/cc41e21631/?limit=25#b4a8" rel="alternate"/><published>2020-02-27T16:26:28.189000Z</published><updated>2020-02-27T16:26:28.189000Z</updated><author><name>Araforn</name><uri>https://forge.codesys.com/u/araforn/</uri></author><id>https://forge.codesys.coma2856ea716ea374d36cdfe51ebb90c6ec187ee25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Thanks in advance all,&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>