question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Curtains show as “Open” in HomeKit regardless of their current state

See original GitHub issue

Describe The Bug

This sounds similar to a previously closed Bug. However, the OP of that one had a different experience to me in the Switchbot app. For me, the current state of the curtains shows correctly in the Switchbot app but never updates from Open in Homebridge/Home app. This occurred after updating the Hub Mini firmware to version 5.2-3.3. Everything was working fine before that.

To Reproduce

Close curtains in the Home app via Homebridge - the icon in Home app will quickly return to Open even though the curtains have closed.

Expected behavior

Curtain will update to show it’s actual state.

Relevant log output

The log shows that it is checking status after a command is sent - screenshot below

Config for homebridge-switchbot

Apologies, this is pasted on an iPad using OCR from a screenshot so there could be some errors

"accessories":
"platforms": [
"platform": "SwitchBot"
"name": "SwitchBot"
"credentials": {
"notice":
"Keep your token a secret!"
"openToken",
"Xxxxxx"
"token":
"xxxxxxx",
"secret":""
3,
"options": {
"devices":
"deviceId": "D0D7500854A2"
"configDeviceName":
"configDeviceType":
"Dining Room Curtain",
"Curtain"
"curtain": {
"set_minStep"
20,
"set_min"
5,
"set _max": 95,
"refreshRate": 10,
"hide_lightsensor":
true
"deviceId": "D11F47E52332"
"configDeviceName":
"Guest Curtain",
"configDeviceType":
"Curtain"
"curtain": {
"set_minStep":
20,
"set_min":
5,
"set_max": 95,
"refreshRate": 10,
"hide_lightsensor": true
"deviceId": "E9EE7EODODOA"
"configDeviceName":
"configDeviceType":
"Bedroom Curtain",
"Curtain"
"curtain": K
"set_minStep": 20,
"set_min"
5,
"set_max": 95,
"refreshRate": 10,
"hide_lightsensor": true
"deviceId": "FF019AB9AA64",
"configDeviceName": "Lounge Curtain",
"configDeviceType":
"Curtain"
"curtain": {
"set minStep":
29.

Screenshots

IMG_1817

Device & Model

Xx

Node.js Version

16.18.1

NPM Version

Xx

Homebridge Version

1.5.0

Homebridge Switchbot Plugin Version

2.2.2

Homebridge Config UI X Plugin Version

HOOBS

Operating System

Raspbian/HOOBS

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:14

github_iconTop GitHub Comments

1reaction
AKWillowscommented, Nov 18, 2022

@donavanbecker Thanks for the reply. I understand what you mean. I have turned on the debug log for this plug-in and can see that the API appears to be passing back the incorrect value. I will raise a support ticket with Switchbot.

0reactions
AKWillowscommented, Dec 1, 2022

Hi all. Just had a response from Switchbot… apparently the mini hub needs a further firmware update and there is no confirmed timeline for that. I did refer to both of your cases above (thanks for sharing)… but it would appear that isn’t the issue I am facing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Curtain Status stuck on opening or closing #143 - GitHub
issue. When the curtains are open, the switch in HomeKit shows 'Open' but when they are closed, the switch endlessly shows as 'Closing'....
Read more >
Caseta fan controller Homekit issue : r/Lutron - Reddit
The miscommunication between our fan controller and HomeKit is an issue ... From there a page with a bunch of text boxes open...
Read more >
How to avoid the biggest HomeKit problems when setting up ...
Here are some of the most common HomeKit and home automation ... open the HomePass app, create a new accessory, then add the...
Read more >
Shelly support group (English Version) - Facebook
First when the Motion Sensor is in state "left open" AND second when motion is detected. But as far as I know there...
Read more >
Apple Watch User Guide
Open the Workout app , then tap the type of workout you want—a daily workout ... session, for example—appear at the top of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found