OK, everything is OK now I have log like this:
2018-10-04 12:51:53.290 Status: User: Admin initiated a switch command (6/t3/Off)
2018-10-04 12:51:53.336 Status: dzVents: Info: Handling events for: "t3", value: "Off"
2018-10-04 12:51:53.336 Status: dzVents: Info: ------ Start internal script ...
Search found 10 matches
- Thursday 04 October 2018 12:54
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
- Thursday 04 October 2018 9:04
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
Yes, in this file is the same as is in domoticz web log
2018-10-03 21:49:47.643 (Akwarium_test) Light/Switch (t3)
2018-10-03 21:49:47.790 (Akwarium_test) Light/Switch (t2)
2018-10-03 21:49:48.671 Notification sent (pushbullet) => Success
2018-10-03 21:50:34.311 Active notification Subsystems ...
2018-10-03 21:49:47.643 (Akwarium_test) Light/Switch (t3)
2018-10-03 21:49:47.790 (Akwarium_test) Light/Switch (t2)
2018-10-03 21:49:48.671 Notification sent (pushbullet) => Success
2018-10-03 21:50:34.311 Active notification Subsystems ...
- Thursday 04 October 2018 8:42
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
This is start script on QNAP NAS
#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="domoticz"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
APACHE_ROOT=`/sbin/getcfg SHARE_DEF defWeb -d Qweb -f /etc/config/def_share.info`
export QNAP_QPKG=$QPKG_NAME
export QPKG_ROOT
export QPKG_NAME ...
#!/bin/sh
CONF=/etc/config/qpkg.conf
QPKG_NAME="domoticz"
QPKG_ROOT=`/sbin/getcfg $QPKG_NAME Install_Path -f ${CONF}`
APACHE_ROOT=`/sbin/getcfg SHARE_DEF defWeb -d Qweb -f /etc/config/def_share.info`
export QNAP_QPKG=$QPKG_NAME
export QPKG_ROOT
export QPKG_NAME ...
- Wednesday 03 October 2018 21:57
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
I hope maybe tomorrow I'll get some information about start script on QNAP, now I haven't any idea.
- Wednesday 03 October 2018 21:55
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
I changed code and I have the same effect, I tried change language settings to English and effect is still the same.
2018-10-03 21:49:48.671 Notification sent (pushbullet) => Success
2018-10-03 21:50:34.311 Active notification Subsystems: pushbullet (1/13)
2018-10-03 21:51:14.711 (Akwarium_test ...
2018-10-03 21:49:48.671 Notification sent (pushbullet) => Success
2018-10-03 21:50:34.311 Active notification Subsystems: pushbullet (1/13)
2018-10-03 21:51:14.711 (Akwarium_test ...
- Wednesday 03 October 2018 13:17
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
return {
active = true,
on = {
devices = {
't3'
},
logging = { level = domoticz.LOG_INFO,
marker = "I am alive....." },
},
execute = function(domoticz, switch)
if (switch.state == 'On') then
domoticz.log('Hey! I am on!')
domoticz.devices('t2').switchOn()
domoticz.notify('Hey!', 'I ...
- Wednesday 03 October 2018 10:10
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
I tried this script and can't see anything in logs.
I noticed that I can change state of switch so scripts DzVents work but I cannot see anything in logs (also from your example).
I noticed that I can change state of switch so scripts DzVents work but I cannot see anything in logs (also from your example).
- Wednesday 03 October 2018 9:09
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
I understand and I have this settings on for all events type (Lua/Blockly/Scripts) and dzVents. For testing I set debug log level.
I also I tried to refreshed this setting by switch off and save and switch on and save.
I also I tried to refreshed this setting by switch off and save and switch on and save.
- Wednesday 03 October 2018 8:34
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
Re: DzVents doesn't trigger
Yes, I have in a script line:
active = true,
and enable it and saved.
Exacly the same way as with lua and blocly script (those work properly)
active = true,
and enable it and saved.
Exacly the same way as with lua and blocly script (those work properly)
- Wednesday 03 October 2018 8:15
- Forum: dzVents
- Topic: DzVents doesn't trigger
- Replies: 14
- Views: 1289
DzVents doesn't trigger
I have domoticz installed on QNAP NAS everything work properly besides DzVents scripts, I could trigger events blocly and lua but DzVents doesn't work and doesn't log anything (also in debug mode).