Search found 27 matches

by YOYO
Sunday 21 March 2021 17:27
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Using Docker and userscripts (Lua, DzVents, Python)
Replies: 57
Views: 8630

Re: Using Docker and userscripts (Lua, DzVents, Python)

I think it might be a rights issue outside the container. Well i looked it up in OMV but the rights there are read/write/execute for everyone. Double checked it with putty so the rights outside the container are fine. Also when adding a new script there is usually a example or part of the code ...
by YOYO
Thursday 18 March 2021 21:26
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Using Docker and userscripts (Lua, DzVents, Python)
Replies: 57
Views: 8630

Re: Using Docker and userscripts (Lua, DzVents, Python)

Good question ! Because the Lua interpreter responsible for the execution of the dzVents runtime modules and the for dzVents userscripts, the userscripts stored in the database are written to the domotcz server filesystem by domoticz before they can be executed. This happens on every save of a ...
by YOYO
Thursday 18 March 2021 19:50
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: Using Docker and userscripts (Lua, DzVents, Python)
Replies: 57
Views: 8630

Re: Using Docker and userscripts (Lua, DzVents, Python)

Hi Waaren, i got a question about the quote below: dzVents scripts created with the internal event editor are stored in the database and so part of the backup. Wherever the database is, these script are. dzVents also allow scripts to be placed in the <domoticz dir>/scripts/dzVents/scripts folder ...
by YOYO
Thursday 18 March 2021 18:25
Forum: General Discussion
Topic: Oficial Docker Container
Replies: 210
Views: 100871

Re: Oficial Docker Container

@YOYO did you also try the solution of @EddyG ? - ./config/plugins:/opt/domoticz/userdata/plugins - ./config/scripts:/opt/domoticz/userdata/scripts Hi Walter, Yes i did. The binding works and the folder appears twice which is logical because in the config i allready have: /sharedfolders/Dockerdrive ...
by YOYO
Wednesday 17 March 2021 13:48
Forum: General Discussion
Topic: Oficial Docker Container
Replies: 210
Views: 100871

Re: Oficial Docker Container

If you have in composer (like in the documentation) volumes: - ./config:/opt/domoticz/userdata And in ./config you have 2 folders, plugins and scripts. Then it should also work? This doesn't work for me. Maybe its because im running docker within OMV but i don't have a real composer (Or i dont know ...
by YOYO
Monday 08 March 2021 13:00
Forum: General Discussion
Topic: Oficial Docker Container
Replies: 210
Views: 100871

Re: Oficial Docker Container

Hello, Today i switched from the Linuxserverio docker image to the official docker image. Seems to work fine in general but i cant import my scripts folder from the old docker image. Scripts should be located in /opt/domoticz/scripts but that map is empty on the image. i made an persistent link in ...
by YOYO
Saturday 27 February 2021 10:29
Forum: Z-Wave
Topic: Problem after failing master
Replies: 0
Views: 206

Problem after failing master

Hello all, Since a few weeks i noticed some performance problems in my zwave setup. At first i thought it was just to weak so i decided to explore the usage of a secondary controller on a secondary domoticz. Things seemed to get better but yesterday i noticed a growing amount of error messages in ...
by YOYO
Friday 22 January 2021 23:35
Forum: dzVents
Topic: Going from scientific to number with decimal/period
Replies: 6
Views: 537

Re: Going from scientific to number with decimal/period

As I showed in my previous post this error is not because of the string / number conversion. Maybe I can help if you also share the script. Seems youre right again. I am missing the check on syntax of defined variables because a small type error is easily made. Corrected the error and now it seems ...
by YOYO
Friday 22 January 2021 23:12
Forum: dzVents
Topic: Going from scientific to number with decimal/period
Replies: 6
Views: 537

Re: Going from scientific to number with decimal/period

Yes i did and got this one back:

Code: Select all

2021-01-22 23:10:00.553 Error: dzVents: Error: (3.0.2) Stadsverwarming: /config/scripts/dzVents/generated_scripts/Script #3.lua:59: attempt to index a nil value
by YOYO
Friday 22 January 2021 22:54
Forum: dzVents
Topic: Going from scientific to number with decimal/period
Replies: 6
Views: 537

Re: Going from scientific to number with decimal/period

Hi Waaren,

Thats works for printing i see.
But to transfer this to a virtual sensor cant be working in my reasoning as you make a string out of a number?
Try'd to look up if a .format is available for numbers but cant find something like that?
by YOYO
Friday 22 January 2021 21:41
Forum: dzVents
Topic: Going from scientific to number with decimal/period
Replies: 6
Views: 537

Going from scientific to number with decimal/period

Hello, So im still working on a script thats gonna tell me how much energy im taking from the city heating net here. Therefor im calculation how much Gj im using on a specific moment. The problem is that the result of the calculation comes with a verry small number: 2021-01-22 21:38:00.410 Status ...
by YOYO
Wednesday 20 January 2021 15:39
Forum: dzVents
Topic: Problem using Costum sensor [Solved]
Replies: 5
Views: 591

Re: Problem using Costum sensor [Solved]

@waaren

You where right checked the whole script on typ errors and found some.
Many thanks! :D
by YOYO
Wednesday 20 January 2021 12:15
Forum: dzVents
Topic: Problem using Costum sensor [Solved]
Replies: 5
Views: 591

Re: Problem using Costum sensor [Solved]

Yes thats giving something: 2021-01-20 12:12:00.293 Status: dzVents: Info: Stadsverwarming: ------ Start internal script: Script #4:, trigger: "every minute" 2021-01-20 12:12:00.293 Status: dzVents: !Info: Stadsverwarming: Temp In 69.38 °C 2021-01-20 12:12:00.293 Status: dzVents: Info: ...
by YOYO
Wednesday 20 January 2021 11:26
Forum: dzVents
Topic: Problem using Costum sensor [Solved]
Replies: 5
Views: 591

Re: Problem using Costum sensor [Solved]

Hi Waaren, Here is the result for youre code: 2021-01-20 11:19:00.267 Error: dzVents: Error: (3.0.2) /config/scripts/dzVents/generated_scripts/Script #3.lua:13: attempt to concatenate a nil value (global 'TEMP_IN') 2021-01-20 11:19:00.268 Error: dzVents: Error: (3.0.2) Stadsverwarming: An error ...
by YOYO
Wednesday 20 January 2021 10:30
Forum: dzVents
Topic: Problem using Costum sensor [Solved]
Replies: 5
Views: 591

Problem using Costum sensor [Solved]

Hi, Im trying to get data from my wMbus to do some calculations. In order to do this i'm pushing data using MQTT to a Costum device which i then want to use in a dzvents script. Unfortunately i cant use any data not even with a simple print script. I tried different sollutions including the stuff ...
by YOYO
Tuesday 27 February 2018 12:21
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 127163

Re: MyDomoticz - Testers wanted!

Is there a way to check this out chimit?
What i mean is can i do something to fix this?
by YOYO
Tuesday 27 February 2018 11:36
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 127163

Re: MyDomoticz - Testers wanted!

That should be great. Although ever since last night it seems something went wrong somewhere. I can see my instance is currently online via the mydomoticz page but when i click on it it says my domoticz is dead. I whipped my cache to force the browser to pick up the new data. Unfortunately it now ...
by YOYO
Monday 22 January 2018 19:31
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 127163

Re: MyDomoticz - Testers wanted!

I visited the location where and wend through the logs. It seems something went wrong with the authentication between mydomoticz and my raspberry. The logs where filled with timeouts and something about shortreading (forgot to take a screenshot). A simple reboot sorted things out and now its running ...
by YOYO
Sunday 21 January 2018 23:04
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 127163

Re: MyDomoticz - Testers wanted!

So i noticed the service was actually online for a few days but my intance was not comming back online. The node to which i want to connect is situated at a other home and is not a place where im comming every day. I was there today and noticed in the logs that the instance was getting rejected by ...
by YOYO
Friday 12 January 2018 18:46
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: MyDomoticz - Testers wanted!
Replies: 627
Views: 127163

Re: MyDomoticz - Testers wanted!

Hello,

It seems mydomoticz is down for a few days already.
Is there a page where we can see that there are problems?

IS there a way for the community to help getting this more stable?