oweidner / i2crelay Goto Github PK
View Code? Open in Web Editor NEWA Python library and command line tool to control PCF8574 I2C relay boards
License: GNU General Public License v2.0
A Python library and command line tool to control PCF8574 I2C relay boards
License: GNU General Public License v2.0
Hi,
I tried your i2crelay. When i send:
i2crelay --i2c-bus=1 --i2c-addr=0x24 2:off -> also Pin 1 will switched off. I can reproduce it. Can this be a bug?
Kay
Hi there,
I'd like to use your library with Home Assistant.
After searching their GitHub I found one issue that describes multithreaded errors with MCP23017 chip - home-assistant/core#31867
I'd like to ask if your library is thread-safe?
Home Assistant will show each relay as a separate switch, that the user can turn on and off.
If the actions will be done manually (by user) then everything should work fine, but the user can create an action (script) that will turn 6 relays to off.
In the linked issue the author is adding mutex to ensure only single write at a time.
Do you think the same should be added to your library?
I'm not an expert with Python, so before I start creating a module for Home Assistant I'd like to be sure I won't run into any potential errors.
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.