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.
AM43 blinds motor protocol library
Home Page: https://pypi.org/project/am43/
License: GNU General Public License v3.0
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
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
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.