Hi Akbooer, et al,
I wanted to let you know I have published a docker image of DataYours. It runs openLuup and is specifically configured for DataYours. I am working on another Docker image of just openLuup that could then run whatever other plugins you’d like, but I had to configure this one to allow for setting of Vera IPs and other specific DataYours configurations. This was inspired by the the RaspberryPI thread.
My main goal was to get DataYours running on my Synology, which I successfully have done through Docker.
You can find the image here: https://hub.docker.com/r/airedale/datayours/
Specifically, for datayours to work, there are a few settings that have to be configured.
- DataWatcher must be running on your Vera and configured to send its data to the proper IP and port. DockerIP:2003
- Configure your docker image to expose these ports: 2003/udp, 3480. Port 80 is really optional and can be ignored.
- Configure your mount point for the database files. I have it on a folder on the Synology - obviously, you need to decide how this works for you. It needs to map to the internal /nas directory.
- Configure your remote Vera IPs. This is done through an ENV variable “veraips”
***My assumption is that you can have multiple Vera IPs and just separate them by a comma. If someone could confirm, that would be great. I only have one vera up at the moment.
Here is an example of the run command:
docker run --name DataYours -e “veraips=192.168.6.2” -v /your/local/directory:/nas -p 2003/udp:2003/udp -p 80:80 -p 3480:3480 airedale/datayours
For the Synology configuration, I am going to post a quick writeup on my website and share that with everyone shortly.
In terms of running the whole entire DataYours with a Vera Bridge, I am considering going down that path, but need to solve some things that happen with the way the code interprets the host IP. Docker uses NAT, and therefore the IP for the links is incorrect. I will work through it though.