Comments (14)
On an unrelated note, I have noticed the beta also includes the curtain's light sensor. That's awesome, I love it, thank you very much! Just so you know, on this beta the light sensor doesn't seem to be updating according to the sensor. It's always either 0.00001 lux or 100,000 lux.
I only get bright or dim from the API so that is my only option. It will only have one or the other. I will request on the API that we actually get a number
instead of string
.
Good if I close this?
from homebridge-switchbot.
@barabba9174 You will have to use homebridge settings to remove curtains that are no longer on your account.
from homebridge-switchbot.
The same problem applies when you rename the device on the SwitchBot app: you will get a new device on HomeKit but the old one (which is now not functional) will still be there. It's probably even worse that way because when you rename it, the duplicate device will have the same ID as the new one so you can not use the "hide" functionality of the SwitchBot plugin: it would hide both.
I deleted the plugin configuration then added it again and it worked: the duplicate device was gone... but this is not a good "solution" because you lose all of your automations related to all of your SwitchBot devices.
from homebridge-switchbot.
I will look at fixing this with release of v1.0.0!
I will push a beta out soon, can someone test for me?
from homebridge-switchbot.
@antoniogermano and @barabba9174 I have pushed a new beta out that will remove the deviceName creating the unique id for the device. you will have to clear your cache, easiest way to do that is to use Homebridge UI and go into settings and clear cache on all switchbot devices, then update plugin to the latest beta and then it will restart Homebridge and you will get all new switchbot devices.
If you can test renaming devices and see if this fixes your issues.
from homebridge-switchbot.
Thank you very much @donavanbecker ! I'm glad to test it but I don't know how to install the beta. It doesn't show up as an update on my home bridge.
On the support tab there's this link to the beta version wiki, but the link is broken:
https://github.com/OpenWonderLabs/homebridge-switchbot/wiki/Beta-Version
And on this GitHub page, when I click the "Wiki' button I'm also redirected to the Code tab.
from homebridge-switchbot.
from homebridge-switchbot.
@antoniogermano, sorry this is now corrected.
from homebridge-switchbot.
Hi,
i am running Homebridge in a Docker Container. I'd like to support and test the beat release. If i try to clean the cache some seconds after i deleted the device it comes automatically back to the cache. Therefore i am not able to clean the cache before updating to Beta. Do you have an idea what causes this issue?
However i installed the beta release but instead v.1.2.1-beta docker shows v.0.1.2-beta as latest beta release. Has Docker a different version control?
from homebridge-switchbot.
@smartmatic The screenshot is just an example and a totally different plugin.
from homebridge-switchbot.
@smartmatic, @barabba9174, or @antoniogermano this should be fixed with Beta:
can one of you test it out?
from homebridge-switchbot.
@donavanbecker Thank you very much for the patch. I have just installed it and tested it, here are the results:
- When I rename a device on the SwitchBot app, the name no longer updates on HomeKit (to be honest I don't mind that).
- When I rename a device on HomeKit, it also does not update on the SwitchBot app (I don't mind that), and it no longer duplicates the device. It's a lot better to not update the name than to lose all automations because of name changes, and I only care about the HomeKit name anyway.
That's satisfactory to me! I'm happy with the results. I can name and rename them whatever I want on the SwitchBot app and on HomeKit without duplicating the devices. This was a quick, 10 minutes test, but after restarting homebridge a couple of times I still don't have issues.
On an unrelated note, I have noticed the beta also includes the curtain's light sensor. That's awesome, I love it, thank you very much! Just so you know, on this beta the light sensor doesn't seem to be updating according to the sensor. It's always either 0.00001 lux or 100,000 lux.
from homebridge-switchbot.
I only get bright or dim from the API so that is my only option. It will only have one or the other. I will request on the API that we actually get a
number
instead ofstring
.
Great, thank you for the feedback.
It’s good for me, as far as I’m concerned you can close it :)
edit: oh, I didn’t try deleting it from the SwitchBot app so I can’t confirm the beta fixes that as well. But it does fix renaming them
from homebridge-switchbot.
edit: oh, I didn’t try deleting it from the SwitchBot app so I can’t confirm the beta fixes that as well. But it does fix renaming them
This is a little harder to implement, but It is on my list.
from homebridge-switchbot.
Related Issues (20)
- homebridge plugin doesn't see any devices, devices section says no devices HOT 3
- Bug: Switchbot Bot always return error "Cannot read properties of undefined (reading 'turnOn')" when press from homekit or homebridge accessories HOT 19
- Bug: Warning "expected valid finite number and received "NaN" (number)" HOT 10
- Support Request:
- Bug: Switchbot fails to load since updating to version 3.7.0 HOT 4
- Bug: HOT 10
- Alphanumeric characters other than a-zA-Z0-9 are dropped in device names HOT 21
- Support Request: Issue with multiple Hubs controlling IR Devices
- Support Request: Homebridge -> Hub Mini -> Bot HOT 5
- Support Request: "Removing any leftover ... Service" on every startup HOT 4
- Bug: Individual SwitchBot Hub 2 sensors aren't hidden
- Question: How is the robot vacuum integration supposed to work? HOT 4
- Support Request: Keep getting "Bot: Basement Heater botDeviceType: undefined, On: false" Error everytime it repolls the device
- Bug: Bot device configured in this plugin as "Mode: Switch" automatically reverts to "On" state in HomeKit after each Switchbot API poll HOT 3
- Bug: SwitchBot Hue Mini does not work on version 3.5.0 or later. HOT 3
- Bug: Switchbot Bot stopped working
- Bug: indoor/outdoor thermometer not working
- Feature Request: Water Sensor Dry State
- Support Request: BOT STOPPED WORKING ON BLE
- Support Request: getting error after installing switchbot home bridge plugin
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.