# PoC using the Smart Agriculture demo

**URL:** https://community.cumulocity.com/t/poc-using-the-smart-agriculture-demo/3616
**Category:** Forum
**Tags:** cumulocity
**Created:** [September 21, 2023, 11:32am UTC](https://community.cumulocity.com/t/poc-using-the-smart-agriculture-demo/3616 "2023-09-21T11:32:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Nadia\_Rusenova](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/nadia_rusenova/32/31959_2.png) [@Nadia\_Rusenova](https://community.cumulocity.com/u/Nadia_Rusenova)
#### Post date: [September 21, 2023, 11:32am UTC](https://community.cumulocity.com/t/poc-using-the-smart-agriculture-demo/3616/1 "2023-09-21T11:32:10Z")

</div>

I am posting a question from a free trial user in Cumulocity IoT (Smart Agriculture Demo) PoC using the Smart Agriculture demo

#### _ **Product/components** used and **version/fix** level:_

Smart Agriculture demo

#### _Detailed explanation of the problem:_

I am trying to make a PoC using the Smart Agriculture demo. I have added a device called relayControl20 using Postman which contains the c8y\_Relay operation. How can I do the Greenhouse Zone 1 animation trigger when the relay is opened and its description will “Greenhouse Zone 1 - watering”? And when the relay is closed the description will be " Greenhouse Zone 1 - watering is off". Can you help me?

#### _Error messages / **full error** message screenshot / **log** file:_

#### _Question related to a **free trial** , or to a **production (customer)** instance?_

free trial

---

<div class="post-metadata">

### Author: ![Darpankumar\_Lalani](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@Darpankumar\_Lalani](https://community.cumulocity.com/u/Darpankumar_Lalani)
#### Post date: [September 22, 2023, 5:38am UTC](https://community.cumulocity.com/t/poc-using-the-smart-agriculture-demo/3616/2 "2023-09-22T05:38:47Z")

</div>

Hi,

In Smart Agriculture demo, Image animation widget is used for animation. This widget supports events to trigger animation. At this moment, operations are not supported by this widget.

I would suggest, to use events instead of operations. Alternatively, customize this widget to support operations for tailored use cases.  
Source code of this widget is available [here](https://github.com/Cumulocity-IoT/cumulocity-image-animation-widget-plugin)

---

<div class="post-metadata">

### Author: ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)
#### Post date: [March 20, 2024, 5:39am UTC](https://community.cumulocity.com/t/poc-using-the-smart-agriculture-demo/3616/3 "2024-03-20T05:39:13Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
