Hi,
you need not wait - it is not yet Python plugin. You can run it from command line.
Search found 80 matches
- Wednesday 06 September 2017 9:42
- Forum: Heating/cooling
- Topic: Request to add Advantage Air
- Replies: 11
- Views: 4921
- Saturday 26 August 2017 9:47
- Forum: dzVents
- Topic: Rain prediction - weather underground
- Replies: 43
- Views: 10565
Re: Rain prediction - weather underground
Hi, thank you, great scripts and flexible way to catch any data from Wunderground 8-) - just modify parsed JSON variable syntax and get any data from it. Modified it slightly - Wunderground has option to combine JSON calls and so save daily limit (i hope) of free requests. Just add more features to ...
- Thursday 24 August 2017 7:40
- Forum: dzVents
- Topic: Average Temp from multiple sensors
- Replies: 22
- Views: 6239
Re: Average Temp from multiple sensors
Hi,
do you try to trigger script by time, not devices ? Every 5 minutes for example. It can avoid unnecessary often calculation and updates
do you try to trigger script by time, not devices ? Every 5 minutes for example. It can avoid unnecessary often calculation and updates
- Tuesday 22 August 2017 15:45
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Domoticz on RPi Zero W
- Replies: 13
- Views: 15832
Re: Domoticz on RPi Zero W
Hello Jumper How "big" is your system and what is the load? I'm thinking about changing Pi 3B on Zero W ..... Hi, Zero W is nice small piece of hardware, but be aware, it has notably less CPU power than RPI3. It is de facto overclocked RPi 1 model B - 1 CPU core vs. 4 cores of RPI3 and half of RAM
- Friday 18 August 2017 12:25
- Forum: dzVents
- Topic: Trigger on "Dummy/Usage/Electric" device
- Replies: 26
- Views: 5567
Re: Trigger on "Dummy/Usage/Electric" device
Hi, JSON / openUrl update method of dummy device triggers script correctly: This script updates dummy device based on switch states (just example): test_switch.lua return { active = true, logging = { level = domoticz.LOG_INFO, }, on = { -- trigger on device with name devices = {'switch'} }, execute ...
- Thursday 17 August 2017 10:28
- Forum: Blockly
- Topic: sValues vs Current state - Satel Integra
- Replies: 7
- Views: 2103
Re: sValues vs Current state - Satel Integra
IF..ELSEIF should be enclosed by "end" - complete condition part of your original script should be: ... -- check text value of device if device.text == 'On' then -- log for debugging purpose domoticz.log('Brak zasilania') -- send notification, more parameters available - see Wiki domoticz.notify ...
- Thursday 17 August 2017 10:19
- Forum: dzVents
- Topic: Trigger on "Dummy/Usage/Electric" device
- Replies: 26
- Views: 5567
Re: Trigger on "Dummy/Usage/Electric" device
Aah, sorry Danny, I had dzVents logging set to Errors + forced - too early morning :D . Works now via JSON call for dummy Temperature and dummy Usage/Electric too. I just looked to my old scripts, where I tested behaviour of not triggering Dummy Temp device. It worked via JSON call, but not by ...
- Thursday 17 August 2017 8:39
- Forum: Blockly
- Topic: sValues vs Current state - Satel Integra
- Replies: 7
- Views: 2103
Re: sValues vs Current state - Satel Integra
Change else to this - normal LUA syntax, nothing specific to dzVents:
I have no experience with Pushover - do you set it in Setup / Settings / Notifications ? Does it send message when click on Test ?
Code: Select all
elseif device.text == 'Off' then
- Thursday 17 August 2017 8:25
- Forum: dzVents
- Topic: Trigger on "Dummy/Usage/Electric" device
- Replies: 26
- Views: 5567
Re: Trigger on "Dummy/Usage/Electric" device
Hi, some time ago I had a problem with virtual Temperature device - LUA (nor dzVents ?) not triggered on device change. I solved it differently, but now i tested it again - looks it still not works (on beta 3.8312 currently). Maybe other dummy/virtuals types have same problem. Simple script: return ...
- Wednesday 16 August 2017 21:25
- Forum: Python
- Topic: Plugin - WeMo Switch
- Replies: 6
- Views: 3852
Re: Plugin - WeMo Switch
Hi, thank you for feedback. I thought about more addresses for WeMo switches, Python plugins has limited options for configuration parameters. Ping hardware has sub-page for setup - native device in C++ code. Do you have more WeMo for testing ? I have only one ;). I will try to add option to specify ...
- Wednesday 16 August 2017 17:59
- Forum: Python
- Topic: newbie in Python /pushover messaging
- Replies: 1
- Views: 792
- Wednesday 16 August 2017 17:58
- Forum: Blockly
- Topic: sValues vs Current state - Satel Integra
- Replies: 7
- Views: 2103
Re: sValues vs Current state - Satel Integra
Hi, not everything works in Blockly. This should work in dzVents scripting: return { active = true, logging = { level = domoticz.LOG_INFO, }, on = { -- trigger on device with name devices = {'Text device'} }, execute = function(domoticz, device) -- check text value of device if device.text == 'ON ...
- Wednesday 16 August 2017 17:21
- Forum: LUA
- Topic: Group thermostats
- Replies: 3
- Views: 1113
Re: Group thermostats
Hi, I am using this dzVents script for thermostats control by master virtual setpoint device: local LOGGING = true local devicesSlave = { -- List of slave thermostat devices 'setpoint 1', 'setpoint 2' } return { active = true, on = { devices = { 'Virtual Setpoint' -- Setpoint virtual master device ...
- Wednesday 16 August 2017 16:42
- Forum: dzVents
- Topic: Alternative for goto in lua?
- Replies: 16
- Views: 2828
Re: Alternative for goto in lua?
You are welcome
- Wednesday 16 August 2017 16:17
- Forum: dzVents
- Topic: change status device
- Replies: 3
- Views: 1393
Re: change status device
Hi,
you need not to check if device changed if (compteur.changed)..., because dzVents checks this for you based on trigger on = { devices = ....
Your script is started only when this device changes.
you need not to check if device changed if (compteur.changed)..., because dzVents checks this for you based on trigger on = { devices = ....
Your script is started only when this device changes.
Re: If Then
Hi, I think there is a problem with IF conditions and ELSE parts of these conditions. When first IF is evaluated as true (Voordeur.state == 'Open') and (zonondergang.state == 'On') , this part is executed: gang.switchOn() BridgeLamp.switchOn() But second IF condition is inverse of first in some ...
- Tuesday 15 August 2017 17:31
- Forum: dzVents
- Topic: Alternative for goto in lua?
- Replies: 16
- Views: 2828
Re: Alternative for goto in lua?
New script for you ;) local LOGGING = true return { active = true, logging = { level = domoticz.LOG_INFO, }, on = { timer = {'every minute'} }, execute = function(domoticz) local bathroomSensor = domoticz.devices('Badkamer') -- store override devices to variables - for better readability local ...
- Tuesday 15 August 2017 17:04
- Forum: dzVents
- Topic: Question about zwave_thermostat_mode_device.lua
- Replies: 13
- Views: 2259
Re: Question about zwave_thermostat_mode_device.lua
Great !
I am using updateMode similar way - uservariable 0 / 1 for setting thermostats to off in summer. There is one way of changing setting in web Gui - Edit device on Utility page, and there are modes.
I am using updateMode similar way - uservariable 0 / 1 for setting thermostats to off in summer. There is one way of changing setting in web Gui - Edit device on Utility page, and there are modes.
- Tuesday 15 August 2017 13:42
- Forum: dzVents
- Topic: Alternative for goto in lua?
- Replies: 16
- Views: 2828
Re: Alternative for goto in lua?
Aah, just for sure if I understand correctly: - override switches are 2 simple On / Off switches ? - override should happen when any of switches is On ? - one override switch should set 'Mechanische ventilatie' selector switch manually to 20, and second manually to 30 ? - if both override switches ...
- Tuesday 15 August 2017 12:41
- Forum: dzVents
- Topic: Alternative for goto in lua?
- Replies: 16
- Views: 2828
Re: Alternative for goto in lua?
OK, post script here.