Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107556

Zigbee2mqtt with socat configuration

$
0
0

@bvdvoorn wrote:

I have zigbee2mqtt home assistant add-on with working configuration. Now I want to move the zigbee usb stick in other location, but without moving my home assistant box.

I connected zigbee stick to another rp and installed ser2net - using instructions on https://www.zigbee2mqtt.io/how_tos/how_to_connect_to_a_remote_adapter.html.

CONFIGURATION FILE:

data_path: /share/zigbee2mqtt
devices: devices.yaml
groups: groups.yaml
homeassistant: true
permit_join: false
mqtt:
  base_topic: zigbee2mqtt
  server: 'mqtt://***********:1883'
  user: *******
  password: *********
serial:
  port: /dev/ttyZ2M
advanced:
  pan_id: 6754
  channel: 11
  network_key:
    - 1
    - 3
    - 5
    - 7
    - 9
    - 11
    - 13
    - 15
    - 0
    - 2
    - 4
    - 6
    - 8
    - 10
    - 12
    - 13
  availability_blacklist: []
ban: []
whitelist: []
queue: {}
socat:
  enabled: true
  master: 'pty,raw,echo=0,link=/dev/ttyZ2M,mode=777'
  slave: >-
    192.168.10.171:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  restartdelay: 1
  initialdelay: 1
  options: '-d -d'
  log: false

The log file gives the following error:

2020/06/06 22:23:08 socat[9706] N PTY is /dev/pts/0
2020/06/06 22:23:08 socat[9706] E unknown device/address "192.168.10.171"
2020/06/06 22:23:08 socat[9706] N exit(1)
[Info] Socat process terminated, restarting after 1 sec

Anyone who can tell what is wrong?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 107556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>