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

[REQ] Component Request: Multiple DS18X20 on same 1-wire bus #122

Open
collosi opened this issue May 24, 2023 · 4 comments
Open

[REQ] Component Request: Multiple DS18X20 on same 1-wire bus #122

collosi opened this issue May 24, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@collosi
Copy link

collosi commented May 24, 2023

What's the full name of the component you'd like to see in Adafruit.io WipperSnapper?
DS18X20 (basic support is included already)

What type of component is this (i.e.: Pin, I2C)?
1-wire

Additional context
Since these devices are 1-Wire devices, they can be configured as a bus on the same IO pin. However, I think the component is currently only set up to read the temperature from the first of these devices. It would be nice for the component to report all of them.

@brentru
Copy link
Member

brentru commented May 25, 2023

The way the API is configured, there is only one OneWire device allowed per pin. You can use multiple DS18x20 devices by using multiple pins.

@collosi
Copy link
Author

collosi commented May 25, 2023

Understood. And that is a reasonable workaround. I think it still would be good not to require eating up IO pins unnecessarily.

@brentru brentru added enhancement New feature or request and removed request labels May 25, 2023
@brentru
Copy link
Member

brentru commented May 25, 2023

Absolutely! It was too difficult at the time, possibly we'll revisit this. I am leaving this issue open and have marked it as an enhancement.

@tyeth
Copy link
Contributor

tyeth commented Jun 28, 2024

Mentioning this as a reminder for our API V2 rewrite, to allow multiple DS18b20 / OneWire devices on the same addresses (currently a pin only component in API v1).
This also extends to include the idea of I2C OneWire mux chips, like the DS2484 being added in #228, which would also ideally support multiple OneWire devices on their buses. (There is also a multi-one-wire-bus version being considered, possibly the DS2482-800 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants