Search found 6 matches

by DonLeo
Saturday 11 April 2020 16:01
Forum: LUA
Topic: HTML error in domoticz.log
Replies: 4
Views: 397

Re: HTML error in domoticz.log

lol,

Just the first test script (and it works):

return {
on = {
devices = {
'dzEventz'
}
},
execute = function(domoticz, switch)
if (switch.state == 'On') then
domoticz.log('Hey! I am on!')
else
domoticz.log('Hey! I am off!')
end
end
}
by DonLeo
Saturday 11 April 2020 14:59
Forum: LUA
Topic: HTML error in domoticz.log
Replies: 4
Views: 397

Re: HTML error in domoticz.log

Thanxs Waaren,

I a have the domoticz.log file already configured, there's no information of the going down state. But I find out that:

Only Event Systeem Lua/Blockly/Scripts enabled: cpu load ~45%
Event Systeem (Lua/Blockly/Scripts) + dzVentz eanabled: cpu load ~100%

I'm running monit (http ...
by DonLeo
Saturday 11 April 2020 13:24
Forum: LUA
Topic: HTML error in domoticz.log
Replies: 4
Views: 397

HTML error in domoticz.log

Hi all,

I'm using in my lua script a [SendNotification] command to inform me by e-mail for activities that are started (i.e. send an email with inside and outside temperature when the Fan is activated)
Code:
commandArray['SendNotification']='Fan activity...activated # '..dag..' '..mnd..' Hier de ...
by DonLeo
Friday 10 February 2017 16:44
Forum: LUA
Topic: Nest thermostat
Replies: 10
Views: 4586

Nest thermostat

Hallo Lua world,

Does someone have some more information to manipulate a Nest thermostat v3?

I'm using the presence detection to set the Nest on "Away" by using:
local nest_away = 'Home Living Room Away'
commandArray[nest_away]='On'
This works,
Then I change the Setpoint by:
commandArray ...
by DonLeo
Tuesday 05 April 2016 20:04
Forum: Other questions and discussions
Topic: Notification mail
Replies: 2
Views: 2626

Re: Notification mail

Thxs for the tip, I changed to emergency and ignore interval in the switch notification, that solved the problem.
by DonLeo
Monday 04 April 2016 23:17
Forum: Other questions and discussions
Topic: Notification mail
Replies: 2
Views: 2626

Notification mail

Hi,

I configured the Mail and notifications in domoticz and it works fine, but...

Configuring mail, clicked on 'test' and whitin 2 secs I received the test mail in my mail account, so far so good. Log file shows 2 entries:

2016-04-04 20:45:40.182 Notification sent (email) => Success
2016-04-04 20 ...