Hardware: FriendlyElec Nanopi R5S with 1TB SSD installed locally. Sonoff ZBDongle-P with latest formware, used to work perfectly in HAOS setup
Software: FriendlyWRT/OpenWRT with Docker CE
First step: Mount, partition, format the NVME and map it in etc/fstab as media/nvme. SSD works fine.
Second step: Install HA Container, works like a charm. Sonoff stick shows up, all fine. Just I need Zigbee2MQTT for several things.
Third step: Installing Zigbee2MQTT as separate containers, so my expectation were 3 containers: HA, Z2M and Mosquitto.
First I set my Docker dir to the SSD, i.e. to media/nvme
Thanks for the advice and sorry for not posting as text - I really tried but from the console in web interface I was really not able to copy the text. Will find a way next time. Now I will look how to tell Z2M to use port 1883 for MQTT.
Many thanks so far - my mistake was to not enter a name in the docker-compose-file, so maybe it was generated automatically. So I renamed the mosquitto container “mqtt” (first in the GUI and then also in the docker-compose-file to make sure) and restarted zigbee2mqtt - no success.
Maybe I tried to connect to the zigbee2mqtt GUI wrong - I tried localhost:8080 which worked (as localhost:8123 of course) with the HA container. So I did not have to do any port forwarding or so to access the container. Do I have to for Zigbee2MQTT?
My feeling is that zigbee2mqtt is up and running but I cannot reach it and wonder what is my mistake.
Do I have to
Many thanks for the hints. So yes in my docker-compose-file there was no container name so maybe docker(compose) just named it - so I entered it in the File and now it is names mqtt. Then I restarted everything but no success.
Do I contact it the right way by just accessing
This is what worked with HA (of course port 8123) but maybe Zigbee2MQTT is up and running already and I simply don’t contact it the right way. So so I have to do some port forwarding that HA Docker does automatically? Is there another way of contacting it except “localhost”?
The reason I am asking is the error message
that I get. No timeout or so.
Or does it require HA in any way? Because right not HA is not running (running out of memory for unclear reasons).
To summarize what errors I made, what I did and how to avoid it next time:
Zigbee2MQTT could not find MQTT. Why? In the docker-compose.yml I did not have
Once I accidently did try to login to localhost. This was stupid of course as this tries to login to my laptop and not my HA computer. When using http://friendlywrt:8080/ (friendlywrt is the local name on my R5S) it did login to the correct machine
Zigbee2MQTT did not know which port to put the frontend on. So adding