Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- modbus:
- - name: hub1
- close_comm_on_error: true
- delay: 1
- timeout: 1
- type: tcp
- host: 192.168.XXX.XXX
- port: 502
- binary_sensors:
- - name: Drzwi
- address: 10
- scan_interval: 1
- slave: 255
- input_type: discrete_input
- device_class: door
- - name: Czujka 2
- address: 11
- scan_interval: 1
- slave: 255
- input_type: discrete_input
- device_class: motion
- - name: Okno 1
- address: 21
- scan_interval: 1
- slave: 255
- input_type: discrete_input
- device_class: window
Advertisement
Add Comment
Please, Sign In to add comment