
Search found 30 matches
- Thursday 01 November 2018 23:25
- Forum: LUA
- Topic: Decode JOSN Sting
- Replies: 2
- Views: 424
Re: Decode JOSN Sting
You are the best. Thank you very much I did not think about the dzVents utils. Many Thanks 

- Thursday 01 November 2018 19:36
- Forum: LUA
- Topic: Decode JOSN Sting
- Replies: 2
- Views: 424
Decode JOSN Sting
Hey, I have a string like this: {"b":122,"cw":0,"g":128,"m":3,"r":255,"t":0,"ww":0} How can I get the r, g and b value from that string? I like to write a script that catches the RGB from Virtual Device Color picking and send it over Http to my ESPEasy firmware. I already managed to get the Color ...
- Thursday 01 November 2018 18:09
- Forum: Python
- Topic: Zoneminder plugin
- Replies: 6
- Views: 2910
Re: Zoneminder plugin
This would be very interesting.
I already forked a other Project to trigger Zoneminder Events in Domoticz:
https://github.com/jannnfe/zmeventserverDomoticz
I already forked a other Project to trigger Zoneminder Events in Domoticz:
https://github.com/jannnfe/zmeventserverDomoticz
- Wednesday 10 October 2018 11:07
- Forum: Bugs
- Topic: lastUpdate nil value [SOLVED]
- Replies: 6
- Views: 8364
Re: lastUpdate nil value [SOLVED]
@dannybloe sorry but what do you mean with just Check the lastUpdate attribute?
What Code i Can use in the meantime to archive the same result?
What Code i Can use in the meantime to archive the same result?
- Sunday 07 October 2018 22:03
- Forum: Bugs
- Topic: lastUpdate nil value [SOLVED]
- Replies: 6
- Views: 8364
lastUpdate nil value [SOLVED]
Hello, I just wanted to test the following code snippets from the dzVents Wiki https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting#Looping_through_the_collections:_iterators in my system, but it does not work for me: local deadDevices = domoticz.devices().filter(function(device ...
- Sunday 30 September 2018 22:10
- Forum: Cameras
- Topic: Has anyone has success with Zoneminder and Domoticz?
- Replies: 14
- Views: 9629
Re: Has anyone has success with Zoneminder and Domoticz?
Have a look at my modification of zmeventserver here: https://github.com/jannnfe/zmeventserverDomoticz
- Wednesday 26 September 2018 19:07
- Forum: dzVents
- Topic: Get sValue from device [Solved]
- Replies: 7
- Views: 3071
Re: Get sValue from device [Solved]
Hey, Yes, that's the result. It looks like there is something missing due to log limitations but the relevant part is there: Now the value to be searched is not "Test" but "Eingang"! It is in rawData 1. 2018-09-26 18:58:53.441 Status: dzVents: > yday: 269 2018-09-26 18:58:53.441 Status: dzVents ...
- Wednesday 26 September 2018 16:42
- Forum: dzVents
- Topic: Get sValue from device [Solved]
- Replies: 7
- Views: 3071
Re: Get sValue from device [Solved]
Thanks @waaren,
the item.rawData[1] was the solution i was searching!
With this i get the "Test" value.
Thank you very much!
the item.rawData[1] was the solution i was searching!
With this i get the "Test" value.
Thank you very much!

- Wednesday 26 September 2018 10:54
- Forum: dzVents
- Topic: Get sValue from device [Solved]
- Replies: 7
- Views: 3071
Re: Get sValue from device [Solved]
Hallo @dannybloe, Thanks for your reply. I dont understand. device.state? Do you mean item.state? I already tested this. But the state (or „svalue“) is different. I Set a the device over MQTT like this: {„idx“:124,“nvalue“:1,“svalue“:“Test“} I want to get the „Test“ from svalue. But with item.state i ...
- Wednesday 26 September 2018 0:21
- Forum: dzVents
- Topic: Get sValue from device [Solved]
- Replies: 7
- Views: 3071
Get sValue from device [Solved]
Hello, is there a way to get the value from a device? I tried: return { on = { devices = { 'Kamera Motion Dummy' } }, logging = { level = domoticz.LOG_DEBUG, marker = 'CameraMotion' }, execute = function(domoticz, item) -- When Device is triggered do this: if(item.isDevice) then if(item.active) then ...
- Tuesday 18 September 2018 14:48
- Forum: dzVents
- Topic: How to update device attribute batterylevel
- Replies: 12
- Views: 2851
Re: How to update device attribute batterylevel
This is my modified script: -- -- Lua dzVents Script -- Check Dead Device and set BatteryLevel -- return { on = { devices = { 'Doppellampe' }, timer = { 'at 12:00' } }, logging = { level = domoticz.LOG_DEBUG, marker = 'ManageBattery' }, execute = function(domoticz, item) -- Every Day at 12:00 do ...
- Tuesday 18 September 2018 14:13
- Forum: dzVents
- Topic: How to update device attribute batterylevel
- Replies: 12
- Views: 2851
Re: How to update device attribute batterylevel
I do not understand why the script should go to you. For me it results in an infinite loop, because every time the device is turned on, it is automatically turned on a second time and that triggers the script again. Do not you have this problem? Please check your log.
- Sunday 16 September 2018 21:23
- Forum: dzVents
- Topic: Find activation Device of Group [Solved]
- Replies: 8
- Views: 2504
Re: Find activation Device of Group [Solved]
Hello, thank you, I have got it right now with persistent data. I added the following: on = { ... }, data = { 'groupName' } execute = function(domoticz, item) function getActivator() local activeGroup = domoticz.data.groupName end if(item.isGroup) then domoticz.data.groupName = item.name end Thank ...
- Sunday 16 September 2018 13:18
- Forum: dzVents
- Topic: Prevent a device from being turned on [Solved]
- Replies: 4
- Views: 1947
Re: Prevent a device from being turned on [Solved]
Thanks for the tip. Based on your idea, I was able to successfully realize my goal. I have created a second virtual device "Briefkasten" and called the actual sensor in the mailbox "Breifkasten Dummy". When "Briefkasten Dummy" is opened, I check the latest updates and turn on the virtual device or ...
- Sunday 16 September 2018 10:56
- Forum: dzVents
- Topic: Find activation Device of Group [Solved]
- Replies: 8
- Views: 2504
Re: Find activation Device of Group [Solved]
Hello @waaren,
Thank you! That was exactly what I was looking for. Thank you very much for your help, I really appreciate that
EDIT: One last thing. I have already tried a bit but found no solution. How do I get the group name in which the activator is additionally in the getActivator function?
Thank you! That was exactly what I was looking for. Thank you very much for your help, I really appreciate that

EDIT: One last thing. I have already tried a bit but found no solution. How do I get the group name in which the activator is additionally in the getActivator function?
- Saturday 15 September 2018 0:00
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Alarmed mode?
- Replies: 1
- Views: 702
Re: Alarmed mode?
I'm also looking for that right now. I would like the security panel device to indicate that an alarm has been triggered. To fire the alarm I want to use dzVents. How is that possible?
- Friday 14 September 2018 23:22
- Forum: dzVents
- Topic: Find activation Device of Group [Solved]
- Replies: 8
- Views: 2504
Re: Find trigger Device of Group [Solved]
Hey @waaren, thanks for your reply. I have a group "window contacts". This group contains all window contacts in my house as activation devices for the group. So, if one of the activation devices in the group is activated, the group will also be activated automatically. That should actually be so by ...
- Friday 14 September 2018 13:45
- Forum: dzVents
- Topic: Find activation Device of Group [Solved]
- Replies: 8
- Views: 2504
Find activation Device of Group [Solved]
Hello, is there a way to get the name of the trigger of a group. There are several devices in a group. One of these is activated, which in turn activates the whole group. But now I want to find out which device has activated the group. Tried to get the whole devices in group but nothing happend ...
- Thursday 13 September 2018 13:13
- Forum: dzVents
- Topic: Prevent a device from being turned on [Solved]
- Replies: 4
- Views: 1947
Re: Prevent a device from being turned on [Solved]
I already had this idea, but I rejected it again because the notifications on my phone are not regulated by Domoticz, but by Homebridge. I use the homebridge-edomoticz plugin and activate notifications in HomeKit for the sensor. The code in the event must therefore prevent the device from sending an ...
- Thursday 13 September 2018 0:31
- Forum: dzVents
- Topic: Prevent a device from being turned on [Solved]
- Replies: 4
- Views: 1947
Prevent a device from being turned on [Solved]
Hello, I have been thinking for some time about a possibility of preventing a particular device from switching on. Use Case: The postman has brought mail and opens the mailbox. The contact sensor sends "mailbox open". The postman has forgotten a letter and opens the mailbox again. The sensor should ...