maybe not a direct answer to your question, but why not restart the docker? does not take that much time
Search found 16 matches
- Thursday 13 May 2021 15:52
- Forum: General Discussion
- Topic: Oficial Docker Container
- Replies: 210
- Views: 100838
- Friday 07 May 2021 12:19
- Forum: General Discussion
- Topic: Oficial Docker Container
- Replies: 210
- Views: 100838
Re: Oficial Docker Container
return { on = { system = { 'start', }, }, logging = { level = domoticz.LOG_DEBUG, marker = 'start', }, execute = function(dz) dz.devices('Linphone-S').switchOn().afterSec(20) end } #!/bin/bash apt update && apt -y dist-upgrade apt install -y <here your packages> exit
- Friday 07 May 2021 10:56
- Forum: General Discussion
- Topic: Oficial Docker Container
- Replies: 210
- Views: 100838
Re: Oficial Docker Container
Some questions about the domoticz docker: How can I create my own docker after installing some extra packages like: - apt update - apt install curl - apt install python - apt install python-requests - apt-get install sudo - apt-get install openssh-server All needed for getting my scripts working ...
- Friday 30 April 2021 19:58
- Forum: General Discussion
- Topic: Oficial Docker Container
- Replies: 210
- Views: 100838
Re: Oficial Docker Container
I run the domoticz docker on my QNAP and it runs fine. There is however one thing i can't seem te resolve. The docker will not autostart after a restart of the QNAP nas. I think the cause is that the device (RFXCOM) is not ready yet at the qnap when the docker is starting up. I use the device option ...
- Thursday 29 April 2021 18:01
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
you don't need to do this everytime
you map the drive location to a folder on the host so it is persistent when you upgrade or reinstall the docker
in my case i had to create the specified folders on the host
you map the drive location to a folder on the host so it is persistent when you upgrade or reinstall the docker
in my case i had to create the specified folders on the host
- Thursday 29 April 2021 13:09
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
you are right, the directories did not exist (i use a QNAP).
I created them and now the script starts.
I created them and now the script starts.
- Thursday 29 April 2021 11:45
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
2021-04-29 11:42:14.346 Error: EventSystem: problem writing file: /opt/domoticz/userdata/scripts/dzVents/generated_scripts/linphone-init.lua
Seems to be an access issue?
Seems to be an access issue?
- Thursday 29 April 2021 11:10
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
Code: Select all
return
{
on =
{
system =
{
'start',
},
},
logging =
{
level = domoticz.LOG_DEBUG,
marker = 'start',
},
execute = function(dz)
dz.devices('Linphone-S').switchOn().afterSec(10)
end
}
- Thursday 29 April 2021 10:50
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
2021-04-28 19:14:56.883 Status: Domoticz V2021.1 (build 13240) (c)2012-2021 GizMoCuz 2021-04-28 19:14:56.883 Status: Build Hash: d626bc52f, Date: 2021-04-28 07:52:07 2021-04-28 19:14:56.883 Status: Startup Path: /opt/domoticz/ 2021-04-28 19:14:56.916 Status: PluginSystem: Started, Python version '3 ...
- Thursday 29 April 2021 10:43
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
sorry, where can i find the log? there is nothing in the /config or /userdata
- Wednesday 28 April 2021 18:54
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
yes it is made with the internal editor
before the change to the new docker image i see this in the log of the switch: EventSystem//opt/domoticz/dzVents/runtime/dzVents.lua
now there is nothing exept for when i turn it on manual.
before the change to the new docker image i see this in the log of the switch: EventSystem//opt/domoticz/dzVents/runtime/dzVents.lua
now there is nothing exept for when i turn it on manual.
- Tuesday 27 April 2021 17:48
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Using Docker and userscripts (Lua, DzVents, Python)
- Replies: 57
- Views: 8624
Re: Using Docker and userscripts (Lua, DzVents, Python)
I changed my docker from the demydiuk/domoticz repo to the new official domoticz/domoticz one. I had to import the database but further all ok exept i also have the issue that a simple DzVents script i created (to switch on a device after start of domoticz) is not running. I read this topic and the ...
- Sunday 13 September 2020 20:42
- Forum: dzVents
- Topic: Turn dummy switch on when domoticz starts up [Solved]
- Replies: 4
- Views: 861
- Sunday 13 September 2020 20:13
- Forum: dzVents
- Topic: Turn dummy switch on when domoticz starts up [Solved]
- Replies: 4
- Views: 861
Turn dummy switch on when domoticz starts up [Solved]
I'm trying to get a dzVents script going which turns a switch on when domoticz starts up. But i am quite a noob in scripting and can not get it to work. And i can not find a likewise example on the internet. This i made sofar but it does not do the trick. (Linphone-S is the switch) return { on ...
- Thursday 21 May 2020 15:31
- Forum: Others
- Topic: TP-Link Tapo wifi plug
- Replies: 62
- Views: 19234
TP-Link Tapo wifi plug
Does anyone have experience with the new TP-Link Tapo P100 plug? https://www.tp-link.com/nl/home-network ... tapo-p100/
- Sunday 12 January 2020 19:21
- Forum: Temperature and Weather
- Topic: Evohome with webapi no blocky control possible?
- Replies: 8
- Views: 2692
Re: Evohome with webapi no blocky control possible?
anyone with a solution?