• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Error on Wiki Examples page
#1
Hi,
On the page Wiki - Events - Examples - Sunrise / Sunset Event, I think that there is an error:
Code:
"sunset": {
    "rule": "IF ((sunriseset.sunset == (datetime.hour + (datetime.minute / 100)) AND light.state IS off) AND datetime.second == 0) THEN switch DEVICE light TO on",
    "active": 1
},
"sunrise": {
    "rule": "IF ((sunriseset.sunset == (datetime.hour + (datetime.minute / 100)) AND light.state IS off) AND datetime.second == 0) THEN switch DEVICE light TO on",
    "active": 1
}

In the rule "sunrise" sunriseset.sunset should be sunriseset.sunrise.

Regards.
 
Reply
  


Messages In This Thread
Error on Wiki Examples page - by troccolo - 04-02-2015, 05:51 PM
RE: Error on Wiki Examples page - by curlymo - 04-02-2015, 05:55 PM
RE: Error on Wiki Examples page - by Peppi - 06-16-2015, 09:09 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  No link from manual-pages to main page? sirtet 6 5,154 03-27-2018, 06:22 AM
Last Post: curlymo
  User manual: error in wiring schema for USB nano? Fabrizio 0 1,931 11-25-2015, 04:52 PM
Last Post: Fabrizio
  Wiki Protocols Date&Time and Sunrise/Sunset troccolo 4 2,826 08-04-2015, 04:35 PM
Last Post: troccolo
  improvement in wiki function page Peppi 2 2,016 06-18-2015, 07:12 AM
Last Post: Peppi
  Typo on FAQ page BigSjedow 5 4,027 03-17-2015, 08:13 AM
Last Post: koos147
  [Fixed] donate error on website creamers 1 2,244 09-15-2014, 09:30 AM
Last Post: curlymo
  error on wiki pilight-deamon page fredegeld 1 2,579 06-12-2014, 06:15 PM
Last Post: curlymo
  Search error Sibren 1 1,691 05-25-2014, 12:19 AM
Last Post: curlymo
  Wiki Protocols wrong link LMD 1 2,168 03-26-2014, 01:14 PM
Last Post: curlymo
  [Solved] Error on protocols page meloen 1 1,806 03-11-2014, 09:08 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)