Comments (20)
Seems like a network issue
from homebridge-switchbot.
Seems like a network issue
Maybe, but I can't find one. Homebridge and SwitchBot Mini are on the same WiFi and network. The other service (Amazon) does not have a problem. Open to any other checks you can suggest
from homebridge-switchbot.
Fwiw - I tried changing to BLE and am getting the same error. I can still control the switchbot through Alexa but not through Homebridge. I'm happy to troubleshoot if you have any ideas
from homebridge-switchbot.
I am having the same issues! Tried cleaning my cache and nothing. Hero is the debug log:
13/07/2023, 11:08:27Switchbot PonteSwitchBotWARNING[DEBUG] Using Config Logging: debug 13/07/2023, 11:08:27Switchbot PonteSwitchBot[DEBUG] Finished initializing platform: 13/07/2023, 11:08:27Switchbot PonteSwitchBotPlatform Config: {"logging":"debug"} 13/07/2023, 11:08:27Switchbot PonteSwitchBotWARNING[DEBUG] Using Default Refresh Rate (2 minutes). 13/07/2023, 11:08:27Switchbot PonteSwitchBotWARNING[DEBUG] Using Default Push Rate. 13/07/2023, 11:08:27Switchbot PonteSwitchBot[DEBUG] Config OK 13/07/2023, 11:08:27Switchbot PonteSwitchBot[DEBUG] Executed didFinishLaunching callback 13/07/2023, 11:08:31Switchbot PonteSwitchBot[DEBUG] Devices: undefined 13/07/2023, 11:08:31Switchbot PonteSwitchBotUnknown statusCode, statusCode: 401, Submit Bugs Here: ' + 'https://tinyurl.com/SwitchBotBug 13/07/2023, 11:08:31Switchbot PonteSwitchBot[DEBUG] Headers: {"date":"Thu, 13 Jul 2023 14:51:20 GMT","content-type":"application/json","content-length":"26","connection":"keep-alive","x-amzn-requestid":"b8843cec-e185-435d-8d38-9f0695ff54b6","x-amzn-errortype":"UnauthorizedException","x-amz-apigw-id":"IAdYWHQ5IAMFWSA="} 13/07/2023, 11:08:31Switchbot PonteSwitchBotERRO[DEBUG] Failed to Discover Devices, Error Message: "Cannot read properties of undefined (reading 'deviceList')", Submit Bugs Here: https://tinyurl.com/SwitchBotBug 13/07/2023, 11:08:31Switchbot PonteSwitchBotERRO[DEBUG] Failed to Discover Devices, Error: TypeError: Cannot read properties of undefined (reading 'deviceList')
from homebridge-switchbot.
Are your devices enabled for Cloud? In the SwitchBot app
from homebridge-switchbot.
Yes! Everything was working fine and nothing changed. Looking trough the other opened bugs, 4 of them are the same #757 #756 #753 #742
from homebridge-switchbot.
log.txt
Here is the DEBUG log. Hope it helps, if it seems to be a firewall issue on my side, please let me know.
Here is my config:
"platform": "SwitchBot",
"name": "SwitchBot",
"credentials": {
"token": "xxx",
"secret": "xxx"
},
"options": {
"logging": "debug",
"devices": [
{
"deviceId": "C8:F1:15:DC:06:0C",
"configDeviceName": "Cortina ",
"configDeviceType": "Curtain",
"connectionType": "BLE",
"curtain": {
"set_min": 5,
"set_max": 95,
"setOpenMode": "0",
"setCloseMode": "0",
"hide_lightsensor": true
},
{
"deviceId": "CE:51:38:BF:D6:3E",
"configDeviceName": "Dedinho",
"configDeviceType": "Bot",
"connectionType": "BLE",
"bot": {
"mode": "press"
}
}
]
}
}
from homebridge-switchbot.
having same bug. all stopped working so i deleted and readded from scratch the plugin and re configured all but hoobs wont find my switchbot devices anymore. nothing appens in log
from homebridge-switchbot.
HOOBs isn’t supported. So that could be your issue.
from homebridge-switchbot.
from homebridge-switchbot.
Now magically it starts working again! All device are in my hoobs instance. Maybe network issue?
from homebridge-switchbot.
Now doesn’t work again! I don t think it s hoobs related. There is something wrong with the plugin itself! Because hoobs is the same than homebridge
from homebridge-switchbot.
@francescosabia I am not going to continue to go back and forth on this but HOOBs is different then Homebridge.
If you choose to use HOOBs, I will not support.
from homebridge-switchbot.
@francescosabia I am not going to continue to go back and forth on this but HOOBs is different then Homebridge.
If you choose to use HOOBs, I will not support.
sorry, don't get nervous. i don' t understand why the plugin worked good since yesterday also in hoobs... i think that also people with homebridge are having problems.
from homebridge-switchbot.
@francescosabia, HOOBs isn't support
from homebridge-switchbot.
@secj-eng can you try the latest beta?
@Niklas31 please open your own issue.
from homebridge-switchbot.
@donavanbecker Sorry for the delay. I've moved switchbot from Raspberry PI to another Homebridge instance. It works there without issue, but I'll go back and test on Raspberry platform when I get a chance. I'm running v2.7.1 on the new instance, is that what you want me to try or the latest beta?
from homebridge-switchbot.
@secj-eng Latest beta
from homebridge-switchbot.
I decided to flash and rebuild homebridge with the latest fresh raspberry pi homebridge installer.
I immediately get the following errors after installing switchbot using BLE.
[SwitchBot] Bot: Ent failed BLERefreshStatus with BLE Connection, Error Message: "Adapter is not ready: unknown"
[SwitchBot] Bot: Ent wasn't able to establish BLE Connection, node-switchbot: [object Object]
running hcitool lescan
I can see the bot
from homebridge-switchbot.
v2.8.0 is released
from homebridge-switchbot.
Related Issues (20)
- Support Request: Errors and Warning for Switchbot Curtain, not sure where to configure these values HOT 2
- Bug: Unknown statusCode: 500; Unknown statusCode: undefined HOT 2
- Feature Request: Specify a range of temperature settings for the air conditioner HOT 5
- Wiki updates HOT 1
- Bug: Missing all device with 3.1.1 HOT 6
- v3.1.2 leads to endless restart of child bridge. When restarting HomeBridge no plugins are loaded. HOT 4
- Bug: Cannot find package '@abandonware/noble' HOT 2
- Support Request: HOT 13
- Bug: Lock New Status Code Response HOT 4
- Feature Request: Smart Lock Pro HOT 7
- Mini Vacuum K10+ not working HOT 11
- Support Request: IR Devices not showing up HOT 7
- Support Request: HOT 3
- Bug: OpenAPI Unauthorized using valid keys HOT 4
- Support Request: Refresh rate HOT 2
- Support Request: Indoor/Outdoor sensors not showing in HomeKit HOT 4
- Bug: Ceiling Light does not respect changes outside of Homebridge/Homekit HOT 2
- Bug: Meter: Chambre Internal Server Error, An unexpected error on the SmartThings servers has occurred. These errors should be rare, statusCode: 500 HOT 15
- Bug: Homekit open/close/percentage open requests appear to do nothing or have the blinds proceed to incorrect open angles. HOT 2
- Bug:Blind Tilt: Right window Internal Server Error HOT 5
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 homebridge-switchbot.