Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,424
» Latest member: pvc patches canada
» Forum threads: 3,666
» Forum posts: 18,981

Full Statistics

Online Users
There are currently 21 online users.
» 0 Member(s) | 10 Guest(s)
AhrefsBot, Amazonbot, Bing, PetalBot, bot

Latest Threads
KC868-A2 SIM7600 with Tuy...
Forum: KC868-A2
Last Post: WestfieldGhost
2 hours ago
» Replies: 34
» Views: 3,969
KC868-A16 v1 with KCS v2....
Forum: "KCS" v2 firmware system
Last Post: admin
4 hours ago
» Replies: 9
» Views: 66
B24M output mosfet relay ...
Forum: B24M
Last Post: admin
4 hours ago
» Replies: 1
» Views: 2
Feedback: Product line di...
Forum: Suggestions and feedback on KinCony's products
Last Post: admin
7 hours ago
» Replies: 1
» Views: 14
Not able to connect
Forum: KC868-E16S/E16P
Last Post: admin
8 hours ago
» Replies: 1
» Views: 8
"KCS" v3.19.0 firmware BI...
Forum: "KCS" v3 firmware
Last Post: admin
Today, 01:17 AM
» Replies: 0
» Views: 17
flash Kincony software to...
Forum: DIY Project
Last Post: admin
Today, 12:14 AM
» Replies: 14
» Views: 84
KC868-A6 - how to connect...
Forum: KC868-A6
Last Post: admin
Yesterday, 10:06 PM
» Replies: 10
» Views: 147
F8 physical on device swi...
Forum: F8
Last Post: admin
Yesterday, 10:05 PM
» Replies: 3
» Views: 17
flash kc868-a4
Forum: KC868-A series and Uair Smart Controller
Last Post: Sten
Yesterday, 01:09 PM
» Replies: 14
» Views: 571

Sad Relays on ESPHome not working
Posted by: CHILE19 - 03-12-2025, 10:25 PM - Forum: KC868-A16 - Replies (8)

Hey everyone!! 
I just configure my brand new KC868-A16 REV 1.6 on EspHome with this code:

Code:
esphome:
  name: calefaccion-central
  friendly_name: Calefaccion Central

esp32:
  board: esp32dev
  framework:
    type: esp-idf

# Enable logging
logger:
  level: VERY_VERBOSE

# Enable Home Assistant API
api:
  encryption:
    key: "WXXXXXXXXXXXXXXXXXXXXXnEgY="

ota:
  - platform: esphome
    password: "ca97bdfXXXXXXXXXXXXXXXXdab073"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Calefaccion-Central"
    password: "69NT2lnfj2Kd"

captive_portal:

i2c:
  sda: GPIO4
  scl:
    number: GPIO5
    ignore_strapping_warning: true

pcf8574:

  - id: outputs_1_8
    address: 0x24
    pcf8575: false

switch:

  - platform: gpio
    name: "sw_caldera"
    id: sw_caldera #1
    pin:
      pcf8574: outputs_1_8
      number: 0
      mode: OUTPUT
      inverted: true


I erase all the unecesary code.

The board seams to work ok, but I cant get the realys to work.
Here is the log from ESPHome:

Code:
INFO ESPHome 2025.2.0
INFO Reading configuration /config/esphome/calefaccion-central.yaml...
INFO Starting log output from 192.168.1.133 using esphome API
INFO Successfully connected to calefaccion-central @ 192.168.1.133 in 0.221s
INFO Successful handshake with calefaccion-central @ 192.168.1.133 in 0.145s
[19:21:35][I][app:100]: ESPHome version 2025.2.0 compiled on Mar 12 2025, 19:11:06
[19:21:35][C][wifi:600]: WiFi:
[19:21:35][C][wifi:428]:   Local MAC: 20:#########:50
[19:21:35][C][wifi:433]:   SSID: [redacted]
[19:21:35][C][wifi:436]:   IP Address: 192.168.1.133
[19:21:35][C][wifi:439]:   BSSID: [redacted]
[19:21:35][C][wifi:441]:   Hostname: 'calefaccion-central'
[19:21:35][C][wifi:443]:   Signal strength: -62 dB ▂▄▆█
[19:21:35][V][wifi:445]:   Priority: 0.0
[19:21:35][C][wifi:447]:   Channel: 1
[19:21:35][C][wifi:448]:   Subnet: 255.255.255.0
[19:21:35][C][wifi:449]:   Gateway: 192.168.1.1
[19:21:35][C][wifi:450]:   DNS1: 200.28.4.130
[19:21:35][C][wifi:451]:   DNS2: 200.28.4.129
[19:21:35][C][logger:177]: Logger:
[19:21:35][C][logger:178]:   Max Level: VERY_VERBOSE
[19:21:35][C][logger:179]:   Initial Level: VERY_VERBOSE
[19:21:35][C][logger:181]:   Log Baud Rate: 115200
[19:21:35][C][logger:182]:   Hardware UART: UART0
[19:21:35][C][i2c.idf:079]: I2C Bus:
[19:21:35][C][i2c.idf:080]:   SDA Pin: GPIO4
[19:21:35][C][i2c.idf:081]:   SCL Pin: GPIO5
[19:21:35][C][i2c.idf:082]:   Frequency: 50000 Hz
[19:21:36][C][i2c.idf:088]:   Recovery: bus successfully recovered
[19:21:36][I][i2c.idf:098]: Results from i2c bus scan:
[19:21:36][I][i2c.idf:104]: Found i2c device at address 0x21
[19:21:36][I][i2c.idf:104]: Found i2c device at address 0x22
[19:21:36][I][i2c.idf:104]: Found i2c device at address 0x24
[19:21:36][I][i2c.idf:104]: Found i2c device at address 0x25
[19:21:36][C][pcf8574:021]: PCF8574:
[19:21:36][C][pcf8574:022]:   Address: 0x24
[19:21:36][C][pcf8574:023]:   Is PCF8575: NO
[19:21:36][C][switch.gpio:068]: GPIO Switch 'sw_caldera'
[19:21:36][C][switch.gpio:090]:   Restore Mode: always OFF
[19:21:36][C][switch.gpio:031]:   Pin: 0 via PCF8574
[19:21:36][C][switch.gpio:068]: GPIO Switch 'sw_bano_pieza'
[19:21:36][C][switch.gpio:090]:   Restore Mode: always OFF
[19:21:36][C][switch.gpio:031]:   Pin: 1 via PCF8574
[19:21:36][C][template.switch:068]: Template Switch 'Template Switch'
[19:21:36][C][template.switch:090]:   Restore Mode: always OFF
[19:21:36][C][template.switch:057]:   Optimistic: YES
[19:21:36][C][restart.button:017]: Restart Button 'Restart'
[19:21:36][C][restart.button:017]:   Icon: 'mdi:restart'
[19:21:36][C][captive_portal:089]: Captive Portal:
[19:21:36][C][mdns:116]: mDNS:
[19:21:36][C][mdns:117]:   Hostname: calefaccion-central
[19:21:36][V][mdns:118]:   Services:
[19:21:36][V][mdns:120]:   - _esphomelib, _tcp, 6053
[19:21:36][V][mdns:122]:     TXT: friendly_name = Calefaccion Central
[19:21:36][V][mdns:122]:     TXT: version = 2025.2.0
[19:21:36][V][mdns:122]:     TXT: mac = 20####50
[19:21:36][V][mdns:122]:     TXT: platform = ESP32
[19:21:36][V][mdns:122]:     TXT: board = esp32dev
[19:21:36][V][mdns:122]:     TXT: network = wifi
[19:21:36][V][mdns:122]:     TXT: api_encryption = Noise_NNpsk0_25519_ChaChaPoly_SHA256
[19:21:36][C][esphome.ota:073]: Over-The-Air updates:
[19:21:36][C][esphome.ota:074]:   Address: calefaccion-central.local:3232
[19:21:36][C][esphome.ota:075]:   Version: 2
[19:21:36][C][esphome.ota:078]:   Password configured
[19:21:36][C][safe_mode:018]: Safe Mode:
[19:21:36][C][safe_mode:019]:   Boot considered successful after 60 seconds
[19:21:36][C][safe_mode:021]:   Invoke after 10 boot attempts
[19:21:36][C][safe_mode:022]:   Remain in safe mode for 300 seconds
[19:21:36][C][api:140]: API Server:
[19:21:36][C][api:141]:   Address: calefaccion-central.local:6053
[19:21:36][C][api:143]:   Using noise encryption: YES
[19:21:42][VV][api.service:785]: on_switch_command_request: SwitchCommandRequest {
  key: 4158039208
  state: YES
}
[19:21:42][D][switch:012]: 'sw_caldera' Turning ON.
[19:21:42][VV][i2c.idf:201]: 0x24 TX FE
[19:21:42][D][switch:055]: 'sw_caldera': Sending state ON
[19:21:42][VV][api.service:156]: send_switch_state_response: SwitchStateResponse {
  key: 4158039208
  state: YES
}
[19:21:50][VV][api.service:785]: on_switch_command_request: SwitchCommandRequest {
  key: 4158039208
  state: NO
}
[19:21:50][D][switch:016]: 'sw_caldera' Turning OFF.
[19:21:50][VV][i2c.idf:201]: 0x24 TX FF
[19:21:50][D][switch:055]: 'sw_caldera': Sending state OFF
[19:21:50][VV][api.service:156]: send_switch_state_response: SwitchStateResponse {
  key: 4158039208
  state: NO
}


any help will be trully appriciate!!

Print this item

  kincony relay 4ch
Posted by: alexgr2006 - 03-12-2025, 03:05 PM - Forum: KC868-HxB series Smart Controller - Replies (1)

hello I use app smart home but to day I can't login... I try and I see msg login failed...any link to download the app again? or other solution?

Print this item

  KC868-AG board type
Posted by: powerup - 03-12-2025, 01:33 AM - Forum: KC868-AG / AG Pro / AG8 / Z1 - Replies (3)

Hi,

i am programming myself the KC868-AG, i bought 2 units. 1 of them died after 1-2hrs, the other unit is working fine. The first one is giving USB device not recognized. Same cable is working fine for the other device.

Q1: what chip do I choose for this device.
Q2: what is the memory limit of this device, does it have enough space for OTA updates and save many RF signals?

Thank you.

Print this item

  A32 pro lost control
Posted by: Saif Kitany - 03-11-2025, 10:19 PM - Forum: B16M - Replies (3)

I have an issue with my A32 pro :

- when I configure the Esphome yaml file and start controlling the A32 pro by homeassistant, i loose kcs firmeware ( ican’t login kcs web page).

And when i reinstall kcs firmeware, then i loose the control by homeassistant!!

Why is it happening?

Print this item

  KC 868-A32
Posted by: simona - 03-11-2025, 03:14 PM - Forum: KC868-A32/A32 Pro - Replies (3)

Hi please does kc 868-A32 allow for modbus slave configuration . If no i have ordered 7 of them and can a request to redesign the hardware to allow for modbus slave.Thank you

Print this item

  G1 keypad and LCD display information
Posted by: admin - 03-11-2025, 01:26 PM - Forum: G1 - No Replies

The LCD screen displays the mobile signal strength in the top-left corner.
The LCD screen displays the time in the top-right corner.

Keyboard functions:

* Delete key
# Call key
When a call is received, the LCD screen displays "RING".

Print this item

  KCS v3 GSM MQTT protocol
Posted by: admin - 03-11-2025, 01:01 PM - Forum: G1 - No Replies

MQTT:

Making a Call

{
  "run_call": {
    "phone": "+8612345678901"
  }
}

Successful Response:

{
  "run_call": {
    "value": "success"
  }
}

Failed Response:
Possible reasons: GPRS is not initialized, or the phone number is not set.

{
  "run_call": {
    "value": "error"
  }
}

--------------------------------

Sending an SMS

{
  "run_sms": {
    "content": "sms content example",
    "phone": "+8612345678901"
  }
}

Successful Response:

{
  "run_sms": {
    "value": "success"
  }
}

Failed Response:
Possible reasons: GPRS is not initialized, the phone number is not set, or the SMS content is not set.

{
  "run_sms": {
    "value": "error"
  }
}

--------------------------------
MQTT STATE Reporting Received SMS and Incoming Calls

Incoming Call

{
  "call_ring": {
    "phone": "+8612345678901"
  }
}

Received SMS

{
  "sms_recv": {
    "phone": "+8612345678901",
    "content": "example"
  }
}

Print this item

  "KCS" v3.8.0 firmware BIN file download
Posted by: admin - 03-11-2025, 12:59 PM - Forum: "KCS" v3 firmware - Replies (12)

v3.8.0 improvement:

1. IFTTT IF condition support TCP,UDP,RS485,RS232 ANSI-String or HEX command.
2. support SIM7600 4G module make CALL, send SMS and receive SMS by MQTT.
3. support SIM7600 4G module work as GSM bridge with RXD,TXD free GPIO pins.
4. support option for add sensor value to SSD1306 LCD display.
5. fixed bug with monitor "auto refresh" function.
6. fixed bug with sensor data auto upload to MQTT.



Attached Files
.zip   KCS_A6V3_V3.8.0.zip (Size: 1.01 MB / Downloads: 477)
.zip   KCS_A16V3_V3.8.0.zip (Size: 1.08 MB / Downloads: 588)
.zip   KCS_A32PRO_V3.8.0.zip (Size: 1.05 MB / Downloads: 360)
.zip   KCS_AG8_V3.8.0.zip (Size: 1.04 MB / Downloads: 397)
.zip   KCS_B16_V3.8.0.zip (Size: 1.07 MB / Downloads: 413)
.zip   KCS_B16M_V3.8.0.zip (Size: 1.07 MB / Downloads: 362)
.zip   KCS_F16_V3.8.0.zip (Size: 1.08 MB / Downloads: 401)
.zip   KCS_F24_V3.8.0.zip (Size: 1.08 MB / Downloads: 374)
.zip   KCS_G1_V3.8.0.zip (Size: 1.03 MB / Downloads: 394)
.zip   KCS_T16M_V3.8.0.zip (Size: 1.02 MB / Downloads: 422)
Print this item

  KC868_A16 HTTP Analog Input
Posted by: bmaci3k - 03-11-2025, 12:11 PM - Forum: KC868-A16 - Replies (1)

Hi, How can I get analog input values via http?
Board Model KC868_A16
Software Version v2.2.12

Print this item

  Additional GPIO
Posted by: Amaral989 - 03-11-2025, 02:45 AM - Forum: KC868-A4S - Replies (3)

Hello, 

I have two questions. 
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. 

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.

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. 


Thanks again, 
John A

Print this item