Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A32 Pro ESPHome yaml include RS485 modbus temperature humidity sensor
#11
if you are using USB-RS485 adapter plugin to Pi's USB port. just find out the RXD,TXD pin.
Reply
#12
I would like to make it work on the KC-868 AIO rs485 port using yaml code. Is it possible?

Tutorial for yaml?
Reply
#13
sure. as same as the A32 Pro's sample yaml code.
Reply
#14
Is there a TUTORIAL to understand how yaml works?
Reply
#15
some basic knowledge you can search by Google.
Reply
#16
(12-16-2024, 11:21 AM)admin Wrote: some basic knowledge you can search by Google.

For around 1000usd spent on your products, this is not the kind of aftersales expected... 
So you only support the hardware or we should buy YOUR server to get answers?

Of course there are a lot of GENERIC yaml tutorials but not specific on YOUR platform and how to integrate sensors to it..
Reply
#17
there are many different RS485 sensor with different protocol. ONLY you know your RS485 sensor protocol, so you need according to ESPHome modbus controller for integration.We will provide directions for problem-solving, but it does not mean we will help you complete everything. Everyone needs to learn.
Reply
#18
(12-17-2024, 11:43 PM)admin Wrote: there are many different RS485 sensor with different protocol. ONLY you know your RS485 sensor protocol, so you need according to ESPHome modbus controller for integration.We will provide directions for problem-solving, but it does not mean we will help you complete everything. Everyone needs to learn.

That is why I asked a GENERAL tutorial for yaml. I didn't ask for the pins etc.
Everytime I try to input code for anything except the original yaml it returns errors and something stops working.

I have watched more than a dozen yaml videos already but they do not help with setting up KinCony boards.
Reply
#19
there are two demo yaml for RS485 device video tour:
https://youtu.be/xEvOK3R12kc
https://youtu.be/xmBWzVGpggo

i have said, you need check your rs485 sensor modbus protocol, find out the register address of your sensor, modify in yaml.
Reply
#20
(10-08-2024, 01:51 AM)admin Wrote: 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: 0x0000
    register_type: holding
    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: 0x0001
    register_type: holding
    value_type: U_WORD
    unit_of_measurement: "%"
    accuracy_decimals: 1
    filters:
      - multiply: 0.1


How can we find:

Device address
Temp sensor address
Humidity address ?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)