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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 6,358
» Latest member: cycov
» Forum threads: 2,844
» Forum posts: 15,018

Full Statistics

Online Users
There are currently 75 online users.
» 0 Member(s) | 56 Guest(s)
Amazonbot, Bing, Bytespider, Crawl, Facebook, Google, PetalBot, Twitter, Yandex, bot, facebookexternalhit

Latest Threads
KC868-HA RS485 INPUT & OU...
Forum: KC868-HA /HA v2
Last Post: admin
3 hours ago
» Replies: 29
» Views: 6,579
MQTT Connection issues
Forum: KC868-A16
Last Post: admin
3 hours ago
» Replies: 1
» Views: 3
Using B16M for driving LE...
Forum: B16M
Last Post: admin
4 hours ago
» Replies: 1
» Views: 2
KCS868-A6 not found
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
4 hours ago
» Replies: 12
» Views: 51
A16: IFTTT Time based act...
Forum: KC868-A16
Last Post: twostar
Yesterday, 12:19 PM
» Replies: 14
» Views: 138
[Arduino IDE demo source ...
Forum: KC868-A16
Last Post: admin
Yesterday, 12:18 PM
» Replies: 4
» Views: 2,563
Request for Assistance in...
Forum: DIY Project
Last Post: admin
Yesterday, 09:17 AM
» Replies: 1
» Views: 13
KCS firmware bugs
Forum: "KCS" v2 firmware system
Last Post: twostar
Yesterday, 09:03 AM
» Replies: 9
» Views: 200
Setup K868-a32 and k868-a...
Forum: DIY Project
Last Post: admin
Yesterday, 08:59 AM
» Replies: 1
» Views: 6
ESPhome builder 2025.2
Forum: KinCony AS
Last Post: kamermcw
Yesterday, 08:49 AM
» Replies: 13
» Views: 526

  KC868-A16 Ethernet DS18B20 issues
Posted by: nielsek - 01-07-2025, 10:52 AM - Forum: KC868-A series and Uair Smart Controller - Replies (11)

Greetings to everybody.
I have quite extensively tested KC868-16 and KC868-6 with tens of DS18B20 temperature sensors.  I'm using ESPHOME.  With KC868-16 I found that if enabling Ethernet (instead of Wifi), after few hours I loose connection with temperature sensors:

Code:
12:26:37][W][dallas.temp.sensor:139]: 'Temperature sensor 115 (1m)' - Scratch pad checksum invalid!
[12:26:37][W][component:157]: Component dallas_temp.sensor set Warning flag: scratch pad checksum invalid
[12:26:37][D][sensor:093]: 'Temperature sensor 115 (1m)': Sending state nan °C with 2 decimals of accuracy
It first starts with few of these messages in logs, but soon (in few hours or even less) it happens to all of them.  Also tested with 5v (from 433mhz port), but still the same.
With wifi there isn't that problem.

While testing I had 6 sensors connected to HT2.  It doesn't matter, if there's less or more sensors, or shared between all three HT ports (HT1-HT3).  The outcome is the same.
Have different good quality power supplies that I have tested. During the testing there were no other devices connected.  Below I use 1 second interval, if using longer time, the issue is still there.
I really need ethernet.  Much appreciated, if you could point me in a direction, what to test next.
outtake from yaml (with one sensor):
Code:
#Workaround for sensors update
interval:
  - interval: 6s
    then:
      - component.update: temp_111 #IO_2
      - delay: 1s
      - component.update: temp_112 #IO_2
      - delay: 1s
      - component.update: temp_113 #IO_2
      - delay: 1s
      - component.update: temp_114 #IO_2
      - delay: 1s
      - component.update: temp_115 #IO_2
      - delay: 1s
      - component.update: temp_117 #IO_2
one_wire:
  - platform: gpio
    pin: GPIO32
    id: IO_1 #HT1
  - platform: gpio
    pin: GPIO33 #HT2
    id: IO_2
  - platform: gpio
    pin: GPIO14 #HT2
    id: IO_3
sensor: 
  - platform: dallas_temp
    address: xxxxxxxxxxxxxxx
    name: Temperature sensor 109 (1m)
    id: temp_109
    one_wire_id: IO_3
    unit_of_measurement: "°C"
    icon: "mdi:thermometer-plus"
    device_class: "temperature"
    state_class: "measurement"
    accuracy_decimals: 2
    update_interval: never
    filters:
#      - filter_out: nan
      - filter_out: 85.0

Print this item

  board setup
Posted by: gyengeb - 01-06-2025, 09:34 PM - Forum: KC868-A6 - Replies (5)

Hi,

Could you please tell me which board shall I choose in arduino ide?

And coul you please paste a test code to test the flash and the relay-s?

Thank you.

Print this item

  Using 12v on Digital Input
Posted by: DW1 - 01-05-2025, 12:08 AM - Forum: KC868-A16 - Replies (11)

I am using a KC898-A16 in ESPHome.  I have it successfuly set it up in ESPHome/HomeAssistant.  I can switch the outputs on and off and if I connect any digital input to ground (dry contact) I see it as input in ESPHome.

My issue is that if I apply 12vdc negative to the digital ground and 12vdc positive to any digital input I get no input.

I have tried setting invert = false

It is my understanding that it is possible to apply 12vdc to a digital input and get a result.

Print this item

  KC868-A16 restore mode
Posted by: JP50 - 01-04-2025, 08:29 PM - Forum: KC868-A16 - Replies (3)

Hello. I purchased a KC868-A16 and got it integrated with home assistant successfully via ESP32. Everything was good until i removed and reconnected power to the board and realized that the way I wired things, I need the board to boot up with outputs 1-16 on. By default they are all turning off upon power up. Can I add something to the yaml and send from ESPhome Builder to change the power on states of the outputs to ON?

I see this snippet in the logs so I assume there should be a way to set restore mode?

GPIO Switch 'light1'
[14:27:40][C][switch.gpio:091]:  Restore Mode: always OFF
[14:27:40][C][switch.gpio:031]:  Pin: 0 via PCF8574
[14:27:40][C][switch.gpio:068]: GPIO Switch 'light2'
[14:27:40][C][switch.gpio:091]:  Restore Mode: always OFF
[14:27:40][C][switch.gpio:031]:  Pin: 1 via PCF8574  etc.....

Print this item

  A8 Ethernet strange malfunction
Posted by: bogdan_0 - 01-04-2025, 10:14 AM - Forum: KC868-A8 - Replies (1)

Hello

Wired ethernet is not functioning properly.
Via usb cable it is responding but webpage (KCS) usually can not be displayed (it worked a few times but most of times it does not work):
"This site can not be reached"
ESPhome integration in HA via ethernet is generally offline.
I tried reset and new set-up of UDP connection settings.
I tried upgrade of firmware and then reset and new set-up. 

Can you please help?
Thank you
Bogdan



Attached Files Thumbnail(s)
       
Print this item

  [question]Max current in 12V DC
Posted by: chaka - 01-04-2025, 06:17 AM - Forum: B16M - Replies (3)

Hi, need to power some high current  (~9A) devices at 12V DC.
Does MOSFET relays support 10A 12V DC?
I see in specs 10A but doesn't say if its AC or DC, please clarify.

Print this item

  Set KC868-A8M
Posted by: kulibin - 01-03-2025, 05:11 PM - Forum: KC868-A8M - Replies (3)

How to set up an KC868-A8M  that is connected via Ethernet in WiFi access point mode in order for devices to connect to it at the same gatewaygatewa as the main router? The devices will be wifi esp32 which will work together in HA.  For example, my main network is 192.168.1.1 and I want the WiFi distribution network (KC868-A8M) to be in the same range 192.168.1…… Thanks

Print this item

  Kincony F16 24v power
Posted by: Fernando_FSF - 01-03-2025, 03:26 PM - Forum: F16 - Replies (1)

Hello, it turns out that I received a Kincony F16 24v board and it has two positive and two negative inputs, does it matter which one to connect the 24v to as long as it is positive and negative?

Print this item

Exclamation Problem flashing firmware
Posted by: dolphin78 - 01-03-2025, 12:10 PM - Forum: B16M - Replies (8)

Hello, i m new here and maybe i m doing something wrong but i can't flash the KCS_B16M_V3.4.0.bin in my new arrived B16M device.

I have followed the guide indicated on this page "https://www.kincony.com/how-to-use-kcsv3-firmware-esp32-board.html" step by step, but always after a few seconds of starting, the same error appears.

"8-download data fail"

Tips:
Maybe communication instability cuased this error, you can try to reduce the baud rate of download.

And in the rear command window (black window) appears:

test offset :  0 0x0
case ok
test offset :  0 0x0
case ok

Uploading stub...
Running stub...
Stub running...
Compressed 2718032 bytes to 1085371...
[2025-01-03 13:04:58,490][ESP8266Loader_spi[1]][espDownloader.py][line:606][ERROR]: ESP32S3 Chip flash download error esp_write_flash.

   

I'm sure i selected chipType: ESP32S3 on the initial screen, why appears "ESP8266Loader_spi" text? Is something wrong?

I have tried different cables, bauds anb firmware versions and managed to make the process last longer each time and the green bar grow more, but it still gives an error and never finishes successfully.

I don't know what to do anymore.

I have searched the forum but haven't found any case similar to mine.

What can I do, any help would be appreciated.
Thanks in advance.

Print this item

  How to measure a gas meter with a reed sensor and a KC868-A8 board
Posted by: pacitzu - 01-02-2025, 06:35 PM - Forum: KC868-A8 - Replies (1)

I would like to measure a gas meter with a reed sensor and a KC868-A8 board.
I tried to connect it to the dry contacts of the KC868-A8 (pcb v 1.5) but it seems that the pulses that are too fast are not read.
Is it correct to connect the reed sensor directly between GND and a free GPIO S1,S2,S3 or S4 to avoid losing these pulses?
Furthermore, since the KC868-A8 board and the gas meter are very far away (10 meters) and the gas meter is located outside the house, it is recommended to isolate the signals with a board with a 3.3v/12v optocoupler.
Thanks in advance

Print this item