GithubHelp home page GithubHelp logo

Comments (20)

tzwada avatar tzwada commented on June 3, 2024 1

@donavanbecker, thanks for reply. I use BLE only. I don't have a hub. I'd be happy to wait for fixing. If you need any additional information, please let me know.

from homebridge-switchbot.

tzwada avatar tzwada commented on June 3, 2024 1

@donavanbecker I switched back to switchbot-ble plugin to avoid this issue. It would be good if this issue will be fixed. Then I'd happy to back to use again.

from homebridge-switchbot.

nmcc1212 avatar nmcc1212 commented on June 3, 2024 1

i'm using this plugin to avoid this issue

https://github.com/ewebdev/homebridge-switchbot-ble

from homebridge-switchbot.

oleksiikutuzov avatar oleksiikutuzov commented on June 3, 2024 1

@donavanbecker seems to be fixed in v1.5.1-beta.5. Bot keeps its off state.

from homebridge-switchbot.

tzwada avatar tzwada commented on June 3, 2024 1

The problem was fixed. See #234 (comment)

from homebridge-switchbot.

tzwada avatar tzwada commented on June 3, 2024

My question will be:

  • Are 2nd and 3rd line of plugin debug logs the reason why change the switchbot status from OFF to ON?
  • If so, why does above action occur?

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

@tzwada, so you are using BLE only mode right? I was able to reproduce this so will have to see why this is occurring. do you have a hub? if so the OpenAPI connection is working, so I must have one little piece of code wrong.

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

@tzwada this is actually an issue with node-switchbot. What I am receiving back from the BLE API is a false which causes it to switch back to false after it goes through.

The OpenAPI connection shows the state correctly, so if you are able to use the OpenAPI for now.

from homebridge-switchbot.

nmcc1212 avatar nmcc1212 commented on June 3, 2024

+1 am also having the same issue, although i didn't have this on the old plugin (just switched today)

from homebridge-switchbot.

raphaelmsr avatar raphaelmsr commented on June 3, 2024

So are we doomed into switching to homebridge-switchbot even if we only use BLE ?
My plugin keeps on asking the openToken but I don't need it ... Any ideas ?
How to reinstall homebridge-switchbot-ble?

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

So are we doomed into switching to homebridge-switchbot even if we only use BLE ?

My plugin keeps on asking the openToken but I don't need it ... Any ideas ?

How to reinstall homebridge-switchbot-ble?

First, This plugin works in BLE only mode, I haven't had time to look at this issue yet, but hopefully will soon. Second, the plugin shouldn't be asking for the openToken on the latest version, because of the BLE only mode.

from homebridge-switchbot.

raphaelmsr avatar raphaelmsr commented on June 3, 2024

So are we doomed into switching to homebridge-switchbot even if we only use BLE ?
My plugin keeps on asking the openToken but I don't need it ... Any ideas ?
How to reinstall homebridge-switchbot-ble?

First, This plugin works in BLE only mode, I haven't had time to look at this issue yet, but hopefully will soon. Second, the plugin shouldn't be asking for the openToken on the latest version, because of the BLE only mode.

The documentation is a bit opaque tbh; how do I activate the BLE only mode ?

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

Input deviceid and device name into SwitchBot device setting

from homebridge-switchbot.

raphaelmsr avatar raphaelmsr commented on June 3, 2024

I am not using the Homebridge UI I have Hoobs installed
somehow the settings for the device does not recognise the "add devices" entry

I am setting up manually in the Advanced tab

this is how it looks right now
{ "platform": "SwitchBot", "name": "SwitchBot", "credentials": { "notice": "Keep your token a secret!" }, "options": { "devices": [ { "deviceId": "XXXXXXXXX", "configDeviceName": "Hifi", "configDeviceType": "Bot", "ble": true, } ] }, "devicediscovery": false }

Thanks for your answer!

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

@raphaelmsr That would be a HOOBs issue as I use Homebridge Plugin UI.

Either move to homebridge.

Or ask HOOBs to support the UI

from homebridge-switchbot.

raphaelmsr avatar raphaelmsr commented on June 3, 2024

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

@raphaelmsr, Configuration Wiki

from homebridge-switchbot.

raphaelmsr avatar raphaelmsr commented on June 3, 2024

Thanks! Still no luck though, very weird

from homebridge-switchbot.

donavanbecker avatar donavanbecker commented on June 3, 2024

@tzwada and @raphaelmsr, can you try the latest beta:

npm version

Click here to find out how to install Beta

from homebridge-switchbot.

tzwada avatar tzwada commented on June 3, 2024

@donavanbecker Sorry for late. I have updated the plugin to 1.7.0 (not 1.5.1-beta.5). But unsuccessful. When the plugin starts, it became generating an error as below:

[08/01/2022, 09:02:06] [SwitchBot] Total IR Devices Found: 0
[08/01/2022, 09:02:06] [SwitchBot] Bot: Bot 7E Using Bot Mode: switch
[08/01/2022, 09:02:06] [SwitchBot] Bot: Bot 7E Displaying as Switch
[08/01/2022, 09:02:07] [SwitchBot] Bot: Bot 7E wasn't able to establish BLE Connection
[08/01/2022, 09:02:07] [SwitchBot] Bot: Bot 7E Using OpenAPI Connection

As of above, now the plugin says it cannot establish BLE connection. Is this something I have to reconfigure?
All settings are the same with my root article.

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.