-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hello!
Could it be possible to send HTTP requests to the SwitchBot BLE / Network Hub (using Bitfocus Companion) to control Switchbot Bot?
Could the following example for turning a Bot on get modified for the SwitchBot BLE / Network Hub?
Request
POST https://api.switch-bot.com/v1.1/devices/210/commands
{
"command": "turnOn",
"parameter": "default",
"commandType": "command"
}
Response
{
"statusCode": 100,
"body": {},
"message": "success"
}
I have already learned from another post, that it's possible to get feedback from Switchbot using HTTP GET, which is working great with Bitfocus Companion generic HTTP module:
http://my.IP.address/api/v1/device?address=Switchbot:BLE:MAC:address
Thank you in advance!
Metadata
Metadata
Assignees
Labels
No labels