Closed broeredaan closed 3 years ago
Sadly this issue is missing a lot of formatting which makes it hard to read :(
You might wan't to check out https://guides.github.com/features/mastering-markdown/ when time is available ✌️
Just to make sure, your config.yml
is propperly formattet, right?
eufy:
username: "mymail"
password: "mypass"
mqtt:
url: "mqtt://mqttip:1883"
username: ""
password: ""
keepalive: 60
home_assistant:
off_delay: 5
It looks like this, with the indentation?
@MaxWinterstein Thanks for the answer I have updated my comment with better formatting and screenshots. For the .yml I copied the example and filled by own data seems proper to me. But it just seems like its simply unable to read it somehow. I run it within docker synology and have given the file within chmod -R 777 just in case but no luck. Not sure how I can access the /home/node/.npm .... debug.log within a non-running docker container. That would probably give more info
@broeredaan thanks for the work of formatting 👍
Mounting folders on synology docker is always a little ugly. And, the docker version used at DSM is pretty old.
To make sure there is no additional folder created, and after all those years in IT stuff like this happens to me too, i would recommend mounting just the config file for testing.
/volume1/appdata/eufy-bridge/data/config.yml -> /app/data/config.yml
@MaxWinterstein No luck still Maybe I should look into not running docker on synology then. It does confuse me because I have docker containers running multiple things without fault
Ah I removed the full folder volume binding and I did get a different message
> eufy-ha-mqtt-bridge@1.0.0 start /app
> NODE_ENV=production node --unhandled-rejections=strict index.js
(process:29): VIPS-WARNING **: 15:29:37.047: unable to load "/usr/lib/vips-modules-8.11/vips-heif.so" -- Error relocating /usr/lib/libheif.so.1: de265_get_image_full_range_flag: symbol not found
The issue here is the 0.2.19 image. Try the 0.2.17 tag, it should work better.
See https://github.com/matijse/eufy-ha-mqtt-bridge/issues/76
I guess, the bind must end with a slash to mount the data from the folder mentioned, not the folder itself at the mountpoint.
/app/data/data/config.yml
vs /app/data/config.yml`
Changes to 0.2.17 and no more errors. I'll mess around with the bindings some more but issue is solved. Thank you :)
Hello I'm trying to setup the bridge in a container but it cant seem to get it to read the config.yml I created
Seems to be a read issue or something but I don't know how to get better logs from this. Anyone able to clarify? This feels like an utter noob question but I just cant figure it out for some reason.
Thank you :)
Docker
/volume1/appdata/eufy-bridge/data | /app/data
config.yml
Error