Search found 7 matches

by p0puptoast
Wednesday 12 October 2016 10:03
Forum: Z-Wave
Topic: Stella Z: how to set thermostat mode in Lua?
Replies: 0
Views: 565

Stella Z: how to set thermostat mode in Lua?

I am trying to set the Stella Z thermostat mode in a Lua script but I am failing. Looping through "deviceName,deviceValue in pairs(otherdevices)" shows that the stat mode devices have a nil string when the dashboard shows that there is a setting, and attempting to set the stat mode device value ...
by p0puptoast
Tuesday 11 October 2016 0:59
Forum: LUA
Topic: How to create a scheduled job in lua?
Replies: 6
Views: 1189

Re: How to create a scheduled job in lua?

I looked through domoticz/lua/doc/manual.html and http://www.cplusplus.com/reference/ctime/strftime/ and altered the starting section to timehour = os.date("%H") timehour_n = tonumber(timehour) timemin = os.date("%M") timemin_n = tonumber(timemin) Subsequently the time test is if (timehour_n == 22 ...
by p0puptoast
Monday 10 October 2016 17:46
Forum: LUA
Topic: How to create a scheduled job in lua?
Replies: 6
Views: 1189

Re: How to create a scheduled job in lua?

JustME125 wrote:What was your issue? Mine works like a charm
See viewtopic.php?f=23&t=13646&p=98626#p98626.
by p0puptoast
Monday 10 October 2016 14:23
Forum: LUA
Topic: How to create a scheduled job in lua?
Replies: 6
Views: 1189

Re: How to create a scheduled job in lua?

JustME125 wrote:Have a look at dZvents, works great for me.
Thanks for the tip but I had problems getting dzVents to run: nobody came back in the forum with my query on that.

Dave
by p0puptoast
Monday 10 October 2016 13:34
Forum: LUA
Topic: How to create a scheduled job in lua?
Replies: 6
Views: 1189

How to create a scheduled job in lua?

Domoticz v3.57. Linux ARM. Debian wheezy. I want to change the mode setting on a pair of thermostats at specific times in the day. I've looked but cannot see any examples of how to make a setting at a specific time. I am using the in-built editor and saving as a time script. Both the following ...
by p0puptoast
Saturday 08 October 2016 15:09
Forum: dzVents
Topic: Can't get dzVents test to work according to log
Replies: 7
Views: 1739

Re: Can't get dzVents test to work according to log

I should have said I'm running Domoticz v3.5700 running on Arm Debian 7. I compiled Domoticz myself.
by p0puptoast
Saturday 08 October 2016 11:57
Forum: dzVents
Topic: Can't get dzVents test to work according to log
Replies: 7
Views: 1739

Can't get dzVents test to work according to log

I have the files and folders in the correct place as instructed, and have renamed the switch in test.lua to 'Switch family room' but no entry appears in my log when I switch the switch on and off. I downloaded a zip off the github page to get dzVents. I am checking the log through the web interface ...