danielwelch / hassio-zigbee2mqtt

Hass.io add-on for zigbee2mqtt
Apache License 2.0
566 stars 189 forks source link

502: Bad gateway on new install with Con Bee 2 as addon to HA placed on VM #545

Closed Ernst10717900 closed 2 years ago

Ernst10717900 commented 2 years ago

I can't fix my problem need help. I was migrating from intgrated zigbee to zigbee2mqtt I uninstaled my zigbee before installing but no succes for day's

Config file.txt

Thanks in advanced Ernst

Bascht74 commented 2 years ago

Try to find out the correct port of your device (in HA got to Settings -> Supervisor -> System --> 3 dots @ host --> Hardware:

image

Change the configuration to the shown device like this in your config: Be sure to add adapter: deconz if you have a Conbee adapter. Look here: https://www.zigbee2mqtt.io/guide/configuration/adapter-settings.html

# Optional: adapter type, not needed unless you are experiencing problems (default: shown below, options: zstack, deconz, ezsp)
  adapter: null
serial:
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DExxxxxxx-if00
  adapter: deconz
Ernst10717900 commented 2 years ago

Hello thanks in advance for trying to help but i still have problems Whats going on. My last action was updating from mqtt version 1.18.1. to version 1.22.1-1

With configuration as below

data_path: /config/zigbee2mqtt external_converters: [] devices: devices.yaml groups: groups.yaml homeassistant: true permit_join: false mqtt: base_topic: zigbee2mqtt user:mqtt pass:mqtt serial: port: /dev/ttyACM0 adapter: deconz advanced: log_level: warn pan_id: 6754 channel: 11 network_key:

Then i see only a warning like this

Zigbee2MQTT:warn 2021-12-24 09:26:14: Using experimental new availability feature

Any changing in config goes to error like this

Zigbee2MQTT:error 2021-12-21 08:11:14: Error while starting zigbee-herdsman Zigbee2MQTT:error 2021-12-21 08:11:14: Failed to start zigbee Zigbee2MQTT:error 2021-12-21 08:11:14: Exiting... Zigbee2MQTT:error 2021-12-21 08:11:14: Error: Failed to connect to the adapter (Error: SRSP - SYS - ping after 6000ms)

When i use the config with only a warning and start Zigbee2qmtt the app has no more bad gateway but Shows Loading please wait with a turnig cursor and that's it It shows allso the menu but nothing happens.

Any changing i made goes to error or bad gatway.

I ven made a new virtual machine and installation with only the conbee 2 adaptor but he problems are the same I can't find out what i,m doing wrong

I'm desperate.

Maybe a dumb question but is there any possibility to help me for example by connecting over teamviewer remote support? I would be extremely thankfull.

Ernst10717900 commented 2 years ago

By the way changing to port to : port: >- /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2460721-if00

Makes no difference at all

Ernst10717900 commented 2 years ago

I have extra info now. When i set my sound i hear on my host machine where i use vm ware for the virtual machine i hear a sound This sound appears when i start zigbee2mqtt for 4 times, the same like i connect the zigbee stick in hardware

When i look at the vm i can see the stick is connected to th virtual homeassistant I can find the stick in HA hardware.

Ernst10717900 commented 2 years ago

Last update IT WORKS I realy don't know why it was a little bit of try and error and suddenly ..............eureka