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

Add support for XL9535 relay board #400

Open
mahnunchik opened this issue Sep 16, 2024 · 3 comments
Open

Add support for XL9535 relay board #400

mahnunchik opened this issue Sep 16, 2024 · 3 comments

Comments

@mahnunchik
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It would be nice if mqtt-io supports XL9535 relay board.

Describe the solution you'd like

Normal integration like other I2C PCF8574 or PCF8575 gpio expanders.

Describe alternatives you've considered

Write the code...

Additional context

PXL_20240916_173910471 MP

I bought a great relay board, with 16 relays, which is enough for all my needs. I would like to have simple and convenient integration.

More info:

@mahnunchik
Copy link
Contributor Author

It seems XL9535 is logically the same chip as PCA9535/TCA9535

@mahnunchik
Copy link
Contributor Author

Hi @flyte @mschlenstedt @BenjiU

I'd like to work on support of XL9535/PCA9535/TCA9535 chip and prepare PR. Could you please point me how to add a new device?

It seems there is no existing python "driver" published in pip. Could low level code be placed in this repo or should I make separate package?


Some kind of nodejs driver https://github.com/isky04/node-red-contrib-xl9535

@mschlenstedt
Copy link
Contributor

I recently started to add some sensors to MQTTIO. As far as I know there's no developer documentation. I looked at the existing modules, take one which is similar to the one I would like to add and started and tested on a life system.

You'll finde the code here:

Sensors: https://github.com/flyte/mqtt-io/tree/develop/mqtt_io/modules/sensor
Input/Outputs: https://github.com/flyte/mqtt-io/tree/develop/mqtt_io/modules/gpio

mahnunchik added a commit to mahnunchik/mqtt-io that referenced this issue Sep 22, 2024
mahnunchik added a commit to mahnunchik/mqtt-io that referenced this issue Sep 22, 2024
mahnunchik added a commit to mahnunchik/mqtt-io that referenced this issue Sep 22, 2024
mahnunchik added a commit to mahnunchik/mqtt-io that referenced this issue Sep 26, 2024
BenjiU pushed a commit that referenced this issue Oct 3, 2024
* feat: add xl9535 support, issue #400
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants