<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Smart Home Automation Forum - KC868-A4S]]></title>
		<link>https://www.kincony.com/forum/</link>
		<description><![CDATA[Smart Home Automation Forum - https://www.kincony.com/forum]]></description>
		<pubDate>Wed, 15 Apr 2026 02:35:33 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Sim7600E kc868_A4S GSM SIM Internet Is not working - 4G and 3G Enabled]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=8035</link>
			<pubDate>Thu, 01 May 2025 18:04:07 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=8281">venuakil2</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=8035</guid>
			<description><![CDATA[<span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #000000;" class="mycode_color">Hi, I am Sim7600E kc868_A4S Model to call website URL after Internet activation. </span></span><br />
<br />
<span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #000000;" class="mycode_color">SIM Yellow Light is blinking. </span></span><br />
<br />
<span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #000000;" class="mycode_color">SIM call and SMS are working. But, Internet is not working. I have changed SIM Provider APN details</span></span><br />
<br />
<br />
<span style="color: #dae3e3;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #c586c0;" class="mycode_color">#include</span> <span style="color: #7fcbcd;" class="mycode_color">&lt;HardwareSerial.h&gt;</span><br />
<span style="color: #7f8c8d;" class="mycode_color">// Define SIM7600 UART</span><br />
<span style="color: #c586c0;" class="mycode_color">#define</span> <span style="color: #f39c12;" class="mycode_color">MODEM_RX</span> <span style="color: #7fcbcd;" class="mycode_color">13</span><span style="color: #7f8c8d;" class="mycode_color">   // Connect to SIM7600 TX</span><br />
<span style="color: #c586c0;" class="mycode_color">#define</span> <span style="color: #f39c12;" class="mycode_color">MODEM_TX</span> <span style="color: #7fcbcd;" class="mycode_color">15</span><span style="color: #7f8c8d;" class="mycode_color">   // Connect to SIM7600 RX</span><br />
HardwareSerial <span style="color: #f39c12;" class="mycode_color">sim7600</span>(<span style="color: #7fcbcd;" class="mycode_color">1</span>);<span style="color: #7f8c8d;" class="mycode_color">  // Use UART1</span><br />
<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char</span>* APN = <span style="color: #7fcbcd;" class="mycode_color">"du"</span>;<span style="color: #7f8c8d;" class="mycode_color">    // Set your network APN</span><br />
<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char</span>* USER = <span style="color: #7fcbcd;" class="mycode_color">""</span>;<span style="color: #7f8c8d;" class="mycode_color">     // Usually blank</span><br />
<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char</span>* PASS = <span style="color: #7fcbcd;" class="mycode_color">""</span>;<span style="color: #7f8c8d;" class="mycode_color">     // Usually blank</span><br />
<span style="color: #0ca1a6;" class="mycode_color">void</span> <span style="color: #f39c12;" class="mycode_color">setup</span>() {<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">begin</span>(<span style="color: #7fcbcd;" class="mycode_color">115200</span>);<span style="color: #7f8c8d;" class="mycode_color">           // USB serial</span><br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">begin</span>(<span style="color: #7fcbcd;" class="mycode_color">115200</span>, SERIAL_8N1, MODEM_RX, MODEM_TX);<span style="color: #7f8c8d;" class="mycode_color"> // UART1</span><br />
  <span style="color: #f39c12;" class="mycode_color">delay</span>(<span style="color: #7fcbcd;" class="mycode_color">5000</span>);<span style="color: #7f8c8d;" class="mycode_color">  // Give time to power up</span><br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Initializing SIM7600..."</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Disable echo for clean output</span><br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"ATE0"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">1000</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Basic check</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">retryCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">2000</span>, <span style="color: #7fcbcd;" class="mycode_color">3</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"SIM7600 not responding!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // SIM card check</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CPIN?"</span>, <span style="color: #7fcbcd;" class="mycode_color">"READY"</span>, <span style="color: #7fcbcd;" class="mycode_color">2000</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"SIM Card not ready!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Set LTE-only mode</span><br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CNMP=38"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">3000</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CMNB=1"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">3000</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Set APN</span><br />
  String apnCmd = <span style="color: #7fcbcd;" class="mycode_color">"AT+CGDCONT=1,\"IP\",\""</span> + <span style="color: #f39c12;" class="mycode_color">String</span>(APN) + <span style="color: #7fcbcd;" class="mycode_color">"\""</span>;<br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #f39c12;" class="mycode_color">apnCmd</span>.<span style="color: #f39c12;" class="mycode_color">c_str</span>(), <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">3000</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Attach to network</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CGATT=1"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">10000</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Failed to attach to network!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Activate PDP</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CGACT=1,1"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">10000</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Failed to activate PDP!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Show IP</span><br />
  <span style="color: #f39c12;" class="mycode_color">printIPAddress</span>();<br />
}<br />
<span style="color: #0ca1a6;" class="mycode_color">void</span> <span style="color: #f39c12;" class="mycode_color">loop</span>() {<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Optional: monitor SIM7600 data or implement HTTP</span><br />
}<br />
<span style="color: #7f8c8d;" class="mycode_color">// ========== AT COMMAND HELPERS ==========</span><br />
<span style="color: #0ca1a6;" class="mycode_color">bool</span> <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> cmd, <span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> expected, <span style="color: #0ca1a6;" class="mycode_color">uint32_t</span> timeout) {<br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">flush</span>();<br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(cmd);<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">print</span>(<span style="color: #7fcbcd;" class="mycode_color">"&gt;&gt; "</span>); <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(cmd);<br />
  <span style="color: #0ca1a6;" class="mycode_color">uint32_t</span> start = <span style="color: #f39c12;" class="mycode_color">millis</span>();<br />
  String response;<br />
  <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #f39c12;" class="mycode_color">millis</span>() - start &lt; timeout) {<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">available</span>()) {<br />
      <span style="color: #0ca1a6;" class="mycode_color">char</span> c = <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">read</span>();<br />
      <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">write</span>&copy;;<br />
      response += c;<br />
      <span style="color: #c586c0;" class="mycode_color">if</span> (<span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">indexOf</span>(expected) != -<span style="color: #7fcbcd;" class="mycode_color">1</span>) {<br />
        <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">true</span>;<br />
      }<br />
    }<br />
  }<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"\n!! Timeout or Unexpected response:"</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(response);<br />
  <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">false</span>;<br />
}<br />
<span style="color: #0ca1a6;" class="mycode_color">bool</span> <span style="color: #f39c12;" class="mycode_color">retryCommand</span>(<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> cmd, <span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> expected, <span style="color: #0ca1a6;" class="mycode_color">uint32_t</span> timeout, <span style="color: #0ca1a6;" class="mycode_color">int</span> retries) {<br />
  <span style="color: #c586c0;" class="mycode_color">for</span> (<span style="color: #0ca1a6;" class="mycode_color">int</span> i = <span style="color: #7fcbcd;" class="mycode_color">0</span>; i &lt; retries; i++) {<br />
    <span style="color: #c586c0;" class="mycode_color">if</span> (<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(cmd, expected, timeout)) <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">true</span>;<br />
    <span style="color: #f39c12;" class="mycode_color">delay</span>(<span style="color: #7fcbcd;" class="mycode_color">1000</span>);<br />
  }<br />
  <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">false</span>;<br />
}<br />
<span style="color: #0ca1a6;" class="mycode_color">void</span> <span style="color: #f39c12;" class="mycode_color">printIPAddress</span>() {<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Checking IP with AT+CGPADDR=1..."</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CGPADDR=1"</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">delay</span>(<span style="color: #7fcbcd;" class="mycode_color">1000</span>);<br />
  String response;<br />
  <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">available</span>()) {<br />
    <span style="color: #0ca1a6;" class="mycode_color">char</span> c = <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">read</span>();<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">write</span>&copy;;<br />
    response += c;<br />
  }<br />
  <span style="color: #0ca1a6;" class="mycode_color">int</span> ipStart = <span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">indexOf</span>(<span style="color: #7fcbcd;" class="mycode_color">",\""</span>) + <span style="color: #7fcbcd;" class="mycode_color">2</span>;<br />
  <span style="color: #0ca1a6;" class="mycode_color">int</span> ipEnd = <span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">indexOf</span>(<span style="color: #7fcbcd;" class="mycode_color">"\""</span>, ipStart);<br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (ipStart &gt; <span style="color: #7fcbcd;" class="mycode_color">1</span> &amp;&amp; ipEnd &gt; ipStart) {<br />
    String ip = <span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">substring</span>(ipStart, ipEnd);<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">print</span>(<span style="color: #7fcbcd;" class="mycode_color">"Assigned IP: "</span>);<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(ip);<br />
  } <span style="color: #c586c0;" class="mycode_color">else</span> {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"No IP Address Assigned"</span>);<br />
  }<br />
}</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="font-weight: bold;" class="mycode_b">OutPut</span>  </span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">13:57:40.249 -&gt; &gt;&gt; AT</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">13:57:42.215 -&gt; !! Timeout or Unexpected response:</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">13:57:49.212 -&gt; SIM7600 not responding!</span></span><br />
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Note : SIM calling is working </span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Note 2: SIM SMS are working.</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Only Internet is not activated. I have to call website URL after Internet connected. </span></span><br />
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPEG Image" border="0" alt=".jpeg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=7607" target="_blank" title="">WhatsApp Image 2025-05-01 at 2.02.43 PM.jpeg</a> (Size: 730.27 KB / Downloads: 591)
<!-- end: postbit_attachments_attachment --> </span></span>]]></description>
			<content:encoded><![CDATA[<span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #000000;" class="mycode_color">Hi, I am Sim7600E kc868_A4S Model to call website URL after Internet activation. </span></span><br />
<br />
<span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #000000;" class="mycode_color">SIM Yellow Light is blinking. </span></span><br />
<br />
<span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #000000;" class="mycode_color">SIM call and SMS are working. But, Internet is not working. I have changed SIM Provider APN details</span></span><br />
<br />
<br />
<span style="color: #dae3e3;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #c586c0;" class="mycode_color">#include</span> <span style="color: #7fcbcd;" class="mycode_color">&lt;HardwareSerial.h&gt;</span><br />
<span style="color: #7f8c8d;" class="mycode_color">// Define SIM7600 UART</span><br />
<span style="color: #c586c0;" class="mycode_color">#define</span> <span style="color: #f39c12;" class="mycode_color">MODEM_RX</span> <span style="color: #7fcbcd;" class="mycode_color">13</span><span style="color: #7f8c8d;" class="mycode_color">   // Connect to SIM7600 TX</span><br />
<span style="color: #c586c0;" class="mycode_color">#define</span> <span style="color: #f39c12;" class="mycode_color">MODEM_TX</span> <span style="color: #7fcbcd;" class="mycode_color">15</span><span style="color: #7f8c8d;" class="mycode_color">   // Connect to SIM7600 RX</span><br />
HardwareSerial <span style="color: #f39c12;" class="mycode_color">sim7600</span>(<span style="color: #7fcbcd;" class="mycode_color">1</span>);<span style="color: #7f8c8d;" class="mycode_color">  // Use UART1</span><br />
<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char</span>* APN = <span style="color: #7fcbcd;" class="mycode_color">"du"</span>;<span style="color: #7f8c8d;" class="mycode_color">    // Set your network APN</span><br />
<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char</span>* USER = <span style="color: #7fcbcd;" class="mycode_color">""</span>;<span style="color: #7f8c8d;" class="mycode_color">     // Usually blank</span><br />
<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char</span>* PASS = <span style="color: #7fcbcd;" class="mycode_color">""</span>;<span style="color: #7f8c8d;" class="mycode_color">     // Usually blank</span><br />
<span style="color: #0ca1a6;" class="mycode_color">void</span> <span style="color: #f39c12;" class="mycode_color">setup</span>() {<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">begin</span>(<span style="color: #7fcbcd;" class="mycode_color">115200</span>);<span style="color: #7f8c8d;" class="mycode_color">           // USB serial</span><br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">begin</span>(<span style="color: #7fcbcd;" class="mycode_color">115200</span>, SERIAL_8N1, MODEM_RX, MODEM_TX);<span style="color: #7f8c8d;" class="mycode_color"> // UART1</span><br />
  <span style="color: #f39c12;" class="mycode_color">delay</span>(<span style="color: #7fcbcd;" class="mycode_color">5000</span>);<span style="color: #7f8c8d;" class="mycode_color">  // Give time to power up</span><br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Initializing SIM7600..."</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Disable echo for clean output</span><br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"ATE0"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">1000</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Basic check</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">retryCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">2000</span>, <span style="color: #7fcbcd;" class="mycode_color">3</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"SIM7600 not responding!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // SIM card check</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CPIN?"</span>, <span style="color: #7fcbcd;" class="mycode_color">"READY"</span>, <span style="color: #7fcbcd;" class="mycode_color">2000</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"SIM Card not ready!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Set LTE-only mode</span><br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CNMP=38"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">3000</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CMNB=1"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">3000</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Set APN</span><br />
  String apnCmd = <span style="color: #7fcbcd;" class="mycode_color">"AT+CGDCONT=1,\"IP\",\""</span> + <span style="color: #f39c12;" class="mycode_color">String</span>(APN) + <span style="color: #7fcbcd;" class="mycode_color">"\""</span>;<br />
  <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #f39c12;" class="mycode_color">apnCmd</span>.<span style="color: #f39c12;" class="mycode_color">c_str</span>(), <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">3000</span>);<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Attach to network</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CGATT=1"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">10000</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Failed to attach to network!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Activate PDP</span><br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (!<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CGACT=1,1"</span>, <span style="color: #7fcbcd;" class="mycode_color">"OK"</span>, <span style="color: #7fcbcd;" class="mycode_color">10000</span>)) {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Failed to activate PDP!"</span>);<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #7fcbcd;" class="mycode_color">1</span>);<br />
  }<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Show IP</span><br />
  <span style="color: #f39c12;" class="mycode_color">printIPAddress</span>();<br />
}<br />
<span style="color: #0ca1a6;" class="mycode_color">void</span> <span style="color: #f39c12;" class="mycode_color">loop</span>() {<br />
<span style="color: #7f8c8d;" class="mycode_color">  // Optional: monitor SIM7600 data or implement HTTP</span><br />
}<br />
<span style="color: #7f8c8d;" class="mycode_color">// ========== AT COMMAND HELPERS ==========</span><br />
<span style="color: #0ca1a6;" class="mycode_color">bool</span> <span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> cmd, <span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> expected, <span style="color: #0ca1a6;" class="mycode_color">uint32_t</span> timeout) {<br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">flush</span>();<br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(cmd);<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">print</span>(<span style="color: #7fcbcd;" class="mycode_color">"&gt;&gt; "</span>); <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(cmd);<br />
  <span style="color: #0ca1a6;" class="mycode_color">uint32_t</span> start = <span style="color: #f39c12;" class="mycode_color">millis</span>();<br />
  String response;<br />
  <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #f39c12;" class="mycode_color">millis</span>() - start &lt; timeout) {<br />
    <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">available</span>()) {<br />
      <span style="color: #0ca1a6;" class="mycode_color">char</span> c = <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">read</span>();<br />
      <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">write</span>&copy;;<br />
      response += c;<br />
      <span style="color: #c586c0;" class="mycode_color">if</span> (<span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">indexOf</span>(expected) != -<span style="color: #7fcbcd;" class="mycode_color">1</span>) {<br />
        <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">true</span>;<br />
      }<br />
    }<br />
  }<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"\n!! Timeout or Unexpected response:"</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(response);<br />
  <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">false</span>;<br />
}<br />
<span style="color: #0ca1a6;" class="mycode_color">bool</span> <span style="color: #f39c12;" class="mycode_color">retryCommand</span>(<span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> cmd, <span style="color: #0ca1a6;" class="mycode_color">const</span> <span style="color: #0ca1a6;" class="mycode_color">char*</span> expected, <span style="color: #0ca1a6;" class="mycode_color">uint32_t</span> timeout, <span style="color: #0ca1a6;" class="mycode_color">int</span> retries) {<br />
  <span style="color: #c586c0;" class="mycode_color">for</span> (<span style="color: #0ca1a6;" class="mycode_color">int</span> i = <span style="color: #7fcbcd;" class="mycode_color">0</span>; i &lt; retries; i++) {<br />
    <span style="color: #c586c0;" class="mycode_color">if</span> (<span style="color: #f39c12;" class="mycode_color">sendATCommand</span>(cmd, expected, timeout)) <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">true</span>;<br />
    <span style="color: #f39c12;" class="mycode_color">delay</span>(<span style="color: #7fcbcd;" class="mycode_color">1000</span>);<br />
  }<br />
  <span style="color: #c586c0;" class="mycode_color">return</span> <span style="color: #7fcbcd;" class="mycode_color">false</span>;<br />
}<br />
<span style="color: #0ca1a6;" class="mycode_color">void</span> <span style="color: #f39c12;" class="mycode_color">printIPAddress</span>() {<br />
  <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"Checking IP with AT+CGPADDR=1..."</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"AT+CGPADDR=1"</span>);<br />
  <span style="color: #f39c12;" class="mycode_color">delay</span>(<span style="color: #7fcbcd;" class="mycode_color">1000</span>);<br />
  String response;<br />
  <span style="color: #c586c0;" class="mycode_color">while</span> (<span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">available</span>()) {<br />
    <span style="color: #0ca1a6;" class="mycode_color">char</span> c = <span style="color: #f39c12;" class="mycode_color">sim7600</span>.<span style="color: #f39c12;" class="mycode_color">read</span>();<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">write</span>&copy;;<br />
    response += c;<br />
  }<br />
  <span style="color: #0ca1a6;" class="mycode_color">int</span> ipStart = <span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">indexOf</span>(<span style="color: #7fcbcd;" class="mycode_color">",\""</span>) + <span style="color: #7fcbcd;" class="mycode_color">2</span>;<br />
  <span style="color: #0ca1a6;" class="mycode_color">int</span> ipEnd = <span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">indexOf</span>(<span style="color: #7fcbcd;" class="mycode_color">"\""</span>, ipStart);<br />
  <span style="color: #c586c0;" class="mycode_color">if</span> (ipStart &gt; <span style="color: #7fcbcd;" class="mycode_color">1</span> &amp;&amp; ipEnd &gt; ipStart) {<br />
    String ip = <span style="color: #f39c12;" class="mycode_color">response</span>.<span style="color: #f39c12;" class="mycode_color">substring</span>(ipStart, ipEnd);<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">print</span>(<span style="color: #7fcbcd;" class="mycode_color">"Assigned IP: "</span>);<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(ip);<br />
  } <span style="color: #c586c0;" class="mycode_color">else</span> {<br />
    <span style="color: #f39c12;" class="mycode_color">Serial</span>.<span style="color: #f39c12;" class="mycode_color">println</span>(<span style="color: #7fcbcd;" class="mycode_color">"No IP Address Assigned"</span>);<br />
  }<br />
}</span></span><br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="font-weight: bold;" class="mycode_b">OutPut</span>  </span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">13:57:40.249 -&gt; &gt;&gt; AT</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">13:57:42.215 -&gt; !! Timeout or Unexpected response:</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">13:57:49.212 -&gt; SIM7600 not responding!</span></span><br />
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Note : SIM calling is working </span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Note 2: SIM SMS are working.</span></span><br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Only Internet is not activated. I have to call website URL after Internet connected. </span></span><br />
<br />
<br />
<span style="color: #000000;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPEG Image" border="0" alt=".jpeg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=7607" target="_blank" title="">WhatsApp Image 2025-05-01 at 2.02.43 PM.jpeg</a> (Size: 730.27 KB / Downloads: 591)
<!-- end: postbit_attachments_attachment --> </span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Additional GPIO]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7778</link>
			<pubDate>Tue, 11 Mar 2025 10:45:53 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=911">Amaral989</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7778</guid>
			<description><![CDATA[Hello, <br />
<br />
I have two questions. <br />
First question, I have damaged the GPIO1 by having to many volts. It probably reached 7-8 volts. I'm using GPIO 1 and GPIO 2 as pulse counters. GPIO1 stopped working and will not read any more pulses. GPIO 2 still works. <br />
<br />
Are there any additional GPIO that I can use for pulse counting. I'm not using Wi-Fi, 485, or SIM module. If it's possible, where are the additional GPIOs located? And will be using a voltage divider to drop voltage down to 1 volt.<br />
<br />
Second question, for the digital inputs. I was hoping it would trigger with 12volts. But it seems it will only trigger with ground. The reasoning is that i am using this in a camper van and I get 12-14volt DC as trigger. But it doesnt trigger, only with ground. <br />
<br />
<br />
Thanks again, <br />
John A]]></description>
			<content:encoded><![CDATA[Hello, <br />
<br />
I have two questions. <br />
First question, I have damaged the GPIO1 by having to many volts. It probably reached 7-8 volts. I'm using GPIO 1 and GPIO 2 as pulse counters. GPIO1 stopped working and will not read any more pulses. GPIO 2 still works. <br />
<br />
Are there any additional GPIO that I can use for pulse counting. I'm not using Wi-Fi, 485, or SIM module. If it's possible, where are the additional GPIOs located? And will be using a voltage divider to drop voltage down to 1 volt.<br />
<br />
Second question, for the digital inputs. I was hoping it would trigger with 12volts. But it seems it will only trigger with ground. The reasoning is that i am using this in a camper van and I get 12-14volt DC as trigger. But it doesnt trigger, only with ground. <br />
<br />
<br />
Thanks again, <br />
John A]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to connect NTC 10K TO INA ?]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7436</link>
			<pubDate>Wed, 22 Jan 2025 19:43:31 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1271">land88</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7436</guid>
			<description><![CDATA[Hi,<br />
<br />
Do you have a scheme to explain how to connect a NTC Thermistor sensor B3950 10K to a KC868 S series (the wire and if something else is necessary to add) ?<br />
<br />
thanks.]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
Do you have a scheme to explain how to connect a NTC Thermistor sensor B3950 10K to a KC868 S series (the wire and if something else is necessary to add) ?<br />
<br />
thanks.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Check about connections]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7217</link>
			<pubDate>Fri, 13 Dec 2024 02:16:59 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=3577">Bergoglio</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7217</guid>
			<description><![CDATA[Good afternoon,<br />
<br />
I want to control 2 different devices fans with 0-10v capabilities of one KC868-A4S but I'm not sure about wiring.<br />
<br />
For the first fan from AFL Motors (file 122) these are the connections that I plan :<br />
 - 0-10 VDC yellow on fan with AO1 on KC868-A4S<br />
 - GND blue on fan with GND after AO1 on KC868-A4S<br />
<br />
for the second fan from Aermec (file 22) these are the connections that I plan :<br />
 - 0-10V IN V2 blue on Aermec with AO2 on KC868-A4S<br />
 - 0V V1 grey on Aermec with GND after AO1 on KC868-A4S<br />
<br />
Am I right or wrong ? If I'm wrong, what are the right connections ?<br />
<br />
Thanks<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6663" target="_blank" title="">122.pdf</a> (Size: 122.57 KB / Downloads: 479)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6664" target="_blank" title="">22.pdf</a> (Size: 226.52 KB / Downloads: 443)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Good afternoon,<br />
<br />
I want to control 2 different devices fans with 0-10v capabilities of one KC868-A4S but I'm not sure about wiring.<br />
<br />
For the first fan from AFL Motors (file 122) these are the connections that I plan :<br />
 - 0-10 VDC yellow on fan with AO1 on KC868-A4S<br />
 - GND blue on fan with GND after AO1 on KC868-A4S<br />
<br />
for the second fan from Aermec (file 22) these are the connections that I plan :<br />
 - 0-10V IN V2 blue on Aermec with AO2 on KC868-A4S<br />
 - 0V V1 grey on Aermec with GND after AO1 on KC868-A4S<br />
<br />
Am I right or wrong ? If I'm wrong, what are the right connections ?<br />
<br />
Thanks<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6663" target="_blank" title="">122.pdf</a> (Size: 122.57 KB / Downloads: 479)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6664" target="_blank" title="">22.pdf</a> (Size: 226.52 KB / Downloads: 443)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A4S for heating controll]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=7124</link>
			<pubDate>Wed, 27 Nov 2024 21:05:12 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=6606">tadam</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=7124</guid>
			<description><![CDATA[Hello there,<br />
<br />
I am looking for confirmation before purchase that I can use this board as I plannig to. <img src="https://www.kincony.com/forum/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
So my plan is to use this board for central heating management. I attached a picture how does the setup looks so far.<br />
I will use Home assistant and esphome.<br />
As you can see I have <br />
- 4 24V AC valve.<br />
- 5 temperature sensor (ds18B20)<br />
- analog pressure sensor (SEN0257)<br />
- leak sensor (just a basic contact sensor)<br />
- opentherm adapter (<a href="https://ihormelnyk.com/opentherm_adapter" target="_blank" rel="noopener" class="mycode_url">this one</a>)<br />
- for network connection I will use ethernet<br />
<br />
Do I need an additonal power supply (9-24V DC) to power my board? Or it can be power from 5V?<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4x 24V AC valve:</span> This is easy, They can go to the 4 relay. I think I will use the normaly closed terminals, in case of a board issue, the heating should not be affected. There is a separate 24V AC power supply, which only responsible for powering these valves.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">5 temperature sensor (ds18B20)</span>: As far as I know these sensors has uniq id and can use the same pin, with one wire protocol. I can use the 3.3V output and ground from the board, and GPIO01 for the onewire.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">analog pressure sensor (SEN0257): </span>This sensor needs 5V can I get 5V out of this board? The output of this sensor is analog, so I can use AI1 for that.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">leak sensor:</span> This is just a digital sensor this is trivial too, it can go DI1 and ground.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">opentherm adapter: </span>This board need 3.3V, this I can get from the board. But also needs 2 free IO. Is there an IO I can repurpose in this case? There is only one free "bare" gpio left which is this case GPIO2. All other looks like has a special purpose.<br />
<br />
I am really excited for this project and looking forward for responses. Thanks in advance.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6514" target="_blank" title="">IMG_7962.jpg</a> (Size: 1.37 MB / Downloads: 607)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello there,<br />
<br />
I am looking for confirmation before purchase that I can use this board as I plannig to. <img src="https://www.kincony.com/forum/images/smilies/smile.png" alt="Smile" title="Smile" class="smilie smilie_1" /><br />
So my plan is to use this board for central heating management. I attached a picture how does the setup looks so far.<br />
I will use Home assistant and esphome.<br />
As you can see I have <br />
- 4 24V AC valve.<br />
- 5 temperature sensor (ds18B20)<br />
- analog pressure sensor (SEN0257)<br />
- leak sensor (just a basic contact sensor)<br />
- opentherm adapter (<a href="https://ihormelnyk.com/opentherm_adapter" target="_blank" rel="noopener" class="mycode_url">this one</a>)<br />
- for network connection I will use ethernet<br />
<br />
Do I need an additonal power supply (9-24V DC) to power my board? Or it can be power from 5V?<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4x 24V AC valve:</span> This is easy, They can go to the 4 relay. I think I will use the normaly closed terminals, in case of a board issue, the heating should not be affected. There is a separate 24V AC power supply, which only responsible for powering these valves.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">5 temperature sensor (ds18B20)</span>: As far as I know these sensors has uniq id and can use the same pin, with one wire protocol. I can use the 3.3V output and ground from the board, and GPIO01 for the onewire.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">analog pressure sensor (SEN0257): </span>This sensor needs 5V can I get 5V out of this board? The output of this sensor is analog, so I can use AI1 for that.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">leak sensor:</span> This is just a digital sensor this is trivial too, it can go DI1 and ground.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">opentherm adapter: </span>This board need 3.3V, this I can get from the board. But also needs 2 free IO. Is there an IO I can repurpose in this case? There is only one free "bare" gpio left which is this case GPIO2. All other looks like has a special purpose.<br />
<br />
I am really excited for this project and looking forward for responses. Thanks in advance.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=6514" target="_blank" title="">IMG_7962.jpg</a> (Size: 1.37 MB / Downloads: 607)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Issue with Device Connectivity – KC868-A4S Relay Controller]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6941</link>
			<pubDate>Tue, 29 Oct 2024 14:14:53 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=6314">Bhumijo</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6941</guid>
			<description><![CDATA[So far, I've completed this part. Here’s the link, but it’s still not working: <a href="https://drive.google.com/drive/u/0/folders/1oq3e64U2wA8Ur0m-rbMevxfkXOvyVZ7J" target="_blank" rel="noopener" class="mycode_url">[Link]</a> . Please help me for the solution . My device name is : 4 channel GSM relay esp32 board – KC868-A4S , link of the product :: <a href="https://www.kincony.com/4-channel-gsm-relay-esp32-board.html" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/4-channel-gsm-re...board.html</a>]]></description>
			<content:encoded><![CDATA[So far, I've completed this part. Here’s the link, but it’s still not working: <a href="https://drive.google.com/drive/u/0/folders/1oq3e64U2wA8Ur0m-rbMevxfkXOvyVZ7J" target="_blank" rel="noopener" class="mycode_url">[Link]</a> . Please help me for the solution . My device name is : 4 channel GSM relay esp32 board – KC868-A4S , link of the product :: <a href="https://www.kincony.com/4-channel-gsm-relay-esp32-board.html" target="_blank" rel="noopener" class="mycode_url">https://www.kincony.com/4-channel-gsm-re...board.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ESPHOME DAC 0-10 Valve control]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=6648</link>
			<pubDate>Mon, 09 Sep 2024 23:27:45 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=5893">montemartello</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=6648</guid>
			<description><![CDATA[I would like to make a PID control of 2 3-way valves of the HVAC system. The valves have a 0-10V control and are powered by 24VAC.<br />
I saw the example that controls an RGB led, but now ESPHOME has added the "valve" entity. Is it possible to have an example of how to control a 0-10V valve?<br />
<a href="https://esphome.io/components/valve/index.html" target="_blank" rel="noopener" class="mycode_url">https://esphome.io/components/valve/index.html</a><br />
<br />
Thanks]]></description>
			<content:encoded><![CDATA[I would like to make a PID control of 2 3-way valves of the HVAC system. The valves have a 0-10V control and are powered by 24VAC.<br />
I saw the example that controls an RGB led, but now ESPHOME has added the "valve" entity. Is it possible to have an example of how to control a 0-10V valve?<br />
<a href="https://esphome.io/components/valve/index.html" target="_blank" rel="noopener" class="mycode_url">https://esphome.io/components/valve/index.html</a><br />
<br />
Thanks]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Help With RS485]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=5820</link>
			<pubDate>Fri, 31 May 2024 04:07:32 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2799">phateks</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=5820</guid>
			<description><![CDATA[Hello, i  have an modbus  thermostat and i have those instructions to set up.<br />
Can you help me with a code in esphome for that?<br />
ThankYou!!<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=5305" target="_blank" title="">Untitled.jpg</a> (Size: 246.42 KB / Downloads: 559)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=5306" target="_blank" title="">Untitled2.jpg</a> (Size: 225.62 KB / Downloads: 542)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello, i  have an modbus  thermostat and i have those instructions to set up.<br />
Can you help me with a code in esphome for that?<br />
ThankYou!!<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=5305" target="_blank" title="">Untitled.jpg</a> (Size: 246.42 KB / Downloads: 559)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=5306" target="_blank" title="">Untitled2.jpg</a> (Size: 225.62 KB / Downloads: 542)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Homekit with relay and DHT22 & contact sensor]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=5708</link>
			<pubDate>Thu, 09 May 2024 00:20:16 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1715">hocine86</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=5708</guid>
			<description><![CDATA[hi  friend<br />
How to use A4S with apple homekit appliction.<br />
please give me demo exemple of A4S]]></description>
			<content:encoded><![CDATA[hi  friend<br />
How to use A4S with apple homekit appliction.<br />
please give me demo exemple of A4S]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to use SN-SR04T Sensor]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=5006</link>
			<pubDate>Wed, 06 Mar 2024 14:57:05 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=521">mvtech2430</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=5006</guid>
			<description><![CDATA[Hello , can i use SN-SR04T Sensor please see picture.<br />
<img src="https://www.makerguides.com/wp-content/uploads/2023/11/JSN-SR04T.jpg" loading="lazy"  alt="[Image: JSN-SR04T.jpg]" class="mycode_img" /><br />
pin is GND VCC TRIG ECHO<br />
HOW CAN I USE IT IN A4S or A8 Board<br />
diagram using esp32<br />
<img src="https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2021/06/ESP32-Ultrasonic-Sensor-Wiring-Fritzing-Diagram.png?resize=828%2C673&amp;quality=100&amp;strip=all&amp;ssl=1" loading="lazy"  alt="[Image: ESP32-Ultrasonic-Sensor-Wiring-Fritzing-...=all&amp;ssl=1]" class="mycode_img" /><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=4629" target="_blank" title="">Screenshot 2024-03-06 145143.png</a> (Size: 11.08 KB / Downloads: 526)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello , can i use SN-SR04T Sensor please see picture.<br />
<img src="https://www.makerguides.com/wp-content/uploads/2023/11/JSN-SR04T.jpg" loading="lazy"  alt="[Image: JSN-SR04T.jpg]" class="mycode_img" /><br />
pin is GND VCC TRIG ECHO<br />
HOW CAN I USE IT IN A4S or A8 Board<br />
diagram using esp32<br />
<img src="https://i0.wp.com/randomnerdtutorials.com/wp-content/uploads/2021/06/ESP32-Ultrasonic-Sensor-Wiring-Fritzing-Diagram.png?resize=828%2C673&amp;quality=100&amp;strip=all&amp;ssl=1" loading="lazy"  alt="[Image: ESP32-Ultrasonic-Sensor-Wiring-Fritzing-...=all&amp;ssl=1]" class="mycode_img" /><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=4629" target="_blank" title="">Screenshot 2024-03-06 145143.png</a> (Size: 11.08 KB / Downloads: 526)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Library <Preferences.h> Not Storing Values]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=4769</link>
			<pubDate>Fri, 01 Mar 2024 09:10:55 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=2974">job-systems</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=4769</guid>
			<description><![CDATA[Hi, hope everyone is fine.<br />
<br />
I give up... I need help. I am unable to store values in non volatile memory, so that if there is a power loss, and re-power, the value keeps the same... example, a temperature setpoint.<br />
<br />
In my Arduino IDE environment I use: Node32s board (Is this the correct board?<br />
<br />
This is the configuration I have in Arduino IDE:<br />
<br />
GENERAL: <br />
<br />
<span style="color: #4e5b61;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #005c5f;" class="mycode_color"><span style="color: #728e00;" class="mycode_color">#include</span> &lt;Preferences.h&gt;</span></span></span><br />
<br />
<span style="color: #4e5b61;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Preferences preferences; // Start preferences service.</span></span><br />
<br />
SETUP:<br />
<br />
<span style="color: #4e5b61;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">  <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">begin</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"almacenamiento-valores"</span>, <span style="color: #005c5f;" class="mycode_color">false</span><span style="color: #434f54;" class="mycode_color">)</span>;<span style="color: #95a5a6;" class="mycode_color"> // Start storage</span><br />
  <span style="color: #d35400;" class="mycode_color">Serial</span>.<span style="color: #d35400;" class="mycode_color">println</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"Escribiendo en NVS: 123"</span><span style="color: #434f54;" class="mycode_color">)</span>;<br />
  <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">putInt</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"offset"</span>, <span style="color: #005c5f;" class="mycode_color">123</span><span style="color: #434f54;" class="mycode_color">)</span>;<span style="color: #95a5a6;" class="mycode_color"> // Write a test value of 123 on the memory space called "offset".</span><br />
  <br />
  <span style="color: #00979d;" class="mycode_color">int</span> valorLeido = <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">getInt</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"offset"</span>, <span style="color: #005c5f;" class="mycode_color">0</span><span style="color: #434f54;" class="mycode_color">)</span>; // Reads the stored value.<br />
  <span style="color: #d35400;" class="mycode_color">Serial</span>.<span style="color: #d35400;" class="mycode_color">print</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"Leído de NVS: "</span><span style="color: #434f54;" class="mycode_color">)</span>;<br />
  <span style="color: #d35400;" class="mycode_color">Serial</span>.<span style="color: #d35400;" class="mycode_color">println</span><span style="color: #434f54;" class="mycode_color">(</span>valorLeido<span style="color: #434f54;" class="mycode_color">)</span>; // Show the value that was stored.<br />
  <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">end</span><span style="color: #434f54;" class="mycode_color">()</span>;</span></span><br />
<br />
Result I get on serial monitor: <br />
<br />
Escribiendo en NVS: 123<br />
Leído de NVS: 0<br />
<br />
Result: Writing the value was not successful. <br />
<br />
What am I doing wrong?<br />
Would you advice using a different library for storing values?<br />
Maybe the board I have selected on Arduino IDE is the wrong one?<br />
<br />
Thank you for your help. <br />
<br />
BR, Juan]]></description>
			<content:encoded><![CDATA[Hi, hope everyone is fine.<br />
<br />
I give up... I need help. I am unable to store values in non volatile memory, so that if there is a power loss, and re-power, the value keeps the same... example, a temperature setpoint.<br />
<br />
In my Arduino IDE environment I use: Node32s board (Is this the correct board?<br />
<br />
This is the configuration I have in Arduino IDE:<br />
<br />
GENERAL: <br />
<br />
<span style="color: #4e5b61;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font"><span style="color: #005c5f;" class="mycode_color"><span style="color: #728e00;" class="mycode_color">#include</span> &lt;Preferences.h&gt;</span></span></span><br />
<br />
<span style="color: #4e5b61;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">Preferences preferences; // Start preferences service.</span></span><br />
<br />
SETUP:<br />
<br />
<span style="color: #4e5b61;" class="mycode_color"><span style="font-family: Consolas, 'Courier New', monospace;" class="mycode_font">  <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">begin</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"almacenamiento-valores"</span>, <span style="color: #005c5f;" class="mycode_color">false</span><span style="color: #434f54;" class="mycode_color">)</span>;<span style="color: #95a5a6;" class="mycode_color"> // Start storage</span><br />
  <span style="color: #d35400;" class="mycode_color">Serial</span>.<span style="color: #d35400;" class="mycode_color">println</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"Escribiendo en NVS: 123"</span><span style="color: #434f54;" class="mycode_color">)</span>;<br />
  <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">putInt</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"offset"</span>, <span style="color: #005c5f;" class="mycode_color">123</span><span style="color: #434f54;" class="mycode_color">)</span>;<span style="color: #95a5a6;" class="mycode_color"> // Write a test value of 123 on the memory space called "offset".</span><br />
  <br />
  <span style="color: #00979d;" class="mycode_color">int</span> valorLeido = <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">getInt</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"offset"</span>, <span style="color: #005c5f;" class="mycode_color">0</span><span style="color: #434f54;" class="mycode_color">)</span>; // Reads the stored value.<br />
  <span style="color: #d35400;" class="mycode_color">Serial</span>.<span style="color: #d35400;" class="mycode_color">print</span><span style="color: #434f54;" class="mycode_color">(</span><span style="color: #005c5f;" class="mycode_color">"Leído de NVS: "</span><span style="color: #434f54;" class="mycode_color">)</span>;<br />
  <span style="color: #d35400;" class="mycode_color">Serial</span>.<span style="color: #d35400;" class="mycode_color">println</span><span style="color: #434f54;" class="mycode_color">(</span>valorLeido<span style="color: #434f54;" class="mycode_color">)</span>; // Show the value that was stored.<br />
  <span style="color: #d35400;" class="mycode_color">preferences</span>.<span style="color: #d35400;" class="mycode_color">end</span><span style="color: #434f54;" class="mycode_color">()</span>;</span></span><br />
<br />
Result I get on serial monitor: <br />
<br />
Escribiendo en NVS: 123<br />
Leído de NVS: 0<br />
<br />
Result: Writing the value was not successful. <br />
<br />
What am I doing wrong?<br />
Would you advice using a different library for storing values?<br />
Maybe the board I have selected on Arduino IDE is the wrong one?<br />
<br />
Thank you for your help. <br />
<br />
BR, Juan]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Sim7600E not working with kc868_A4S]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=4234</link>
			<pubDate>Mon, 05 Feb 2024 15:05:31 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=1715">hocine86</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=4234</guid>
			<description><![CDATA[<span style="color: #cccccc;" class="mycode_color">Hi friend, sim7600E connected with board A4S but not working I can’t send sms or call IFTTT, </span><br />
<span style="color: #cccccc;" class="mycode_color">Do I have to buy a unit <span style="font-weight: bold;" class="mycode_b">tuya</span> for it to work or is there no need for that?</span>]]></description>
			<content:encoded><![CDATA[<span style="color: #cccccc;" class="mycode_color">Hi friend, sim7600E connected with board A4S but not working I can’t send sms or call IFTTT, </span><br />
<span style="color: #cccccc;" class="mycode_color">Do I have to buy a unit <span style="font-weight: bold;" class="mycode_b">tuya</span> for it to work or is there no need for that?</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[A4S stops working]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3576</link>
			<pubDate>Thu, 30 Nov 2023 11:56:37 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=521">mvtech2430</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3576</guid>
			<description><![CDATA[Hello any idea why my a4s is not working ? <br />
<br />
i try to re install firmware but this error pops up  - failed to initialized - try resetting your device or hold the reset BUTTON. <br />
<br />
the LAN is not blinking anymore<br />
<br />
offline in home assistant.<br />
<br />
PLEASE Help.<br />
<hr class="mycode_hr" />
i also try to hold the esp32 chip its hot is that normal ?<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3499" target="_blank" title="">viber_image_2023-11-30_11-47-06-752.jpg</a> (Size: 211.11 KB / Downloads: 1397)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3500" target="_blank" title="">viber_image_2023-11-30_11-47-06-926.jpg</a> (Size: 177.96 KB / Downloads: 1387)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3501" target="_blank" title="">viber_image_2023-11-30_11-47-06-501.jpg</a> (Size: 151.82 KB / Downloads: 1383)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3502" target="_blank" title="">viber_image_2023-11-30_11-47-06-585.jpg</a> (Size: 152.73 KB / Downloads: 1395)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Hello any idea why my a4s is not working ? <br />
<br />
i try to re install firmware but this error pops up  - failed to initialized - try resetting your device or hold the reset BUTTON. <br />
<br />
the LAN is not blinking anymore<br />
<br />
offline in home assistant.<br />
<br />
PLEASE Help.<br />
<hr class="mycode_hr" />
i also try to hold the esp32 chip its hot is that normal ?<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3499" target="_blank" title="">viber_image_2023-11-30_11-47-06-752.jpg</a> (Size: 211.11 KB / Downloads: 1397)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3500" target="_blank" title="">viber_image_2023-11-30_11-47-06-926.jpg</a> (Size: 177.96 KB / Downloads: 1387)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3501" target="_blank" title="">viber_image_2023-11-30_11-47-06-501.jpg</a> (Size: 151.82 KB / Downloads: 1383)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=3502" target="_blank" title="">viber_image_2023-11-30_11-47-06-585.jpg</a> (Size: 152.73 KB / Downloads: 1395)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ESPHOME, KC868-A4S, sim 800l]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3567</link>
			<pubDate>Tue, 28 Nov 2023 18:44:49 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=3094">SERJ_lebedev</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3567</guid>
			<description><![CDATA[Hi,<br />
Can you advise me how to configure sim800l for use with esphome firmware? <br />
Currently yaml is like this: <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>uart:<br />
  baud_rate: 9600<br />
  tx_pin: 15<br />
  rx_pin: 13<br />
sensor:<br />
  - platform: sim800l <br />
    rssi:<br />
      name: "Sim800L RSSI"  <br />
      id: rssi<br />
binary_sensor:<br />
  - platform: sim800l<br />
    registered:<br />
      name: "Sim800L Registered"</code></div></div>but no sensors work in homeassistant....<br />
<br />
<br />
I have a TTGO T-Call V1.4 board with the same sim 800l module.<br />
everything works fine <br />
The only thing is that there are additional module settings in yaml: <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>switch:<br />
  - platform: gpio #SIM800_PWKEY<br />
    pin: 4<br />
    restore_mode: ALWAYS_OFF<br />
    id: SIM800_PWKEY<br />
  - platform: gpio #SIM800_RST<br />
    pin: 5<br />
    restore_mode: ALWAYS_ON<br />
    id: SIM800_RST<br />
  - platform: gpio #SIM800_PWR<br />
    pin: 23<br />
    restore_mode: ALWAYS_ON<br />
    id: SIM800_PWR</code></div></div><br />
<br />
thanks!]]></description>
			<content:encoded><![CDATA[Hi,<br />
Can you advise me how to configure sim800l for use with esphome firmware? <br />
Currently yaml is like this: <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>uart:<br />
  baud_rate: 9600<br />
  tx_pin: 15<br />
  rx_pin: 13<br />
sensor:<br />
  - platform: sim800l <br />
    rssi:<br />
      name: "Sim800L RSSI"  <br />
      id: rssi<br />
binary_sensor:<br />
  - platform: sim800l<br />
    registered:<br />
      name: "Sim800L Registered"</code></div></div>but no sensors work in homeassistant....<br />
<br />
<br />
I have a TTGO T-Call V1.4 board with the same sim 800l module.<br />
everything works fine <br />
The only thing is that there are additional module settings in yaml: <br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>switch:<br />
  - platform: gpio #SIM800_PWKEY<br />
    pin: 4<br />
    restore_mode: ALWAYS_OFF<br />
    id: SIM800_PWKEY<br />
  - platform: gpio #SIM800_RST<br />
    pin: 5<br />
    restore_mode: ALWAYS_ON<br />
    id: SIM800_RST<br />
  - platform: gpio #SIM800_PWR<br />
    pin: 23<br />
    restore_mode: ALWAYS_ON<br />
    id: SIM800_PWR</code></div></div><br />
<br />
thanks!]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[KC868-A4S circuit  diagram]]></title>
			<link>https://www.kincony.com/forum/showthread.php?tid=3161</link>
			<pubDate>Fri, 18 Aug 2023 15:38:38 +0800</pubDate>
			<dc:creator><![CDATA[<a href="https://www.kincony.com/forum/member.php?action=profile&uid=194">KinCony Support</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.kincony.com/forum/showthread.php?tid=3161</guid>
			<description><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2843" target="_blank" title="">KC868-A4S.jpg</a> (Size: 883.89 KB / Downloads: 1238)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.kincony.com/forum/images/attachtypes/image.png" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=2843" target="_blank" title="">KC868-A4S.jpg</a> (Size: 883.89 KB / Downloads: 1238)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
	</channel>
</rss>