dzVents not running?

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

Moderator: leecollings

Post Reply
Plips
Posts: 3
Joined: Wednesday 27 December 2017 23:04
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.0
Location: Netherlands
Contact:

dzVents not running?

Post by Plips »

Trying to get dzVents to work.
Nothing happening.
Created a test.lua script in ~/domoticz/scripts/dzVents/scripts (also tried through web interface into generated_scripts directory)

Code: Select all

 return {
    active = true,
    on = {
        devices = {
            'SchakelaarMuur'
        }
    },
    execute = function(domoticz, switch)
        if (switch.state == 'On') then
            domoticz.log('Hey! I am on!')
        else
            domoticz.log('Hey! I am off!')
        end
    end
}

Network 127.0.0.1 is added to the no-password networks. dzVents is not disabled
Blockly script triggering on same switch does work.

Using domoticz V3.8153 stable on Pi3.
V3.8153
Raspbian GNU/Linux 8 (jessie)
Raspberry Pi3
dannybloe
Posts: 1355
Joined: Friday 29 August 2014 11:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Ermelo
Contact:

Re: dzVents not running?

Post by dannybloe »

Then it appears that dzVents isn't enabled after all. Have you looked at the troubleshooting guide?
Creator dzVents - RPi3, loads of zwave devices, esp8266, evohome.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest