Skip to content
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

Not working #4

Closed
james1301 opened this issue Dec 28, 2020 · 5 comments
Closed

Not working #4

james1301 opened this issue Dec 28, 2020 · 5 comments

Comments

@james1301
Copy link

james1301 commented Dec 28, 2020

Hi I have installed on my Raspberry pi 4. It is appearing as an accessory but does not work. After a restart in debug mode. Any help? It just gets stuck saying opening but not actually doing anything. I don't know if those other peripherals it talks about ones I have since removed.

Here are the logs:

[12/28/2020, 2:57:31 PM] [SOMAShades] Initializing SOMAShades platform...
[12/28/2020, 2:57:31 PM] [SOMAShades] Finished initializing platform
[12/28/2020, 2:57:31 PM] [SOMAShades] Loading accessory from cache: Blinds
[12/28/2020, 2:57:31 PM] [SOMAShades] Executed didFinishLaunching callback
[12/28/2020, 2:57:31 PM] [SOMAShades] start noble scanning
Setup Payload:
X-HM://002518L3O16H4
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 945-73-012 │     
└────────────┘     

[12/28/2020, 2:57:31 PM] Homebridge is running on port 51606.
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 6be6c5449c89 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 434bae918423 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 662ccc578713 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 357bdbcfc359 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 3cf271d93bc4 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 76f331d338fd is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 733aa9512799 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 7f99c06d6566 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 1f2abc75a0f6 is not configured
[12/28/2020, 2:57:31 PM] [SOMAShades] peripheral 7f61b78097fd is not configured
[12/28/2020, 2:57:33 PM] [Homebridge UI] Homebridge Config UI X v4.36.0 is listening on :: port 8581
[12/28/2020, 2:57:32 PM] [SOMAShades] peripheral 78bdbc7252ff is not configured
[12/28/2020, 2:57:35 PM] [SOMAShades] peripheral 469d2a02998c is not configured
[12/28/2020, 2:58:10 PM] [SOMAShades] peripheral 76bcf87907ad is not configured
[12/28/2020, 2:59:59 PM] [SOMAShades] peripheral 229567699a37 is not configured
[12/28/2020, 3:00:56 PM] [SOMAShades] peripheral 0b99743a78ff is not configured
[12/28/2020, 3:00:56 PM] [SOMAShades] peripheral 18716ea1aca3 is not configured

@mylylyl
Copy link
Owner

mylylyl commented Dec 29, 2020

looks like the bluetooth device is working fine and it has discovered a lot of bluetooth devices. Have you configured your SOMA device's mac address?

@james1301
Copy link
Author

Yes but nothing has been added as an accessory. What is the best way to identify the mac address to make sure I have the right one? Is it the "serial number" one in the smart shades app?

@james1301
Copy link
Author

Now it is showing as an accessory but clicking on it to close, it just get's stuck on closing without doing anything:

[12/30/2020, 3:41:02 PM] [SOMAShades] Initializing SOMAShades platform...
[12/30/2020, 3:41:02 PM] [SOMAShades] Finished initializing platform
[12/30/2020, 3:41:02 PM] [SOMAShades] Loading accessory from cache: Our Blinds
[12/30/2020, 3:41:02 PM] [SOMAShades] Executed didFinishLaunching callback
[12/30/2020, 3:41:02 PM] [SOMAShades] start noble scanning
Setup Payload:
X-HM://002518L3O16H4
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
│ 945-73-012 │     
└────────────┘     

[12/30/2020, 3:41:02 PM] Homebridge is running on port 51606.
[12/30/2020, 3:41:02 PM] [SOMAShades] peripheral 78bdbc7252ff is not configured
[12/30/2020, 3:41:02 PM] [SOMAShades] peripheral 1d281f5f610e is not configured
[12/30/2020, 3:41:02 PM] [SOMAShades] peripheral 5f06d9e88cd2 is not configured
[12/30/2020, 3:41:02 PM] [SOMAShades] discovered peripheral eaca8001fca7, adding to accessories
[12/30/2020, 3:41:02 PM] [SOMAShades] Restoring existing accessory from cache: Our Blinds
[12/30/2020, 3:41:02 PM] [SOMAShades] discovered all peripherals, exiting...
[12/30/2020, 3:41:03 PM] [SOMAShades] peripheral connected
[12/30/2020, 3:41:03 PM] [SOMAShades] [connect] connected
[12/30/2020, 3:41:06 PM] [SOMAShades] set motor state characteristic
[12/30/2020, 3:41:06 PM] [SOMAShades] set motor target characteristic
[12/30/2020, 3:41:06 PM] [SOMAShades] set motor control characteristic
[12/30/2020, 3:41:06 PM] [SOMAShades] successfully get characteristics
[12/30/2020, 3:41:06 PM] [SOMAShades] finished initialize
[12/30/2020, 3:41:06 PM] [SOMAShades] getting information characteristics
[12/30/2020, 3:41:09 PM] [SOMAShades] successfully get device information
[12/30/2020, 3:41:09 PM] [SOMAShades] refreshing...
[12/30/2020, 3:41:10 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:41:10 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:41:10 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:41:10 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:41:20 PM] [SOMAShades] refreshing...
[12/30/2020, 3:41:20 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:41:20 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:41:21 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:41:21 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:41:31 PM] [SOMAShades] refreshing...
[12/30/2020, 3:41:31 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:41:31 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:41:31 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:41:31 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:41:41 PM] [SOMAShades] refreshing...
[12/30/2020, 3:41:41 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:41:41 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:41:42 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:41:42 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:41:43 PM] [SOMAShades] try setting target position to 100
[12/30/2020, 3:41:43 PM] [SOMAShades] failed because we are where we want
[12/30/2020, 3:41:47 PM] [SOMAShades] try setting target position to 100
[12/30/2020, 3:41:47 PM] [SOMAShades] failed because we are where we want
[12/30/2020, 3:41:48 PM] [SOMAShades] try setting target position to 100
[12/30/2020, 3:41:48 PM] [SOMAShades] failed because we are where we want
[12/30/2020, 3:41:52 PM] [SOMAShades] refreshing...
[12/30/2020, 3:41:52 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:41:52 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:41:52 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:41:52 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:41:53 PM] [Homebridge UI] [admin] Accessory layout changes saved.
[12/30/2020, 3:42:02 PM] [SOMAShades] refreshing...
[12/30/2020, 3:42:02 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:42:02 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:42:02 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:42:02 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:42:12 PM] [SOMAShades] refreshing...
[12/30/2020, 3:42:13 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:42:13 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:42:13 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:42:13 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:42:23 PM] [SOMAShades] refreshing...
[12/30/2020, 3:42:23 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:42:23 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:42:23 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:42:23 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:42:24 PM] [SOMAShades] peripheral disconnected
[12/30/2020, 3:42:33 PM] [SOMAShades] refreshing...
[12/30/2020, 3:42:33 PM] [SOMAShades] [getBatteryLevel] Peripheral not connected
[12/30/2020, 3:42:34 PM] [SOMAShades] peripheral connected
[12/30/2020, 3:42:34 PM] [SOMAShades] [connect] connected
[12/30/2020, 3:42:37 PM] [SOMAShades] set motor state characteristic
[12/30/2020, 3:42:37 PM] [SOMAShades] set motor target characteristic
[12/30/2020, 3:42:37 PM] [SOMAShades] set motor control characteristic
[12/30/2020, 3:42:37 PM] [SOMAShades] successfully get characteristics
[12/30/2020, 3:42:37 PM] [SOMAShades] finished initialize
[12/30/2020, 3:42:37 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:42:37 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:42:38 PM] [SOMAShades] [getCurrentPosition] return buf as buffer
[12/30/2020, 3:42:38 PM] [SOMAShades] currentPosition 100 targetPosition 0
[12/30/2020, 3:42:48 PM] [SOMAShades] refreshing...
[12/30/2020, 3:42:48 PM] [SOMAShades] [getBatteryLevel] return buf as buffer
[12/30/2020, 3:42:48 PM] [SOMAShades] setting battery level to 58
[12/30/2020, 3:42:49 PM] [SOMAShades] peripheral disconnected

@mylylyl
Copy link
Owner

mylylyl commented Dec 31, 2020

looking at the logs you're trying to set shade position to 100 while it's at 100. can you try setting it to half and see if it works?

@mylylyl
Copy link
Owner

mylylyl commented Jan 24, 2021

I'm closing this as there's no new info. You can re-open it if you're still having issues with it.

@mylylyl mylylyl closed this as completed Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants