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 ...
Search found 7 matches
- Wednesday 12 October 2016 10:03
- Forum: Z-Wave
- Topic: Stella Z: how to set thermostat mode in Lua?
- Replies: 0
- Views: 586
- Tuesday 11 October 2016 0:59
- Forum: LUA
- Topic: How to create a scheduled job in lua?
- Replies: 6
- Views: 1306
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 = os.date("%H")
timehour_n = tonumber(timehour)
timemin = os.date("%M")
timemin_n = tonumber(timemin)
Subsequently the time test is
if ...
- Monday 10 October 2016 17:46
- Forum: LUA
- Topic: How to create a scheduled job in lua?
- Replies: 6
- Views: 1306
Re: How to create a scheduled job in lua?
See viewtopic.php?f=23&t=13646&p=98626#p98626.JustME125 wrote:What was your issue? Mine works like a charm
- Monday 10 October 2016 14:23
- Forum: LUA
- Topic: How to create a scheduled job in lua?
- Replies: 6
- Views: 1306
Re: How to create a scheduled job in lua?
Thanks for the tip but I had problems getting dzVents to run: nobody came back in the forum with my query on that.JustME125 wrote:Have a look at dZvents, works great for me.
Dave
- Monday 10 October 2016 13:34
- Forum: LUA
- Topic: How to create a scheduled job in lua?
- Replies: 6
- Views: 1306
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 ...
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 ...
- Saturday 08 October 2016 15:09
- Forum: dzVents
- Topic: Can't get dzVents test to work according to log
- Replies: 7
- Views: 1841
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.
- Saturday 08 October 2016 11:57
- Forum: dzVents
- Topic: Can't get dzVents test to work according to log
- Replies: 7
- Views: 1841
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 ...
I downloaded a zip off the github page to get dzVents.
I am checking the log through the web ...