We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call the POST /commands on A/C device with the following payload cause Internal Server Error
{ "command": "setAll", "parameter": "23,1,3,on", "commandType": "command" }
NB: Using any other value for the parameter mode the API success
Run the command with "auto" ad mode
curl --location 'https://api.switch-bot.com/v1.1/devices/*****/commands' \ --header 'Authorization: *****' \ --header 't: *****' \ --header 'sign: *****' \ --header 'nonce: ****' \ --header 'Content-Type: application/json' \ --data '{ "command": "setAll", "parameter": "23,1,3,on", "commandType": "command" }'
{ "statusCode": 190, "body": {}, "message": "internal server error" }
-
Postman
No response
The text was updated successfully, but these errors were encountered:
@KiraPC Hello ! Did you manage to solve the issue ? When adding more features on my end, I also got similar errors with dry and fan mode
Linking issue with home-assistant/core#135467 (comment)
Sorry, something went wrong.
This is a API related problem. In case of issue with my integration please open an issue on its repository
@KiraPC I see, sorry, it is not an issue with your integration but with mine while adding features :D
Minsheng
donavanbecker
chenliuyun
SwitchBot
SwitchBot-Wonderlabs
No branches or pull requests
Analysis
Call the POST /commands on A/C device with the following payload cause Internal Server Error
{ "command": "setAll", "parameter": "23,1,3,on", "commandType": "command" }
NB: Using any other value for the parameter mode the API success
Expected Behavior
Run the command with "auto" ad mode
Steps To Reproduce
curl --location 'https://api.switch-bot.com/v1.1/devices/*****/commands' \ --header 'Authorization: *****' \ --header 't: *****' \ --header 'sign: *****' \ --header 'nonce: ****' \ --header 'Content-Type: application/json' \ --data '{ "command": "setAll", "parameter": "23,1,3,on", "commandType": "command" }'
Logs
Configuration
-
Environment
Postman
Additional Context
No response
The text was updated successfully, but these errors were encountered: