<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Two Way Communication]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1989&amp;type=atom" />
	<updated>2025-07-28T05:53:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1989</id>
		<entry>
			<title type="html"><![CDATA[Re: Two Way Communication]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6083#p6083" />
			<content type="html"><![CDATA[<p>There are detailed examples for the switch: <a target="_blank" href="https://remotexy.com/en/help/controls/switch/">https://remotexy.com/en/help/controls/switch/</a></p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2025-07-28T05:53:16Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6083#p6083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Two Way Communication]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6082#p6082" />
			<content type="html"><![CDATA[<p>1. Perhaps you will find the answer in this tutorial <a target="_blank" href="https://remotexy.com/en/help/code/structure/">https://remotexy.com/en/help/code/structure/</a><br />2. The operating system does not allow an inactive application to work in order to save battery. Just connect to the device at the moment you need it.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2025-07-28T05:50:54Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6082#p6082</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Two Way Communication]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6081#p6081" />
			<content type="html"><![CDATA[<p>UPDATE :</p><p>Sorry, it seems this was much simpler than expected.&nbsp; I already have a test sketch up and running with a single button/LED combo in the app side.&nbsp; I dropped the LED exactly on top of the button, with its background hidden while state = 0.&nbsp; So the button is visible in the background as a &quot;visual placeholder&quot; until the LED lights up and covers it.&nbsp; Works perfectly.</p><p>Next hurdle – I noticed that if i switch away from the app momentarily in my iPhone, it loses its connection to the ESP32.&nbsp; I have to &quot;close&quot; the connection in the app and reconnect in order to get communication working again.&nbsp; Is there a way around this ?<br />Far from being a deal breaker if the answer is no !!</p><p>Once again thanks in advance for any advice.</p>]]></content>
			<author>
				<name><![CDATA[MonkeyWrench]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=3125</uri>
			</author>
			<updated>2025-07-24T19:52:27Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6081#p6081</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Two Way Communication]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=6080#p6080" />
			<content type="html"><![CDATA[<p>I&#039;m a newbie here, &quot;trying before buying&quot; to see if your software will do what I need.&nbsp; I&#039;d appreciate any advice. </p><p>I have a hardware &quot;device&quot; up and running with an ESP32 board at its heart.<br />It&#039;s fairly simple – several touch capacitance buttons controlling a small bank of relays under the hood, to switch external 12vDC circuits on and off.&nbsp; For the next phase of the project I was hoping to introduce the RemoteXY app connecting via Bluetooth to enable remote switching of the device.&nbsp; I&#039;m hoping to have it set up so that the app would also indicate a change in on/off status, if one of the &quot;hardware&quot; buttons is toggled back at the device&#039;s control panel.</p><p>BUT – if I understand right, button/switch communication is one way only, from the app to the microcontroller ?</p><p>So I believe I have sorted out what I will need to do for programming the app – which is to set up a series of buttons or push switches with text labels alongside, and a series of corresponding indicator LEDs.</p><p>I&#039;ll program the switches to not show any visible on/off state in the app.&nbsp; The code would be written so as to NOT care about what state the app thinks the switches are in – but any switch signal from the app should toggle its corresponding relay&#039;s state at the ESP32 and in turn trigger a signal back to the app to toggle its corresponding indicator LED.</p><p>Does this all make sense and sound feasible ?&nbsp; &nbsp;Is there an easier way that I&#039;m missing?</p><p>Any feedback would be greatly appreciated !</p><p>Thanks in advance,<br />MonkeyWrench.</p><p>PS – I have already gotten a test sketch up and running on my ESP32, so app and microcontroller are both happily communicating.</p>]]></content>
			<author>
				<name><![CDATA[MonkeyWrench]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=3125</uri>
			</author>
			<updated>2025-07-24T18:12:11Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=6080#p6080</id>
		</entry>
</feed>
