8000 Updated Mcp3008 to support reference_voltage and voltage_sampler::VoltageSampler by SenexCrenshaw · Pull Request #874 · esphome/esphome-docs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Updated Mcp3008 to support reference_voltage and voltage_sampler::VoltageSampler #874

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

Merged
merged 5 commits into from
Jan 13, 2021

Conversation

SenexCrenshaw
Copy link
Contributor

Description:

Updated the sensor to return the voltage read to match how the ADC component works.

Related issue (if applicable): fixes

Pull request in esphome with YAML changes (if applicable): esphome/esphome#1387

Checklist:

  • Branch: next is for changes and new documentation that will go public with the next ESPHome release. Fixes, changes and adjustments for the current release should be created against current.
  • [] Link added in /index.rst when creating new documents for new components or cookbook.

This is just an update to the current doc

@SenexCrenshaw SenexCrenshaw mentioned this pull request Dec 5, 2020
< 8000 circle data-target="tracked-issues-progress.stroke" style="transition: stroke-dashoffset 0.35s; transform: rotate(5.806451612903226deg); transform-origin: center" stroke="var(--fgColor-accent, var(--color-accent-fg))" stroke-width="2" stroke-dasharray="31" stroke-dashoffset="32.0" stroke-linecap="round" fill="transparent" cx="50%" cy="50%" r="5" /> 2 tasks
Copy link
Member
@jesserockz jesserockz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check the example indentation.
Also please don't inflate the example so much. Its best left with the minimum requirements to use the component. eg. don't need the "fridge" config as well. Best if you just add the reference_voltage line into the existing example.

@SenexCrenshaw
Copy link
Contributor Author

Please check the example indentation.
Also please don't inflate the example so much. Its best left with the minimum requirements to use the component. eg. don't need the "fridge" config as well. Best if you just add the reference_voltage line into the existing example.

Sounds good. ill do it over the weekend.

Add pictures and parent documentation
clarified a few things
@SenexCrenshaw
Copy link
Contributor Author

Made a few changes and I hope this completed the doc. It was lacking to say the least! Sorry about that

@SenexCrenshaw
Copy link
Contributor Author

@jesserockz I changed the png image to jpg and now the changelog doesnt match throwing a lint error. I could put the file back and have both or do I edit the changelog to point to the right file?

@jesserockz
Copy link
Member

I think the PNG file is corrupt but because it's still present in the branch it is causing errors. I am only on my phone so can't check properly.

Copy link
Contributor Author
@SenexCrenshaw SenexCrenshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link
Contributor Author

@SenexCrenshaw SenexCrenshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, Thanks!
@jesserockz is this good to go now?

@jesserockz jesserockz added this to the 1.16.0b4 milestone Jan 12, 2021
@jesserockz jesserockz changed the title Updated reference_voltage Updated Mcp3008 to support reference_voltage and voltage_sampler::VoltageSampler Jan 13, 2021
@jesserockz jesserockz merged commit da4a791 into esphome:next Jan 13, 2021
jesserockz added a commit that referenced this pull request Jan 17, 2021
…tageSampler (#874)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
@jesserockz jesserockz mentioned this pull request Jan 17, 2021
This was referenced Feb 3, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0