![]() |
|
KC868-a16 XY-MD02 SHT20 - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: News (https://www.kincony.com/forum/forumdisplay.php?fid=5) +--- Thread: KC868-a16 XY-MD02 SHT20 (/showthread.php?tid=8402) |
KC868-a16 XY-MD02 SHT20 - silver_kruf - 08-02-2025 Good day. I ordered a temperature and humidity sensor, I'm trying to connect it, but the sensor doesn't respond. Maybe I'm doing something wrong. I connected it via USB, and also via KC868-a16 RE: KC868-a16 XY-MD02 SHT20 - admin - 08-02-2025 disconnect with KC868-A16, let USB-RS485 adapter connect to sensor to test firstly. RE: KC868-a16 XY-MD02 SHT20 - silver_kruf - 08-02-2025 (08-02-2025, 05:57 AM)admin Wrote: disconnect with KC868-A16, let USB-RS485 adapter connect to sensor to test firstly. This was done at the very beginning. Look at the photo carefully! RE: KC868-a16 XY-MD02 SHT20 - silver_kruf - 08-02-2025 # Config Modbus modbus: uart_id: uart_modbus id: modbus1 modbus_controller: - id: modbus_sensor address: 0x01 # device address modbus_id: modbus1 sensor: - platform: modbus_controller modbus_controller_id: modbus_sensor name: "RS485 Temperature Sensor" id: temperature_sensor address: 0x0001 register_type: read value_type: U_WORD unit_of_measurement: "°C" accuracy_decimals: 1 filters: - lambda: if (x < 10000) return x * 0.1; else return -1 * (x - 10000) * 0.1; - platform: modbus_controller modbus_controller_id: modbus_sensor name: "RS485 Humidity Sensor" id: humidity_sensor address: 0x0002 register_type: read value_type: U_WORD unit_of_measurement: "%" accuracy_decimals: 1 filters: - multiply: 0.1 Теперь работает! RE: KC868-a16 XY-MD02 SHT20 - admin - 08-03-2025 you can try to hold on the RESET button of sensor, hold on 5 seconds, release it , will reset the sensor, then the RS485 address will be set to 1 |