-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switchbot-mqtt not sending various data? #127
Comments
Hi, regarding 1)
source: https://github.com/fphammerle/switchbot-mqtt/tree/v3.3.1#curtain-motor Automatic position updates after "open" and "close" command have not been implemented yet. regarding 2) regarding 3) |
Okay, that answers those questions. I guess those things would be feature requests then with the exception of 3) which is a different beast. Thank you for checking! |
…, drop compatibility with python3.8, alpine v3.18.4 base image #103 #180 (comment) #127 (comment)
Update regarding 3) Support for reporting light levels in switchbot-mqtt can be added here: |
Hi! I'm not quite sure whether I should file this here or with PySwitchbot but I'll start here I guess.
I have switchbot-mqtt 3.3.1 running on a raspberry pi. The MQTT part works fine and I get events sent which I process in HA, however a few things don't seem to work, of which one is documented and doesn't work, and the others aren't documented at all and might not be implemented.
The device I'm having trouble with is a Switchbot Curtain, for clarity.
This works and the log gives feedback on the lines of
So that's all good.
According to the readme, the
--fetch-device-info
option should enable sending of position and battery data when an action is finished.I do get the battery data sent on the
homeassistant/cover/switchbot-curtain/MAC_ADDRESS/battery-percentage
topic, but the position is never sent.homeassistant/cover/switchbot-curtain/MAC_ADDRESS/position
stays emptyThe switchbot sends the state
opening
andclosing
after you send anOPEN
orCLOSE
command. However, I never get the event foropened
orclosed
, which should appear after the action has stopped. The reason I know the device is done is because the battery percentage does update. Are these events simply not passed on or do you not get these at all to pass through to mqtt?The Curtain device has a light sensor built in, I would love to have the information about that in the mqtt data as well. Is this possible? Or is that something that PySwitchbot hasn't done yet?
Thanks!
The text was updated successfully, but these errors were encountered: