yllibed / Zigbee2MqttAssistant

GUI for Zigbee2Mqtt running in docker and HASS.IO
450 stars 42 forks source link

[BUG]Docker install does not show my devices and says bridge is offline #341

Open FranciscoTrigo opened 3 years ago

FranciscoTrigo commented 3 years ago

Describe the bug

To Reproduce

Run use docker in the same pi as zigbee2mqtt

Expected behavior For it to work

Steps I took to try resolve the problem

Check settings and docker command:

homeassistant: true
permit_join: true
mqtt:
  base_topic: zigbee
  server: 'mqtt://192.168.1.29:1883'
  user: mqtt
  password: mqtt
advanced:
  log_level: debug
  channel: 20
serial:
  port: /dev/ttyACM0
devices:
 ...

sudo docker run -p 8880:80 -e "Z2MA_SETTINGS__MQTTSERVER=192.168.1.29" -e "Z2MA_SETTINGS__MQTTUSERNAME=mqtt" -e "Z2MA_SETTINGS__MQTTPASSWORD=mqtt" -e "Z2MA_SETTINGS_BASETOPIC=zigbee" --restart unless-stopped carldebilly/zigbee2mqttassistant

Screenshots

image

skloos68 commented 3 years ago

Hi, I have the same issue. I have the docker running om ubuntu VM on a proxmox host. runs like a charm. unfortunatelly zigbee2mqttAssistant states that the bridge is offline. zigbee2mqtt is running on a seperate raspberry pi 4 working with the mqtt docker on the same ubunto Vm as the zigbee2mqttAssistant. I aslo use Homeassistant and not HACS.io

I use very similar settings as stated in above ticket.

urban-thinking commented 3 years ago

Same here, getting:

zigbee2mqtt_assistant    | fail: Microsoft.AspNetCore.Antiforgery.DefaultAntiforgery[7]
zigbee2mqtt_assistant    |       An exception was thrown while deserializing the token.