Search found 23 matches

by guenniac
Wednesday 31 January 2024 12:15
Forum: Installation, Compiling, Permissions, Security and Starting
Topic: User list: admin appears many times
Replies: 0
Views: 1194

User list: admin appears many times

In my list of users I found the user "admin" many times. Can I delete all of them but one to get the list cleaned up?
What is the problem here?
2024-01-31_12-11.png
2024-01-31_12-11.png (86.76 KiB) Viewed 1194 times
by guenniac
Friday 17 November 2023 10:15
Forum: Switches and Scenes
Topic: Devices disappeared - although they are functioning
Replies: 6
Views: 2296

Re: Devices disappeared - although they are functioning

That solved this issue. All devices are back.

Thanks!
by guenniac
Thursday 16 November 2023 19:31
Forum: Switches and Scenes
Topic: Devices disappeared - although they are functioning
Replies: 6
Views: 2296

Devices disappeared - although they are functioning

Many of my devices disappeared for any reason. Although they work. As an example I show here a power plug. I can switch it manually from the devices and the dzvents script work as well. Setting the device to "unused" and back to "used" does not change anything. Any ideas? Bildschirmfoto vom 2023-11 ...
by guenniac
Sunday 05 November 2023 16:26
Forum: Switches and Scenes
Topic: Mismatch in Hardware Nodes
Replies: 1
Views: 1487

Mismatch in Hardware Nodes

I'm now using domoticz for more than 4 years. From time to time hardware nodes get mixed up in the HW node list. They loose names, they loose manufacturer info and more. There are different scenarios. Please see attachment. One example: The status of node 0x42 (a door contact) is set to "dead ...
by guenniac
Tuesday 13 December 2022 14:59
Forum: dzVents
Topic: Low temperature notifications [Solved]
Replies: 2
Views: 358

Re: Low temperature notifications [Solved]

Thanks a lot.
Only this one device had a notification setting for low temp. Couldn't remember that I had set this anytime.
by guenniac
Tuesday 13 December 2022 14:15
Forum: dzVents
Topic: Low temperature notifications [Solved]
Replies: 2
Views: 358

Low temperature notifications [Solved]

For weeks now I get notifications about low temperature in some rooms. Although the message is correct I don't want this kind of spam, since the temperature is low by intention in some locations (hallway, basement etc).
Any idea about this?

Thanks
by guenniac
Monday 21 November 2022 10:43
Forum: dzVents
Topic: Global variable as trigger for a script [Solved]
Replies: 3
Views: 589

Re: Global variable as trigger for a script [Solved]

It works now!
I moved HEATINGPERIOD to the end of the helpers definition

Code: Select all

....
        end,
        HEATINGPERIOD = ' on 01/11-31/12, 01/01-30/04',
	}
}
And in my script I used:

Code: Select all

on = {
	    timer = {  
	        SUNRISE .. dz.helpers.HEATINGPERIOD,
	    },
},
by guenniac
Monday 21 November 2022 9:53
Forum: dzVents
Topic: Global variable as trigger for a script [Solved]
Replies: 3
Views: 589

Re: Global variable as trigger for a script [Solved]

Hi, meanwhile I have found this: https://www.domoticz.com/forum/viewtopic.php?t=35190 and I gave it a try. In the data part of global_data I defined this: HEATINGPERIOD = { initial = ' on 01/11-31/12, 01/01-30/04' }, And I used it here: local dz = require ("global_data") local SUNRISE = 'every ...
by guenniac
Sunday 20 November 2022 15:45
Forum: dzVents
Topic: Global variable as trigger for a script [Solved]
Replies: 3
Views: 589

Global variable as trigger for a script [Solved]

Is it possible to use a variable, which is defined in the global_data part as a trigger to fire a dzvents script, eg. global_data HeatingPeriod = { initial = ' on 01/11-31/12, 01/01-30/04' }, here in my script: return { on = { timer = { SUNRISE .. domoticz.globalData.HeatingPeriod, }, ..... where ...
by guenniac
Tuesday 25 October 2022 23:46
Forum: Cameras
Topic: setup for ANPVIZ IPC-D353WD-S
Replies: 1
Views: 1962

setup for ANPVIZ IPC-D353WD-S

I have successfully setup the CAM with AgentDVR. The connect URL is: rtsp://192.168.11.39:554/cam1/mpeg4.
In domoticz I have tried this
Domoticz.jpg
Domoticz.jpg (26.68 KiB) Viewed 1953 times
without success. I also played unsuccessfully around with different variations.

Any hints how to proceed?

Thanks
Günter
by guenniac
Thursday 03 March 2022 19:45
Forum: dzVents
Topic: Store timer values for a bunch of windows/doors (table issue)
Replies: 4
Views: 376

Re: Store timer values for a bunch of windows/doors (table issue)

Perhaps try the script that is used in the following topic (has also extra functionality) https://www.domoticz.com/forum/viewtopic.php?t=23768 Thanks for the hint. I used one of these scripts as base and it works. I have to analyze in order to understand why it works and what I did wrong in my ...
by guenniac
Thursday 03 March 2022 16:03
Forum: dzVents
Topic: Store timer values for a bunch of windows/doors (table issue)
Replies: 4
Views: 376

Re: Store timer values for a bunch of windows/doors (table issue)

May I ask the experts to look at my example? It seems to be a table issue. For your convenience I have shrinked the code to the basics. Maybe this helps. local MyDevices = {'Fenster SZ','Tür Balkon OG','Tür Küche','Tür Keller'} local myData = {} for i,v in ipairs(MyDevices) do myData[v] = { initial = ...
by guenniac
Wednesday 02 March 2022 22:25
Forum: dzVents
Topic: Store timer values for a bunch of windows/doors (table issue)
Replies: 4
Views: 376

Store timer values for a bunch of windows/doors (table issue)

Hi, I'd like to store the open times for my windows/doors. I understood that I need lua tables for this purpose. The purpose is to remember 'forgotten' open windows/doors. If the timer exceed a TIMEOUT value then an alarm etc should be fired. I tried this: local INTERVAL = 1 local TIMEOUT = 3 local ...
by guenniac
Monday 10 January 2022 9:33
Forum: dzVents
Topic: sending email in dzvents script does not work
Replies: 10
Views: 1393

Re: sending email in dzvents script does not work

You are right. In the settings I have my provider access data set and this works.
When using os.execute mails to "root@sau" will be send directly to my local mailbox. That works!
by guenniac
Sunday 09 January 2022 18:23
Forum: dzVents
Topic: sending email in dzvents script does not work
Replies: 10
Views: 1393

Re: sending email in dzvents script does not work

There's no difference in behavior when I use dz.email. Regardless what I try: - local address like 'root@sau' or real address to a provider(<name>@vodafone.de) - address in data or directly in the call (dz.email('message from your lockRS script', logtext, 'root@sau')) Tests via "Setup -> Settings ...
by guenniac
Thursday 06 January 2022 23:38
Forum: dzVents
Topic: sending email in dzvents script does not work
Replies: 10
Views: 1393

Re: sending email in dzvents script does not work

Yes it is in the list!
by guenniac
Thursday 06 January 2022 22:29
Forum: dzVents
Topic: sending email in dzvents script does not work
Replies: 10
Views: 1393

Re: sending email in dzvents script does not work

Meanwhile I have tested with this setting: data = { mailTo = { initial = 'root@sau' } }, .... dz.log(logtext) dz.email('message from your lockRS script', logtext, dz.data.mailTo) -- this does not work os.execute("echo '" .. logtext .. "' | mailx -s 'domoticz message' " .. dz.data.mailTo) -- this ...
by guenniac
Monday 03 January 2022 19:35
Forum: dzVents
Topic: distinguish between manual setting and time based events
Replies: 6
Views: 918

Re: distinguish between manual setting and time based events

Here is my approach: Code for the Timeout counter and the virtual switch. The code is triggered either by time interval to countdown the timeout value or device action(virtual switch, created via "Create Virtual Sensors") For demo purpose I have set timer interval to 1 minute and the timeout value ...
by guenniac
Sunday 02 January 2022 17:47
Forum: dzVents
Topic: distinguish between manual setting and time based events
Replies: 6
Views: 918

Re: distinguish between manual setting and time based events

Thank you for giving me advice. Meanwhile I have implemented a solution with a virtual switch. When switch is set then my time triggered shutter script does not execute. I think about a countdown on this virtual switch in this way: When the switch is pressed a timer value is set to 240 minutes. A ...
by guenniac
Saturday 01 January 2022 17:41
Forum: dzVents
Topic: sending email in dzvents script does not work
Replies: 10
Views: 1393

Re: sending email in dzvents script does not work

Isn't there really nobody with an idea?
Any hints are really appreciated!