<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — changing state of switch programmatically]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=628</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=628&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in changing state of switch programmatically.]]></description>
		<lastBuildDate>Thu, 27 Dec 2018 03:19:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: changing state of switch programmatically]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1939#p1939</link>
			<description><![CDATA[<p>You have encountered &quot;the wall&quot;, in that all of the RemoteXY controls are <strong>one-way only</strong>, they simply write values to your controller, and do not update their values or visual indications if they are changed from another source.</p><p>That&#039;s the way it is, and we have to live with it, unless the developer can make it bi-directional.....</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Thu, 27 Dec 2018 03:19:01 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1939#p1939</guid>
		</item>
		<item>
			<title><![CDATA[changing state of switch programmatically]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1938#p1938</link>
			<description><![CDATA[<p>Hi,</p><p>i am trying to use remote xy together with a node red home automation installation witch works pretty well in general. I have a quit simple test configuration containing a switch and a led (remotexy) and a switch (node-red). The both switches should control the same tp-link hs100 smart plug, which is generally working from both sides (remotexy and node-red). My &quot;problem&quot; is, that the node-red switch is not everytime aware of the current state of the smart plug.</p><p>if i toogle the remotexy switch from my android phone, the remotexy switch of course changes its state and i get the signal within node red and can manipulte the node red switch which than manipulates the remotexy led and the smart plug - everything is fine.</p><p>but, if i toggle the node red switch, the &quot;signal&quot; is transfered to the smart plug and even to the remotexy led - this works pretty well, except that the remotexy switch doesnt takes notice the state of the smart plug (and the node red switch) has changed. I have not found a possibility to manipulate an input variable of remotexy from within node red (which makes sence in general for me). This way the remotexy switch is not &quot;aware&quot; of the current state of the smart plug.</p><p>My question is how can I take care of the remotexy switch current state is corrsponding to the smart plugs current state. As the remotexy led has the correct state I could programmatically take care of the remotexy switch state within &quot;loop ()&quot; but i dont know how it is possile to set the current state of the switch within remotexy. I havent found an example, maybe someone could point me to the specific docs or show me an example.</p><p>thanks in advance</p><p>Michael</p>]]></description>
			<author><![CDATA[null@example.com (mxwx)]]></author>
			<pubDate>Wed, 26 Dec 2018 22:20:54 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1938#p1938</guid>
		</item>
	</channel>
</rss>
