# \#smartplug

**URL:** https://forums.digi.com/tag/smartplug/1787.md

[Latest](https://forums.digi.com/latest.md) · [Categories](https://forums.digi.com/categories.md) · [Tags](https://forums.digi.com/tags.md)

---

## [Control smartplug by DIA transforms](https://forums.digi.com/t/control-smartplug-by-dia-transforms/14884)

<div class="topic-metadata">

**Author:** [@zhen](https://forums.digi.com/u/zhen)\
**Replies:** 0\
**Last updated:** [May 26, 2015, 11:36am UTC](https://forums.digi.com/t/control-smartplug-by-dia-transforms/14884 "2015-05-26T11:36:48Z")

</div>

Hello, I set a DIA transforms, and the channel unit is boolean, expression is c\[0\] \> 25. I want to realise that control the smart plug depend on the true/false of the expression. When I run the programme, the value of…

---

## [Run programme on smartplug](https://forums.digi.com/t/run-programme-on-smartplug/14818)

<div class="topic-metadata">

**Author:** [@zhen](https://forums.digi.com/u/zhen)\
**Replies:** 1\
**Last updated:** [May 6, 2015, 10:49am UTC](https://forums.digi.com/t/run-programme-on-smartplug/14818 "2015-05-06T10:49:30Z")

</div>

Hi, I found the demo of smartplug: http://www.digi.com/wiki/developer/index.php/Smart\_Plug\_and\_iDigi\_Demo and I upload it to gateway net interface, the part “File management”, and the part “Python”. But the light “Acti…

---

## [How to call the gateway by java, not from cloud?](https://forums.digi.com/t/how-to-call-the-gateway-by-java-not-from-cloud/13863)

<div class="topic-metadata">

**Author:** [@zhuang3](https://forums.digi.com/u/zhuang3)\
**Replies:** 1\
**Last updated:** [November 4, 2014, 10:44am UTC](https://forums.digi.com/t/how-to-call-the-gateway-by-java-not-from-cloud/13863 "2014-11-04T10:44:29Z")

</div>

I have Digi X4 Ethernet gateway(wifi) with smartplug and sensor. Is there a way to call the gatway using java? Not using the Digi cloud and ESP? Cause I want to write a program is that "depends on the level of brightne…
