• 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
Exclamation download error while install fleisch 10 3,089 01-09-2021, 10:19 AM
Last Post: qwertyJal
  Manual error for Globaltronics Quigg GT-1000 Micha 3 2,476 12-02-2020, 06:04 PM
Last Post: wooGot
  User manual: error in wiring schema for USB nano? Fabrizio 0 3,144 11-25-2015, 04:52 PM
Last Post: Fabrizio
  Wiki Protocols Date&Time and Sunrise/Sunset troccolo 4 3,990 08-04-2015, 04:35 PM
Last Post: troccolo
  improvement in wiki function page Peppi 2 3,139 06-18-2015, 07:12 AM
Last Post: Peppi
  Error on Wiki Examples page troccolo 2 7,564 06-16-2015, 09:09 PM
Last Post: Peppi
  [Fixed] donate error on website creamers 1 3,196 09-15-2014, 09:30 AM
Last Post: curlymo
  error on wiki pilight-deamon page fredegeld 1 4,055 06-12-2014, 06:15 PM
Last Post: curlymo
  Search error Sibren 1 2,579 05-25-2014, 12:19 AM
Last Post: curlymo
  Wiki Protocols wrong link LMD 1 3,512 03-26-2014, 01:14 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)