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)
- Feature Request: Curtains 3 HOT 3
- Bug: HOT 5
- Bug: v2.9.2 update error HOT 9
- Support Request: No Response Home App HOT 2
- Plugin shoes No Devices HOT 3
- Support Request: Homebridge to Home Assistant to HomeKit HOT 9
- Feature Request: Stateless Buttons for IR Light Device HOT 4
- Bug: Curtain 3 Control HOT 9
- Bug: Installing version 2.12.0 404 error on abandonware... HOT 27
- Switch bot Settings not available HOT 1
- Feature Request: the blinds need to close down HOT 2
- Feature Request: Support for mini vacuum K10+ HOT 10
- Bug: Installation on Raspberry Pi Zero fails HOT 3
- Feature Request: add support for K10+ HOT 1
- Bug: Curtain Appears Motion Sensor HOT 1
- Support Request: Curtain position resets to 20% after any change. Curtain stays at the requested position though HOT 3
- Bug: unknown status code HOT 2
- Feature Request: Save State of Switchbot Bot HOT 6
- Support Request: Devices found but no device showing under devices HOT 6
- Feature Request: Replace IR Aircon "Current Temperature" with reading from SwitchBot Thermometer & Hygrometer HOT 4
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.