Search found 6028 matches

by waaren
Tuesday 15 June 2021 14:42
Forum: dzVents
Topic: dzvents and docker icm xx
Replies: 11
Views: 1670

Re: dzvents and docker icm xx

pvklink wrote: Tuesday 15 June 2021 12:28 I get this info back, is statusCode=200 the thing to look for?
statusCode = 200 is something dzVents looks for so this part is OK. Don't see why domoticz generates the error.
by waaren
Tuesday 15 June 2021 12:24
Forum: dzVents
Topic: dzvents and docker icm xx
Replies: 11
Views: 1670

Re: dzvents and docker icm xx

pvklink wrote: Tuesday 15 June 2021 12:22 that would be great, missing info to solve this issue...
included the missing code in my previous post now
by waaren
Tuesday 15 June 2021 12:20
Forum: dzVents
Topic: dzvents and docker icm xx
Replies: 11
Views: 1670

Re: dzvents and docker icm xx

Problem: when execute an url with dz.openURL it works, but i get an error afterwards Below version will show some extra information of the return (item) return { on = { devices = {'testxx'}, httpResponses = {'testxx'} }, logging = { level = domoticz.LOG_DEBUG, marker = testxx, }, execute = function ...
by waaren
Sunday 13 June 2021 23:58
Forum: dzVents
Topic: [Solved] Looping through global variable ?
Replies: 4
Views: 1040

Re: Looping through global variable ?

Do I try to do something possible or not ? Yes. That is possible. Search for " Global persistent variables " in the dzVents wiki or build further based on below examples. userScript.lua return { on = { devices = { 'global*', -- example wildcarded trigger device }, }, logging = { level = domoticz ...
by waaren
Sunday 13 June 2021 17:58
Forum: Evohome
Topic: Domoticz crashes
Replies: 8
Views: 2997

Re: Domoticz crashes

pvdgulik wrote: Sunday 13 June 2021 17:04 I do have same sort of error, although not for evohome, but for my CO2 meter.
Any help would be appreciated
Fixed in V2021.1 build 13299
by waaren
Saturday 12 June 2021 10:01
Forum: Switches and Scenes
Topic: Protection of roller shutter
Replies: 11
Views: 1866

Re: Protection of roller shutter

madpatrick wrote: Saturday 12 June 2021 9:34 A reply on my own question.
I have tried this script, but i doesn't work unfortunately

Appreciate any feedback
To further investigate you could extent the log level an add some loglines. It might also help identifying the issue(s) if you describe what you expect vs to what you see.
by waaren
Saturday 12 June 2021 9:41
Forum: dzVents
Topic: dzvents mqtt [Solved]
Replies: 4
Views: 1786

Re: dzvents mqtt [Solved]

When i add nvalue and svalue values for transmitting values for a switch it wont, what am i doing wrong ? "It won't work" might be an accurate description of your issue but please try to give some more details, like what you expect and what do you actually see in the log, If you don't see much, a ...
by waaren
Thursday 10 June 2021 22:56
Forum: Switches and Scenes
Topic: dzVents script shows strange behavior
Replies: 8
Views: 1297

Re: dzVents script shows strange behavior

Fredom wrote: Thursday 10 June 2021 20:59 So it has indeed to do with the new update of domoticz. Can this still be solved?
Fixed in 2021.1 - build 13192
Please check this post for hotfix in stable.
by waaren
Thursday 10 June 2021 18:01
Forum: Switches and Scenes
Topic: dzVents script shows strange behavior
Replies: 8
Views: 1297

Re: dzVents script shows strange behavior

[Domoticz 2021-1 runs on a Rapberry pi 3b. Nothing has been changed in the script or in any other configuration. A week ago this script suddenly showed this behavior Was that before or after the update to 2021.1 ? Can you have a look at this one ? return { on = { timer = { 'every 2 minutes ...
by waaren
Wednesday 09 June 2021 21:37
Forum: Other questions and discussions
Topic: Domoticz Security Panel disappeared from Devices list
Replies: 7
Views: 870

Re: Domoticz Security Panel disappeared from Devices list

I indeed think there are some issues with the Security Panel, as I tried to add the panel in my Test system (Pin code correctly inserted in the Settings page) but cannot find the panel. In my production system I see that the Security Panel has as hardware Domoticz Internal. However this hardware ...
by waaren
Tuesday 08 June 2021 21:22
Forum: Examples & Solutions
Topic: Dutch local covid-19 figures
Replies: 43
Views: 8789

Re: Dutch local covid-19 figures

Xenomes wrote: Tuesday 08 June 2021 20:21 Here is the extended log.
Sorry. No clue where to look for. Best to do is to add extra loglines at various places. Maybe that will point you in the right direction.
by waaren
Tuesday 08 June 2021 20:07
Forum: Examples & Solutions
Topic: Dutch local covid-19 figures
Replies: 43
Views: 8789

Re: Dutch local covid-19 figures

I change the script 2 days a go to the latest version, before that is was running for months. if you change line level = domoticz.LOG_ERROR, -- change to domoticz.LOG_ERROR when all ok. to level = domoticz.LOG_DEBUG, -- change to domoticz.LOG_ERROR when all ok. You should see much more relevant ...
by waaren
Tuesday 08 June 2021 8:18
Forum: Examples & Solutions
Topic: Dutch local covid-19 figures
Replies: 43
Views: 8789

Re: Dutch local covid-19 figures

Xenomes wrote: Monday 07 June 2021 22:44 My 'Reported covid-19 in' is 7 days not updated? Do anyone have this issue to?
covid script is still working for me. (see below)

Do you see anything in the log?

covid.png
covid.png (139.88 KiB) Viewed 2522 times
covidC.png
covidC.png (262.79 KiB) Viewed 2522 times
by waaren
Monday 07 June 2021 15:13
Forum: Other questions and discussions
Topic: Migrate database to a new RPI
Replies: 2
Views: 991

Re: Migrate database to a new RPI


Jeremob wrote:
What do you think about this process ?

- Install a new domoticz 2021.1 on RPI 4
- Import database from 2020.2
That should work.
Recognizing the need for- and conversion of the database to a newer domoticz version is part of every domoticz start.




by waaren
Sunday 06 June 2021 21:54
Forum: dzVents
Topic: Rate of change
Replies: 3
Views: 622

Re: Rate of change

Looking to monitor the rate of change of a temperature sensor. I would assume you would deduct current temperature reading from previous reading. Something like below? return { on = { devices = { 'tRate', -- your temperature sensor }, }, data = { lTemperature = { initial = 0, }, tDelta = { history ...
by waaren
Saturday 05 June 2021 8:44
Forum: LUA
Topic: Getting error [string "line"]:4: attempt to call global 'rank' (a nil value)
Replies: 1
Views: 536

Re: Getting error [string "line"]:4: attempt to call global 'rank' (a nil value)

Can someone please let me know the reason behind this error? I am punching ranking grid question to hidden multi punch question. Error: [string "line"]:4: attempt to call global 'rank' (a nil value) In line rank = tonumber(rank) You made the script variable rank a number (or nil if rank could not ...
by waaren
Tuesday 01 June 2021 8:42
Forum: dzVents
Topic: Energy costs in bar graph instead of line graph
Replies: 7
Views: 1269

Re: Energy costs in bar graph instead of line graph

HennyN wrote: Monday 31 May 2021 21:43 in the top right (or often other values that do not match.
Top right corner should show (max. today value )- (max yesterday value )
by waaren
Monday 31 May 2021 21:29
Forum: dzVents
Topic: DzVents afterSec problems [Solved]
Replies: 7
Views: 2211

Re: DzVents afterSec problems [Solved]

BlackSabbath wrote: Monday 31 May 2021 14:49 This "file": global_data Consists of this code
Please follow the wiki ( see this) when creating global_data,lua and share the file that worked before.
As you shared it now it cannot work and could never have worked.
by waaren
Monday 31 May 2021 17:44
Forum: Other questions and discussions
Topic: Cannot get dzVents to trigger
Replies: 22
Views: 2378

Re: Cannot get dzVents to trigger

Sjoko wrote: Monday 31 May 2021 11:17 What else can I do to improve logging for diagnostics ?
[Setup] [System] [Other]
dzVents Log Level .png
dzVents Log Level .png (24.14 KiB) Viewed 362 times
[
by waaren
Monday 31 May 2021 10:04
Forum: Other questions and discussions
Topic: Domoticz on openwrt: setup gets deleted after restarts
Replies: 15
Views: 4158

Re: Domoticz on openwrt: setup gets deleted after restarts

spot320 wrote: Monday 31 May 2021 7:39 the actual coordinates of my city latitude 42.488304 longitude 132.524088 sunrise 05:33 sunset 20:39. In home automation, the coordinates are as written above, but sunrise and sunset 19:36, sunset 10:40. what could be the problem?
One is dispayed as UTC and the other as local time.