8000 One-wire monitoring with PiPiper · Issue #80 · jwhitehorn/pi_piper · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
One-wire monitoring with PiPiper #80
Open
@maraaaa

Description

@maraaaa

Hello,

I am new to the Raspberry Pi and have been looking to expand my Ruby expertise beyond Sinatra apps and Chef code.

PiPiper seems to be the most mature (and only still active) Ruby library, so it seems like the natural jumping off point.

Looking at the documentation and the code, it doesn't look like there's a One-wire bus interface. Can you confirm this? Am I just looking in the wrong place?

I think I can take pin.rb and kind of extend what's happening there to be able to monitor my one-wire sensors?

Essentially what I think is missing (please correct me anywhere I'm mistaken):

  • A method to read every /sys/bus/w1/devices/28-XXXXX/w1_slave interface
  • A method to parse the data into (, , ) (since w1_slave is two lines of output) (maybe appropriate to include a timestamp?)
  • A method to determine if the value has changed since last poll.

Am I thinking along the right lines here? Any thoughts? Would one-wire monitoring be a feature that would be appropriate/welcome in PiPiper?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0