• 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 in wiki controller explanation?
#1
In the WiKi at "API" under the heading "Controller" (just beneath the code sample) there's a line stating:

"The codes send by the controller should match the id's and not the names of the location and device"

Is this a slip of the tongue? I feed it with the exact sample of code and that works. No need for matching "id's" ... which is more-or-less the whole idea of the "controller" I think .. or do I miss something?
 
Reply
#2
Code:
{
    "living": {
        "name": "Living"
    },  
    "bedroom": {
        "name": "Bedroom"
    }        
}
No, the id's are living and bedroom. The names are Living and Bedroom.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  User manual: error in wiring schema for USB nano? Fabrizio 0 1,927 11-25-2015, 04:52 PM
Last Post: Fabrizio
  Wiki Protocols Date&Time and Sunrise/Sunset troccolo 4 2,822 08-04-2015, 04:35 PM
Last Post: troccolo
  improvement in wiki function page Peppi 2 2,008 06-18-2015, 07:12 AM
Last Post: Peppi
  Error on Wiki Examples page troccolo 2 3,867 06-16-2015, 09:09 PM
Last Post: Peppi
  [Fixed] donate error on website creamers 1 2,242 09-15-2014, 09:30 AM
Last Post: curlymo
  error on wiki pilight-deamon page fredegeld 1 2,575 06-12-2014, 06:15 PM
Last Post: curlymo
  Search error Sibren 1 1,687 05-25-2014, 12:19 AM
Last Post: curlymo
  Wiki Protocols wrong link LMD 1 2,161 03-26-2014, 01:14 PM
Last Post: curlymo
  [Solved] Error on protocols page meloen 1 1,802 03-11-2014, 09:08 PM
Last Post: curlymo
Sad Error on replying to thread Tedvdb 5 2,943 12-31-2013, 12:57 AM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)