-
Notifications
You must be signed in to change notification settings - Fork 50
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
Error in bleak: invalid syntax #9
Comments
@zeroarst are you able to update Python? I'm on 3.9. That's the only thing I could think of. 3.5.1 should be able to handle type hinting but maybe there's some newer syntax in there as well. |
I upgraded 3.9. dose not seem to see that error again.. but I got another error when run
Googled the issue: I think I will try to solve it another day.. |
As aienabled poimted out here python version 3.8.6 seems to be your best bet. I used the master branch and got it working. |
I had some progress today...
Now I can finally run
I found my desk address by suggested Bluetooth LE Explorer here, which is ec:8e:1a:1b:83:4c run My config.yaml I am so close... |
I think the mac_address needs to be uppercase. |
On my first try it refused to connect and i had to hold the idasens bluetooth button for the entire duration of the search (thus wipeing the desk height-presets). |
@MeTimesThree What are the desk height presets you're referring to? |
By desk height-presets i mean those saved positions from the app that the desk stops at when using the hw-controller. Pressing the button for about eight seconds wipes them, but i think pressing the button for four seconds is enough and keeps them. |
I think you might have a slightly different desk model? Is it this one: https://www.ikea.com/gb/en/p/idasen-desk-sit-stand-black-dark-grey-s89280993/ ? |
@aienabled
May I ask you what did you get it working on Windows, through the Windows Command line?
I tried to use git bash seem better but still getting errors.... I am not familiar with python it seems the exception is from colon symbol...variable cannot be declared with type..?
my python version
When I run python main.py
And I looked at the source code of bleak...
Really want to get this working on Windows.
Originally posted by @zeroarst in #4 (comment)
The text was updated successfully, but these errors were encountered: