Git Product home page Git Product logo

Comments (20)

donavanbecker avatar donavanbecker commented on May 24, 2024

Seems like a network issue

from homebridge-switchbot.

secj-eng avatar secj-eng commented on May 24, 2024

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.

secj-eng avatar secj-eng commented on May 24, 2024

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.

Niklas31 avatar Niklas31 commented on May 24, 2024

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.

donavanbecker avatar donavanbecker commented on May 24, 2024

Are your devices enabled for Cloud? In the SwitchBot app

from homebridge-switchbot.

Niklas31 avatar Niklas31 commented on May 24, 2024

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.

Niklas31 avatar Niklas31 commented on May 24, 2024

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.

francescosabia avatar francescosabia commented on May 24, 2024

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.

donavanbecker avatar donavanbecker commented on May 24, 2024

HOOBs isn’t supported. So that could be your issue.

from homebridge-switchbot.

francescosabia avatar francescosabia commented on May 24, 2024

from homebridge-switchbot.

francescosabia avatar francescosabia commented on May 24, 2024

Now magically it starts working again! All device are in my hoobs instance. Maybe network issue?

from homebridge-switchbot.

francescosabia avatar francescosabia commented on May 24, 2024

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.

donavanbecker avatar donavanbecker commented on May 24, 2024

@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 avatar francescosabia commented on May 24, 2024

@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.

donavanbecker avatar donavanbecker commented on May 24, 2024

@francescosabia, HOOBs isn't support

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on May 24, 2024

@secj-eng can you try the latest beta?

@Niklas31 please open your own issue.

from homebridge-switchbot.

secj-eng avatar secj-eng commented on May 24, 2024

@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.

donavanbecker avatar donavanbecker commented on May 24, 2024

@secj-eng Latest beta

from homebridge-switchbot.

secj-eng avatar secj-eng commented on May 24, 2024

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.

donavanbecker avatar donavanbecker commented on May 24, 2024

v2.8.0 is released

from homebridge-switchbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.