switch

the switch embed on obniz Board itself. If it's state is changed, notification will be fired.

request: get

Related item

path type conditions description
switch string
  • required
  • const "get"
 
// Json Example
[
    {
        "switch": "get"
    }
]

response: change

path type conditions description
switch.state string
  • required
  • enum
    • "none"
    • "push"
    • "left"
    • "right"
 
switch.action string
  • const "get"
this is optional and added when user request 
//Response Example
[
    {
        "switch": {
            "state": "none",
            "action": "get"
        }
    }
]

You will Get in Few Days

Circuit for Starter “obniz Board” is available on Amazon and other online stores.
You can get it at below

Our products and resellers

Forum

Visit our developer’s forum to discuss and discover technologies.

Forum

Contact

Feel free to contact out support and technical team.

Contact us