Search found 820 matches

by waaren
Monday 20 August 2018 20:39
Forum: dzVents
Topic: Help Example, months of the year
Replies: 10
Views: 169

Re: Help Example, months of the year

Derik wrote:
Monday 20 August 2018 20:35
mm i did try only 1 month
No thing in the log..
i make first all the months...
then
I be back :-)
And please load the example again. Found one other typo
by waaren
Monday 20 August 2018 20:31
Forum: dzVents
Topic: Help Example, months of the year
Replies: 10
Views: 169

Re: Help Example, months of the year

Derik wrote:
Monday 20 August 2018 20:21
The error found .. grrrr
Only not working..
Did you define all (virtual) month switches ?
Do you see something in the log ?
by waaren
Monday 20 August 2018 20:26
Forum: dzVents
Topic: Help Example, months of the year
Replies: 10
Views: 169

Re: Help Example, months of the year

Dear aall. Thanks for this, i see now your reaction, i get no notification from the forum?? So i give it a try .... this evening you hear from me.. Ps i can change the names for the months in the script to what i want? En what setting do i need in dz vents.. all time or device? Edit: Error: 2018-08...
by waaren
Monday 20 August 2018 16:42
Forum: dzVents
Topic: Help Example, months of the year
Replies: 10
Views: 169

Re: Help Example, months of the year

Try with timer = { 'at 00:01 on 1/*'}, -- Every 1st of the month at 00:01 Thanks. It kind of depends what is most important for the user. With your modification the script would run once a month and thus saving CPU cycles and it would work most of the times but if the system is down for two minutes...
by waaren
Monday 20 August 2018 12:15
Forum: LUA
Topic: Script or Blockly for activate switch when battery is low
Replies: 5
Views: 242

Re: Script or Blockly for activate switch when battery is low

Dear waaren, Yes I can see the voltage in domoticz on it’s own id nr and his name is: Licht accu Regards Jan I hope I understand your requirements and setup correctly. If not; please do not hesitate... Look at the 10 lines Using dzVents with Domoticz for a short intro to dzVents and howto get this ...
by waaren
Monday 20 August 2018 0:50
Forum: LUA
Topic: Script or Blockly for activate switch when battery is low
Replies: 5
Views: 242

Re: Script or Blockly for activate switch when battery is low

The voltage reading is a INA219 sensor connected to a ESP8266 with ESPEasy as software which measures voltage. The relay works with the command: Http://<ESP IP adresss>/control?cmd=GPIO,<pin>,0 Http://<ESP IP adresss>/control?cmd=GPIO,<pin>,1 (One for start and one for stop). Some additional questi...
by waaren
Monday 20 August 2018 0:20
Forum: dzVents
Topic: Help Example, months of the year
Replies: 10
Views: 169

Re: Help Example, months of the year

try to make a script wjere every month of the year is acting with Domoticz. 12 dummys that switch on the month of the year. Looks for me a simple start to begin.Only i get unfortunately not 1 month to switch to the good month..:-( Is there perhaps someone that can give me some basic code from where...
by waaren
Sunday 19 August 2018 23:21
Forum: dzVents
Topic: Beginner: Check for current switch state
Replies: 1
Views: 79

Re: Beginner: Check for current switch state

I want to create (another) presence detection script. All smartphones use geofencing to notify Domoticz if they ware at home using a virtual switch. If one smartphone is at home, the virtual switch SomeoneHome needs to be turned on. But, if all Smartphones are away, the SomeoneHome switch needs to ...
by waaren
Sunday 19 August 2018 22:56
Forum: General Discussion
Topic: Devices IDX numbering
Replies: 2
Views: 134

Re: Devices IDX numbering

I think it is by design and it has its own reasons.... but is that correct theat device IDX are unique numbers PER HARDWARE and not by entire device universe So I could have a duplicate Device IDX 6: - one device on zWave network - one device on RF433 Hardware - one device in Scenes - One device on...
by waaren
Sunday 19 August 2018 9:27
Forum: Examples & Solutions
Topic: dzVents get garbage collection dates from inzamelkalender.hvcgroep.nl
Replies: 13
Views: 732

Re: dzVents get garbage collection dates from inzamelkalender.hvcgroep.nl

Could somebody help me with the correct items but from the Saver website ? The guys from saver told me that someway it's working within Dashticz , but I don't use that skin Sent from my ONEPLUS A6003 using Tapatalk Saver is using quite a different interface to the garbage collection data for the lo...
by waaren
Saturday 18 August 2018 19:41
Forum: Other questions and discussions
Topic: Storing more values in one variable
Replies: 4
Views: 137

Re: Storing more values in one variable

.. Months ago a read here on the forum that someone explained how to store more values in one variable, I believe I remember something with devided by semicolons... I can't find it here on the Forum anymore.. Do you ask this question for a specific language ? In most programming languages you can s...
by waaren
Saturday 18 August 2018 17:07
Forum: Bugs and Problems
Topic: stop executing a script
Replies: 2
Views: 109

Re: stop executing a script

I use dzvents that comes with update to version 4.9700 on a RaspberryPi. The versionnumber of Dzvents is not visible anymore in domoticz 4.97. Is this still true when you clear cache and appcache ? I want to stop execution of a script when a dummy-switch is set to an "off ' value. I tried the .sile...
by waaren
Saturday 18 August 2018 16:46
Forum: Bugs and Problems
Topic: Battery Low notification stays after replacing batteries
Replies: 8
Views: 288

Re: Battery Low notification stays after replacing batteries

Not sure where json gets it from but DB seems a fair assumption. I did restart, no dice. Whether dzvents or plain lua remains to be seen. I experienced the same. After updating to beta V4.9910 and a soft reset of my Zwave controller and a heal network (both in node management under hardware tab) an...
by waaren
Saturday 18 August 2018 12:54
Forum: dzVents
Topic: converting LUA to dzvents
Replies: 2
Views: 147

Re: converting LUA to dzvents

Hello i'm considering converting my lua scripts to dzvents but I don't know how this lua command should be converted : val_QPluieV=os.capture('sqlite3 '..dbPath..' "select TOTAL as TOTAL from Rain_Calendar where devicerowid='..otherdevices_idx[dev_Pluviometre]..' and Date = date(\'now\', \'-1 day\'...
by waaren
Friday 17 August 2018 8:48
Forum: Examples & Solutions
Topic: dzVents get garbage collection dates from inzamelkalender.hvcgroep.nl
Replies: 13
Views: 732

Re: dzVents get garbage collection dates from inzamelkalender.hvcgroep.nl

thecosmicgate wrote:
Thursday 09 August 2018 18:12
Could somebody help me with the correct items but from the Saver website ?
The guys from saver told me that someway it's working within Dashticz , but I don't use that skin

Sent from my ONEPLUS A6003 using Tapatalk
If you send me a PM with zipcode / housenumber, I will have a look
by waaren
Thursday 16 August 2018 22:23
Forum: Temperature and Weather
Topic: Device "clouds" based on wunderground api
Replies: 9
Views: 252

Re: Device "clouds" based on wunderground api

Hi Waaren, Thx for the code but now i get 2018-08-16 21:48:01.401 Status: dzVents: Debug: getWeather: {["current_observation"]={["relative_humidity"]="72%", ["visibility_mi"]="6.2", ["temp_c"]=21, ["history_url"]="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IZEMST12", ["local_t...
by waaren
Thursday 16 August 2018 21:17
Forum: dzVents
Topic: What am I doing wrong here?
Replies: 9
Views: 314

Re: What am I doing wrong here?

Melotron wrote:
Thursday 16 August 2018 20:51
The blocky version are working and its basically the same.
Not quite... I see two or's in the blockly and only one in your first dzVents script
by waaren
Thursday 16 August 2018 20:39
Forum: Temperature and Weather
Topic: Device "clouds" based on wunderground api
Replies: 9
Views: 252

Re: Device "clouds" based on wunderground api

This is the code I already have in dzVents Now i need only the code to filter the weather info out of the list The recent versions of dzVents are much more sophisticated to handle URL's and returns. Maybe the script example below gets you going. -- getWeather.lua return { on = { timer = { "every ho...
by waaren
Thursday 16 August 2018 20:17
Forum: dzVents
Topic: What am I doing wrong here?
Replies: 9
Views: 314

Re: What am I doing wrong here?

What am I doing wrong here ? Im trying to get a night light script going. We have a switch that we toggle when we go to sleep. Virt_SLEEP So when this switch are on and there are motion in the kithchen or hallway so should the light go on and 35sec after no motion so should they go off. But when Vi...
by waaren
Thursday 16 August 2018 20:09
Forum: dzVents
Topic: Notification timer every 10min
Replies: 6
Views: 272

Re: Notification timer every 10min

... Would the "complex" script know how to handle multiple Timers? ...when my kid cut the lawn and earns more internet time. The problem is I tend to forget that the XBOX in on, and he plays for hours. LOL the "complex" script cannot handle multiple timers in its current form. The call to domoticz ...