Search found 23 matches
- Wednesday 06 November 2019 21:50
- Forum: dzVents
- Topic: Turn on lights when it is dark between 6:30 and 7:00 [Solved]
- Replies: 6
- Views: 2053
Re: Turn on lights when it is dark between 6:30 and 7:00 [Solved]
Hi, below my solution for managing an outside light. Hi, does sundown work or should it be sunset ? The string sundown is not part of dzVents. Hi Waaren, Thanks for reviewing the code. But yes, the code is working, however, it is more luck than wisdom... At sundown the script kicks in as per On ...
- Tuesday 05 November 2019 22:16
- Forum: dzVents
- Topic: Upload gas usage to mindergas.nl [Solved]
- Replies: 51
- Views: 16492
Re: Upload gas usage to mindergas.nl [Solved]
pls publish the last good working script, so we can learn too. regards jan dahmen See post #1, worked for me, with some adjustment to make it work on my system. --[[ /home/pi/domoticz/scripts/dzVents/scripts/upload_gas_usage_to_minderGas.lua Author : Roblom Description : This script collects the ...
- Wednesday 30 October 2019 11:52
- Forum: dzVents
- Topic: script to supress notifications for period of time
- Replies: 2
- Views: 493
Re: script to supress notifications for period of time
Maybe using some fuzzy logic? Use a variable and add 1 to it for every notification send. Use this variable as a condition to send the notification. So if the value is 10 or higher, do not Sent notification. In a separate script, every 2 hours, reduce the variable by one. Make a separate push button ...
- Sunday 27 October 2019 23:39
- Forum: Z-Wave
- Topic: Reduce logging for Zwave
- Replies: 1
- Views: 496
Reduce logging for Zwave
As I have quit some devices connected via openzwave, my log fils up with messages on zwave actions/data transfer. How do I change the logging to a ' error only' setting? 2019-10-27 23:34:24.788 (ZWave) Usage (Vaatwasser Verbruik) 2019-10-27 23:34:24.798 (ZWave) General/kWh (kWh Meter) 2019-10-27 23 ...
- Friday 25 October 2019 20:25
- Forum: dzVents
- Topic: Upload gas usage to mindergas.nl [Solved]
- Replies: 51
- Views: 16492
- Thursday 24 October 2019 0:33
- Forum: Examples & Solutions
- Topic: PS4 Monitoring [SOLVED]
- Replies: 7
- Views: 3477
PS4 Monitoring [SOLVED]
To monitor a certain family member :ugeek: using a PS4 , I had a long wish to do this via Domoticz. 1) Log the status of the device 2) Measure how much time it is on 3) Do a remote shut down I started with a Coolcam Plug, perfect for monitoring the power and switching it off. Not so good for family ...
- Wednesday 23 October 2019 23:18
- Forum: dzVents
- Topic: Turn on lights when it is dark between 6:30 and 7:00 [Solved]
- Replies: 6
- Views: 2053
Re: Turn on lights when it is dark between 6:30 and 7:00 [Solved]
Hi, below my solution for managing an outside light. Innitially, i used a script running every minute using programmed time blocks and a LUX number from a Weather station. (when LUX < certain value it is getting dark, much better then using sunset or sunrise). Because i also want to turn on the ...
- Wednesday 23 October 2019 23:00
- Forum: dzVents
- Topic: Run script 10 sec after device changed
- Replies: 4
- Views: 531
Re: Run script 10 sec after device changed
Look for afterSec This will only work on a switch. So, maybe use it a inbetween helper switch? So use switchOn().AfterSec(10) to turn on a switch when the value you monitor changes then use a 2nd event triggered by the helper switch? [EDIT] see below, indeed a delay route via Uservariable is a ...
- Wednesday 23 October 2019 21:37
- Forum: dzVents
- Topic: setHue followed by forXXX
- Replies: 8
- Views: 698
Re: setHue followed by forXXX
Maybe you can use a helper switch as an in between?
So, replace the setHeu command for a .switchOn().forMin(2) and have a separate event that is triggered (on and off) by the helper switch device
greetz
So, replace the setHeu command for a .switchOn().forMin(2) and have a separate event that is triggered (on and off) by the helper switch device
greetz
- Sunday 20 October 2019 21:08
- Forum: dzVents
- Topic: Script starts too many times at specific time? [Solved]
- Replies: 3
- Views: 1570
Re: Script starts too many times at specific time? [Solved]
Hi you have programmed to start your script at a certain time, but also when the device themselves change. So when the script runs the first time on the timer setting, it changes the light/device and that triggers a new script to run, which will trigger a new script, which will change the device ...
- Friday 18 October 2019 22:58
- Forum: dzVents
- Topic: Learn dzvents [Solved]
- Replies: 5
- Views: 1595
Re: Learn dzvents [Solved]
hi
Did you check the dzVents script on the wiki page:
https://www.domoticz.com/wiki/Simple_sc ... Hue_status
It keeps the lights in both Domoticz and HUE app synced when you manually switch the lights and they become "unreachable" or when you turn them on.
greetings
Bart
Did you check the dzVents script on the wiki page:
https://www.domoticz.com/wiki/Simple_sc ... Hue_status
It keeps the lights in both Domoticz and HUE app synced when you manually switch the lights and they become "unreachable" or when you turn them on.
greetings
Bart
- Friday 18 October 2019 22:48
- Forum: Examples & Solutions
- Topic: Domoticz database check script
- Replies: 48
- Views: 18247
Re: Domoticz database check script
Hi Waaren
Seems to work ok, thanks for picking this up.
1 addition, how about passing the error message into the text of the alert button?
greetings
Bart
Seems to work ok, thanks for picking this up.
1 addition, how about passing the error message into the text of the alert button?
greetings
Bart
- Monday 14 October 2019 17:00
- Forum: dzVents
- Topic: Updated dzVent HUE monitoring script.
- Replies: 0
- Views: 286
Updated dzVent HUE monitoring script.
Hi. I updated the HUE script in the Domoticz Wiki. https://www.domoticz.com/wiki/Simple_script_to_update_Philips_Hue_status (2nd to last script) Reason is that lamps with colors (like Ikea's white spectrum bulbs) do not show "ON" as device state but show as "Set Color" in Domoticz. Because of this ...
- Sunday 06 October 2019 9:34
- Forum: dzVents
- Topic: Use filename of script into script itself
- Replies: 1
- Views: 262
Use filename of script into script itself
Goodmorning. Is there a way to get the filename of the script that is running back into the script itself as a string ? I would like to make a generic script that uses the name of the script to select which plug or sensor needs to be used within the script. I now use a variable at the top with the ...
- Friday 04 October 2019 23:28
- Forum: dzVents
- Topic: Timed device trigger not working... [Solved]
- Replies: 5
- Views: 1376
Re: Timed device trigger not working... [Solved]
Hi Is the use of "status" correct? I think it should be ".state" Below my script for a similar situation. The OD's are the Open/Close devices. --Voordeur of zijdeur open return { on = { devices = {['OD Voordeur'] = {'at nighttime'},['OD Zijdeur'] = {'at nighttime'}}}, execute = function(domoticz ...
- Friday 04 October 2019 23:07
- Forum: Examples & Solutions
- Topic: Domoticz database check script
- Replies: 48
- Views: 18247
Re: Domoticz database check script
Hi Waaren Thanks for another great script!! Potential additions/ideas. 1) Adding NSS_TELEGRAM as notification route. 2) Applying an alert sensor, with the 'result' as the text. Green when 'OK', red if other. See https://www.domoticz.com/wiki/DzVents:_next_generation_LUA_scripting#Alert_sensor ...
- Friday 04 October 2019 22:11
- Forum: dzVents
- Topic: Run script only when device changed manualy.
- Replies: 3
- Views: 671
Re: Run script only when device changed manualy.
Have you tried to use the .silent() option in the Dzvents scripts that change the states?
See: https://www.domoticz.com/wiki/DzVents:_ ... nd_Options
with this option, the change in state won't trigger another event.
greetings
Bart
See: https://www.domoticz.com/wiki/DzVents:_ ... nd_Options
with this option, the change in state won't trigger another event.
greetings
Bart
- Tuesday 27 August 2019 23:25
- Forum: Suggestions
- Topic: Change tab name to selected menu page
- Replies: 0
- Views: 731
Change tab name to selected menu page
When having multiple pages open on Domoticz, all the tabs have the same title; the name of the location as set in in Options. It would be nice if this could be changed with the menu item opened, so it is easier to move from tab to tab. Names would then be Hardware, Log, Scenes. Where should this be ...
- Monday 29 October 2018 22:58
- Forum: dzVents
- Topic: Variable time before sunset [Solved]
- Replies: 5
- Views: 2612
Re: Variable time before sunset [Solved]
You could you use 2 scripts, connected by a persistent variable that holds the 'random number of minutes' The first would run at 3:00 and generate a random number and store this in the persistent data (i have not seen a random function in Dzvents) so maybe use a asynchronous http call. See dzvents ...
- Tuesday 23 October 2018 20:02
- Forum: dzVents
- Topic: Up and Down blinds with conditions.
- Replies: 5
- Views: 1684
Re: Up and Down blinds with conditions.
Many paths lead to Rome... I like to put important steering values only once and on top. The logic will work (I tested it on a lightbulb). However it doesn't work on my Curtain. It just won't open or close on the command Hopefully, it will work for you... Basically the code is called 4 times a day ...