Comments (9)
This is the same issue mentioned in #27
This errore message is given by the switchbot api, but idk why you're receiving it.
I'll try to release a new version with some other verbose logs and ask you later a report. Please wait for this.
from ha-switchbot-remote.
from ha-switchbot-remote.
Hello @KiraPC I have a debug log available, could that be of any help?
I did a fresh config of the integration, but still getting the same error. I'm trying the SOURCE button
from ha-switchbot-remote.
Hi @darkner258 I've release the package 1.1.2. Please install it and make some test with working and not working devices.
Then attach the log.
Please remember to enable debug for switchbotremote integration adding this piece in your configuration.yaml
logger:
default: info
logs:
custom_components.switchbotremote: debug
from ha-switchbot-remote.
from ha-switchbot-remote.
Hey @KiraPC , so sorry it took so long. Here is the log. I started by sending a few volume down and up commands taht worked followed by the SOURCE command, that did not. The log is attached
home-assistant_switchbotremote_2024-01-09T11-56-33.212Z.log
from ha-switchbot-remote.
Hi, no problem.
As I guessed, from switchbot the SOURCE command do not exists on the device 02-202306031517-21702508
2024-01-09 12:51:24.515 DEBUG (SyncWorker_6) [custom_components.switchbotremote.client.remote] Sending command SOURCE
2024-01-09 12:51:24.516 DEBUG (SyncWorker_6) [custom_components.switchbotremote.client.remote] Command payload {'commandType': 'customize', 'command': 'SOURCE', 'parameter': 'default'}
2024-01-09 12:51:24.517 DEBUG (SyncWorker_6) [custom_components.switchbotremote.client.client] Calling service https://api.switch-bot.com/v1.1/devices/02-202306031517-21702508/commands
2024-01-09 12:51:25.180 DEBUG (SyncWorker_6) [custom_components.switchbotremote.client.client] Received error in response {'status_code': 160, 'body': {}, 'message': 'No this command'}
The request is sent correctly by the component. Maybe there is some space or bad char in the name you give to the button on the switchbot app.
from ha-switchbot-remote.
from ha-switchbot-remote.
Ok, no problem.
Happy to be useful!
from ha-switchbot-remote.
Related Issues (20)
- AC not turning off. HOT 9
- Seeing the Air con but not adding it. HOT 30
- Brand Icon HOT 4
- Cannot conifgure projector HOT 1
- Add topics to repository and prepare to plublic to defaults HACS repos HOT 6
- Use channel number for settop box HOT 3
- Error when executing Custom Button - "takes from 2 to 3 positional arguments but 4 were given" HOT 6
- Power status out of sync HOT 4
- Commands not working HOT 2
- Integration Issue When Adding Secret HOT 1
- Out of sync state with power sensor HOT 1
- Control Functions as Entites in Home Assistant HOT 10
- Deprecated constant TEMP_CELCIUS HOT 2
- ClimateEntityFeature settings issues HOT 2
- Handling status 500 from SwitchBot servers HOT 1
- Incomplete fixes for #34 and #35 HOT 2
- Warning using custom sensors (temperature for AC entity) HOT 1
- Custom/learned IR buttons not working HOT 5
- Fan on command doesn't work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ha-switchbot-remote.