dzVents Timer problem

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

dzVents Timer problem

Post by Doudy »

Hello,

I have a problem with timer :
That is ok :

Code: Select all

	on = { 
		timer = { 
			'every 5 minutes between sunset and sunrise',
			} 
	},

Code: Select all

2018-04-20 16:25:03.123 dzVents: Info: ------ Start external script: test8.lua:, trigger: every 5 minutes between sunset and sunrise
2018-04-20 16:25:03.123 dzVents: [-------------- Test script Lua 8 --------------]
2018-04-20 16:25:03.156 dzVents: Info: Radiation :593
2018-04-20 16:25:03.156 dzVents: Info: ------ Finished test8.lua
But the following code does not work

Code: Select all

	on = { 
		timer = { 
			'every 2 between 15 minutes before sunrise and 15 minutes after sunset'
			} 
	},
Nothing in log !
An idea ?
;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

'every 2 minutes .. ' perhaps?
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

With
'every 2 minutes between 15 minutes before sunrise and 15 minutes after sunset'
dont working

The following does not work either
'between 15 minutes before sunset and 15 minutes after sunrise',
it seems to me that it is when using before and after that there is a problem
;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

Which version of dzVents are you using (see Domoticz about)?
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

Version: 3.8153
Build Hash: 494fff7
Compile Date: 2017-07-30 12:19:41

dzVents (2.2.0):
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

Image
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

Ah.. that's old. Doesn't support that stuff. You need at least 2.3.0 for this to work. Better use latest beta.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

dannybloe wrote: Friday 20 April 2018 17:32 Ah.. that's old. Doesn't support that stuff. You need at least 2.3.0 for this to work. Better use latest beta.
At https://github.com/dannybloe/dzVents/releases i dont find 2.3.0 :!:
;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

It is part of Domoticz now. Read the info page there :-)
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

OK :?
Thanks ;)
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

Hello,
When i "Check for Update"
I have the following response : "No update Available !"

My version : Version: 3.8153

Update:
When i change "Release Channel in Beta"
I have the following new version
3.9269

But dzVents is always : dzVents (2.2.0):

Update 2 :
Image
dzVents is always "DISABLED"
When I change the check (enabled) come back to (disabled) after apply settings
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

Try clearing your browser caches (all of them) (after you upgraded to the latest beta). And then check the Domoticz about page (not the settings as the settings will no longer show you dzVents version, that was moved to the about page).
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

dannybloe wrote: Monday 23 April 2018 7:23 Try clearing your browser caches (all of them)
OK
dannybloe wrote: Monday 23 April 2018 7:23 And then check the Domoticz about page
+ restart domoticz with

Code: Select all

pi@RASPBERRYPI-182:~ $ sudo /etc/init.d/domoticz.sh restart
[ ok ] Restarting domoticz.sh (via systemctl): domoticz.service.
Image

:!: No trace of dzvents :!:
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

try with Firefox

Image

:?:
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

It's a cache issue.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

Now is OK
new presentation (pretty)
Lua works

Image
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: dzVents Timer problem

Post by waaren »

Did you clear your appcache (chrome://appcache-internals/# ) and remove appropriate item ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
Doudy
Posts: 246
Joined: Tuesday 09 August 2016 9:09
Target OS: -
Domoticz version:
Contact:

Re: dzVents Timer problem

Post by Doudy »

But
No trace of the operation of dzvents
My script is in domoticz\scripts\dzVents\scripts

I changed the log level to Debug (everything) in settings / settings / other / dzvents
and I get the following messages:

Code: Select all

2018-04-23 09:13:48.154 dzVents: Debug: Processing device-adapter for WH2600-Solar Radiation: Solar radiation device adapter
2018-04-23 09:13:48.154 dzVents: Debug: dzVents version: 2.4.5
2018-04-23 09:13:48.154 dzVents: Debug: Event triggers:
2018-04-23 09:13:48.154 dzVents: Debug: - Device: WH2600-Solar Radiation
2018-04-23 09:13:48.172 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:13:48.192 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:13:48.209 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:13:48.226 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:13:54.714 (RFXCOM) Temp + Humidity (T-S. de Bain)
2018-04-23 09:13:57.352 (RFXCOM) Temp + Humidity (T-Garage)
2018-04-23 09:14:00.434 dzVents: Debug: Dumping domoticz data to /home/pi/domoticz/scripts/dzVents/domoticzData.lua
2018-04-23 09:14:00.478 dzVents: Debug: Event triggers:
2018-04-23 09:14:00.478 dzVents: Debug: - Timer
2018-04-23 09:14:00.496 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:14:00.515 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:14:00.533 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:14:00.550 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:14:00.568 dzVents: Debug: Script dzVents_settings.lua has no "on" and/or "execute" section, not a dzVents module. Skipping
2018-04-23 09:14:03.535 dzVents: Debug: Dumping domoticz data to /home/pi/domoticz/scripts/dzVents/domoticzData.lua
an idea ?
I do not understand very well
:oops:
RaspberryPi - RFLink - Zwave - WH2600
Domoticz : 2020.2 | Dashticz : V3.12 Master | dzvents : 3.0.2 | Python : 3.7.3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents Timer problem

Post by dannybloe »

Maybe show us your script. It is clearly wrong as the log-lines tell you.
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest