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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 3,083
» Latest member: Domdsq
» Forum threads: 1,829
» Forum posts: 9,611

Full Statistics

Online Users
There are currently 49 online users.
» 2 Member(s) | 32 Guest(s)
AhrefsBot, Bytespider, Facebook, Google, Yandex, bot, facebookexternalhit, arzookanak, whitehawk1979

Latest Threads
Flux Sensor
Forum: News
Last Post: diegover
37 minutes ago
» Replies: 0
» Views: 0
Issue with KC868-AIO-EXTA...
Forum: KC868-AIO
Last Post: mahafree
3 hours ago
» Replies: 3
» Views: 2
Develop on my own questio...
Forum: KC868-AG/AG Pro
Last Post: mottibz
5 hours ago
» Replies: 0
» Views: 0
kc868-a8 V1.5 flashing
Forum: "KCS" firmware system
Last Post: Vulcan
5 hours ago
» Replies: 11
» Views: 8
Screws to lock the board ...
Forum: KC868-A16
Last Post: admin
8 hours ago
» Replies: 1
» Views: 1
KC868-AP KCS 2 MQTT
Forum: KC868-AP / ADR
Last Post: admin
10 hours ago
» Replies: 3
» Views: 4
Kc868-server-modbus
Forum: KC868-Server Raspberry Pi4 local server
Last Post: admin
Yesterday, 10:13 PM
» Replies: 4
» Views: 4
KC868-HAv2 esphome issue
Forum: Development
Last Post: admin
Yesterday, 10:12 PM
» Replies: 24
» Views: 844
H32L issue
Forum: KC868-HxB series Smart Controller
Last Post: Saif Kitany
Yesterday, 07:12 AM
» Replies: 10
» Views: 8
KC868-A16 esp32 board (A1...
Forum: KC868-A series and Uair Smart Controller
Last Post: admin
04-23-2024, 11:47 PM
» Replies: 23
» Views: 2,873

  Add KinCony modbus energy meter to home assistant using raspberry pi's RS485 port
Posted by: admin - 02-16-2024, 03:23 AM - Forum: KC868-Server Raspberry Pi4 local server - Replies (5)

how to integrate KinCony modbus energy meter to home assistant using raspberry pi's RS485 port

A. use "inCony_Meter_config_tool" change RS485 " Parity: EVEN "  to " Parity: NONE ", because we found home assistant can't work with "EVEN", KinCony energy meter default setting is "EVEN".
A-1: connect energy meter to PC by USB-RS485 adatper:
   
A-2: first time, use RS485 setting,  Parity: EVEN (Chinese word on left is : 偶校验)  click "打开" (open serial port) button.

.zip   KinCony_Meter_config_tool.zip (Size: 20.55 KB / Downloads: 49)
   
A-3: click "无校验" (None) button, set  Parity: NONE
until now,  "Parity" is set completed.

if you want change meter ID from 1, you can "set the meter ID", such as input 1,2,3,.... then click "改表号+读" (write button), it will set the ID for meter.
if you have changed  Parity: NONE, you want connect to serial port again, you need change serial setting,  Parity=None, Chinese word is "无校验",then click "读" (Read) button, you will read all data from meter.
   

now the meter hardware setting is complete, then you can connect meter to KC868-Server or Server-Mini's RS485 port directly. see photo:
   
config HA yaml as here:
   

.txt   KinCony_modbus_meter.txt (Size: 1.43 KB / Downloads: 40)
modbus:
  - name: hub1
    type: serial
    baudrate: 9600
    bytesize: 8
    method: rtu
    parity: N
    port: /dev/ttyS0
    stopbits: 1

    sensors:
    - name: meter-voltage
      slave: 1
      address: 100
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: V
      device_class: voltage

    - name: meter-current
      slave: 1
      address: 106
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: A
      device_class: current

    - name: meter-power
      slave: 1
      address: 118
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: kW
      device_class: power
     
    - name: meter-factor
      slave: 1
      address: 142
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
    #  unit_of_measurement:
      device_class: power_factor

    - name: meter-frequency
      slave: 1
      address: 144
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: Hz
      device_class: frequency

    - name: meter-consumption
      slave: 1
      address: 0
      input_type: holding
      data_type: float32
      count: 2
      precision: 2
      unit_of_measurement: kWh
      device_class: energy_storage
add meter to HA dashboard:
   

Print this item

  RF Remote control nothing received
Posted by: Serci - 02-15-2024, 07:06 PM - Forum: KC868-AG/AG Pro - Replies (10)

Hello,

I bought a K868-AG in order to control some
remote controlled plugs maclean with the remote control MCE07  (https://aio.lv/en/product--maclean-mce07--304163)
and also a curtain with a remote AC114-01B

I configured the K868-AG with tasmota

I'm able to receive RF from other remote control but not the two I bought the product for.

What are the problem specifically with those remote control ? since it does work with other remote control, I do not think, I'm doing anything wrong.

I saw that the capabilities off sonoff rf bridge could be extended by adding portish firmware.
Does it exist for k868-AG ?
Is there anything I could do to make it work ?

Print this item

  KC868-server Ultrasonic and Gas sensors
Posted by: Mandlap - 02-15-2024, 10:31 AM - Forum: "KCS" firmware system - Replies (5)

Please advice on testing ultrasonic sensor (HC-SR04) with KC868-Server. I have a power source of 5Vdc. I'm trying to figure where to connect the "Echo" and "Trigger" pins on the Server and will appreciate the ESPhome code. 
I'm also testing the gas sensor (MQ8), trying to figure where to connect the "Dout" and Aout" pins on the Server and will appreciate the ESPhome code.

Print this item

  KC868-A8 Help
Posted by: Vaughan2024 - 02-14-2024, 10:52 PM - Forum: KC868-A series and Uair Smart Controller - Replies (5)

I recently brought a new board in order to connect to my home assistant via esphome. 
I have been following the training from lesson 21 in order to experiment with writing the code unfortunately I am getting errors and cannot upload to the device.
I was wanting to just set up a basic example like lesson 21 with 8 inputs 8 outputs and a temperature sensor and get them to show up in home assistant when I copy the code from lesson 21 and modify to suit my network specification I cannot upload.
any help would be appreciated.

https://www.kincony.com/forum/showthread.php?tid=824

Print this item

  Set ON/OFF one channel of digital output
Posted by: kloper360 - 02-14-2024, 11:46 AM - Forum: KC868-A16 - Replies (6)

I just got my boards and wanted to test the HTTP GET SET commands to read or set the IOs, but somehow I am not abel to do it. 
Hope somebody here can help me find the issue.

I got this documentation: https://www.kincony.com/forum/attachment.php?aid=2871
It explains clearly what commands to use. 
For example: http://192.168.1.200/ctrl.cgi?secret=abc...=1&value=1
This should set the Output1 to HIGH, but I its not and I am getting the messege in the browser: {"code":-2,"status":"http not open"}

According to the documentation I need to set the "secret" in the board settings, but I cant find that field anywhere.
I am using version: v2.2.2

I can access the board over the IP, I can monitor IOs and I can set them manually to high or low... its only that my HTTP request command doesnt do it.

The other issue is, I cant seem to trigger digital input... atleast its never showing green in the monitor page. I tryed to apply 12V and 24V to it, but nothing is registered. Do digital inputs need to be activated somehow first?

I am using a 24V power supply to digital input ground and pin1.

Thanks in advanced!

Print this item

  Kcs question
Posted by: andrewbenito - 02-14-2024, 09:28 AM - Forum: "KCS" firmware system - Replies (5)

Hello. With kcs, it is possible that two boards e16p to talk with each other? I mean, I want with an digital pin from board 1 to control an output from board 2. It is possible? Thx

Print this item

Photo AIO connection rs485 modbus temperature humididty sensor
Posted by: Tolyanskiy - 02-13-2024, 06:36 PM - Forum: KC868-AIO - Replies (2)

Hi! I have a problem with connect   CWT-TH03S Series RS485 temperature humidity sensor  to my   AIO board.    
This is my esphome code :

uart:
  id: mod_bus
  tx_pin: 33
  rx_pin: 32
  baud_rate: 9600
  stop_bits: 1
  parity: EVEN

 
modbus:
  id: modbus1
  uart_id: mod_bus
  send_wait_time: 200ms


modbus_controller:
  - id: temp_hum_meter
    modbus_id: modbus1
    address: 0x03
    update_interval: 5s


sensor:
  - platform: modbus_controller
    modbus_controller_id: temp_hum_meter
    name: "Temperature"
    id: modbus_temperature
    register_type: holding
    address: 0x00
    unit_of_measurement: "%rh"
    value_type: FP32
    accuracy_decimals: 1    
  - platform: modbus_controller
    modbus_controller_id: temp_hum_meter
    name: "Humifdity"
    id: modbus_humidity
    register_type: holding
    address: 0x01
    unit_of_measurement: "℃"
    value_type: FP32
    accuracy_decimals: 1


And in log file i have this errors

[W][modbus_controller:136]: Duplicate modbus command found: type=0x3 address=1 count=2
[20:30:21][D][modbus_controller:043]: Modbus command to device=3 register=0x01 countdown=0 no response received - removed from send queue

What i doing wrong? Please help.  

RS485 comunication parameters

20:2



Attached Files Thumbnail(s)
   
Print this item

  A24 Display options
Posted by: Yocee - 02-13-2024, 04:12 PM - Forum: KinCony A24 - Replies (3)

Is there any possibility to connect a display to the A24 panel? I do not use the gsm connection, nor the K-thermometers.

Print this item

  Can the relays of the KC868 H32B be configured to be normally closed
Posted by: Borja - 02-13-2024, 08:25 AM - Forum: KC868-HxB series Smart Controller - Replies (1)

¿Can the relays of the KC868 H32B be configured to be normally closed? ¿or is there any other similar module that have normally closed relays?

Print this item

  B. OpenSource Smart Home with proprietary components
Posted by: white - 02-12-2024, 01:38 PM - Forum: Apply for free sample product - No Replies

Hi, I'm have plan to make a open source system for smart home proprietary components. for this I just searching components what I can use in my project and your KC868-A4 is looking good. At first stage I want to complete all components and make a sample system calaborated with Home Assistans, then I'll make a working system maybe with more Kinciny components, who knows Smile  Boundle E look good for start. maybe do you have CT Clamp sensors too?

If you want to know more about this feel free to write and ask.

Print this item