(0)| 4/6/2022 12:42 PM | |
|
Joined: 4/28/2015 Last visit: 2/25/2025 Posts: 7 Rating:
|
For those who are interested, here is the example project for controlling the Philips Hue with an S71200 in TIA V17. AttachmentHue_20220403_0953.zip (526 Downloads) |
Last edited by: Jen_Moderator at: 04/07/2022 08:13:39Text edited for better reading. |
|
This contribution was helpful to
|
|
| 3/2/2023 10:40 AM | |
|
Joined: 6/19/2013 Last visit: 3/19/2024 Posts: 3 Rating:
|
But as this project is not directly adaptable, I propose here a version where all the logic encapsulated in an FB. The names of the FB entries seem clear enough as documentation. The two sbON and sbOFF inputs are designed to be interfaced with an HMI. This sets the useful bit to 1 (sbON or sbOFF), the FB takes care of resetting it to 0. The next step would consist in retrieving the real state of the light to verify that the command has been taken into account. With the CLIP API Debugger, it's a command like: GET /api/28MhoT5QuxfnWLXbRBsjDCip0lz4PAO42thDummy/lights/26 which makes it possible to recover this state, but that does not give the exact frame of what must be sent from the PLC to obtain an answer. If someone has an idea... AttachmentZigbee.zip (467 Downloads) |
Last edited by: Jen_Moderator at: 03/03/2023 07:06:50Text formatting optimized. |
|
| 5/29/2023 9:04 PM | |
|
Joined: 6/19/2013 Last visit: 3/19/2024 Posts: 3 Rating:
|
Correction to be made on network 5 of FB1: See attachment... |
Follow us on