Giter Site home page Giter Site logo

python-am43's Introduction

Hello! Hej! Bonjour! こんにちは! Profile Views

Greetings (again). I'm a he/him residing in Brussels, Belgium.
I express myself through design and software.

Currently working on Superset. Previously at Parabola.

If you are a recruiter, have a look at my CV.

python-am43's People

Contributors

binsentsu avatar breitburg avatar jokke-ilujo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

python-am43's Issues

Cannot find blinds even though they are seen by hcitool

Hi,

I have problem.
blinds are seen by RPI without issue
pi@drukarka:~ $ sudo hcitool lescan
LE Scan ...
02:8A:99:AE:55:9C Sypialnia lewa
02:EA:37:54:38:26 sypialnia prawe
But I cannot connect:

pi@drukarka:~ $ sudo python3
Python 3.7.3 (default, Jul 25 2020, 13:03:44)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

import am43
blind = am43.search('02:8A:99:AE:55:9C')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/dist-packages/am43/search.py", line 6, in search
return blinds[0] if len(addresses) == 1 else blinds
IndexError: list index out of range
blind = am43.search('02:EA:37:54:38:26')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.7/dist-packages/am43/search.py", line 6, in search
return blinds[0] if len(addresses) == 1 else blinds
IndexError: list index out of range

Any hints?

Adam

How to change bluetooth device

Hi,

I would like to use external bluetooth device.
I cannot see anywhere in code how to choose HCI device.
Devices:
hci1 00:19:0E:11:AC:CC
hci0 B8:27:EB:1A:A6:C5

Can you help me?

Adam

Instantiating multiple blinds through one scan

Hi,
When creating multiple blind instances the BLE scanning is performed for every blind.
Would be nice if initialization off multiple Blinds were possible through one BLE scan.
Mayb some kind of static factory method taking a list of MACs?

List index out of range

I have try this code, but I get always list index out of range.

My code is:

import am43

blind = am43.search('02:30:F4:98:89:77')  # Returns single blind
blind.set_position(percentage=30)  # Sets blinds position

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.