Search found 10 matches

by BPMb
Monday 09 November 2020 11:11
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: debian-domoticz v1.0 (with letsencrypt and Toon API)
Replies: 2
Views: 392

Re: debian-domoticz v1.0 (with letsencrypt and Toon API)

I'm using Linux as host (Ubuntu 20) but as far as I know you should be able to use this for Windows as well.. I do know the Windows version of Docker has a setting that lets you choose between Linux based and Windows based images, you should choose Linux there. I did find this little piece of ...
by BPMb
Friday 06 November 2020 16:55
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: debian-domoticz v1.0 (with letsencrypt and Toon API)
Replies: 2
Views: 392

Re: debian-domoticz v1.0 (with letsencrypt and Toon API)

My pleasure!

You don’t have to expose a port for MQTT. An MQTT broker isn’t included but this container is perfectly able to connect to one. You could add one to this docker-compose and also assign it to the domoticz_network
by BPMb
Wednesday 04 November 2020 21:36
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: debian-domoticz v1.0 (with letsencrypt and Toon API)
Replies: 2
Views: 392

debian-domoticz v1.0 (with letsencrypt and Toon API)

I was using the Linuxserver docker image but I needed Toonapilib4domoticz to be included and installing it afterwards is not how it should be done.. So, I decided to make my own Domoticz docker image with Toonapilib4domoticz preinstalled. Toonapilib4domoticz: https://github.com/JohnvandeVrugt ...
by BPMb
Sunday 01 November 2020 18:23
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Building domoticz from source gets me previous version
Replies: 10
Views: 710

Re: Building domoticz from source gets me previous version

I will once I'm done, next problem is to get the toonapilib4domoticz plugin preinstalled in the image. It's there but I get an error when it tries to load so needs some more work I'm afraid! :D

edit: I keep the db on my ZFS mount and simply mount that into the container
by BPMb
Sunday 01 November 2020 15:30
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Building domoticz from source gets me previous version
Replies: 10
Views: 710

Re: Building domoticz from source gets me previous version

Thanks for all the suggestions @kiddigital. I've solved it like this: At the top of the dockerfile: ARG DOMOTICZ_VERSION="master" And then later: # Domoticz cd /opt && \ git clone -b "${DOMOTICZ_VERSION}" --depth 2 https://github.com/domoticz/domoticz.git domoticz && \ cd domoticz && \ git fetch ...
by BPMb
Saturday 31 October 2020 10:21
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Building domoticz from source gets me previous version
Replies: 10
Views: 710

Re: Building domoticz from source gets me previous version

I thought I would want the stable, the message about the update should also be about the stable release (that's all that's configured in the update check inside Domoticz in any case). Do I need the beta branch in order to get the latest stable release? Or do you think the version it suggests I ...
by BPMb
Saturday 31 October 2020 10:03
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Building domoticz from source gets me previous version
Replies: 10
Views: 710

Re: Building domoticz from source gets me previous version

I do see some errors in the build process: CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases. and a little later: [ 15%] Building C object extern ...
by BPMb
Saturday 31 October 2020 9:30
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Building domoticz from source gets me previous version
Replies: 10
Views: 710

Re: Building domoticz from source gets me previous version

Thanks for you reply! My entrypoint is indeed a script that calls /opt/domoticz/domoticz. I had a look and although a bin subdirectory exists (i.e. /opt/domoticz/bin), there are no files in there.. I did a quick search on the system and can't find any other domoticz binary to launch either.. Any ...
by BPMb
Saturday 31 October 2020 8:26
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Building domoticz from source gets me previous version
Replies: 10
Views: 710

Building domoticz from source gets me previous version

Hi there! I've been running Domoticz in Docker using the Linuxserver Docker image but it doesn't give me the latest version so I decided to make my own. In the image, I clone the domoticz git and build it, which is succesful, but when I start the image and login I still get the message saying that a ...
by BPMb
Thursday 27 April 2017 1:36
Forum: Python
Topic: Python dimmer/ light script for use in scene
Replies: 0
Views: 1190

Python dimmer/ light script for use in scene

Hi guys! New to this forum as a user but have been coming back to this website as a reader the last week or so. Lots of useful information here so I thought I'd share a little script I made. I made the script for use in my 'Home' preset that sets my thermostat to 21 degrees and turns a (dimmed ...