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

How to read sensor connected to a different RPi? #6

Open
ehusar opened this issue Dec 30, 2016 · 4 comments
Open

How to read sensor connected to a different RPi? #6

ehusar opened this issue Dec 30, 2016 · 4 comments

Comments

@ehusar
Copy link

ehusar commented Dec 30, 2016

I'm running Homebridge on an RPi located inside the house. I have another RPi in the garage that has a ds18b20 connected to it. How do I read the temp sensor that is in the garage?

@jchassin
Copy link

I would suggest to use OWFS and its associated server OWSERVER.

Install OWFS and OWSERVER on your garage's RPi and access from your home-bridge RPi using OWClient. Look at my branch plugin which is a good start for a OWFS based setup.
I am thinking at porting the plugin to rely on owserver protocol instead of filesystem, if you're interested I can work on it.
regards,
jean

@jchassin
Copy link

jchassin commented Jan 2, 2017

You can use directly homebridge-owfs plugin. You need, OWFS and OWSERVER up and running
Jean

@ehusar
Copy link
Author

ehusar commented Jan 5, 2017

Jean. I am looking at this again. I am weighing the option of just installing another homebridge install of OWFS. I know very little about OWFS so I am a little worried about adding it just to get the temp in showing in Homekit.

@jchassin
Copy link

jchassin commented Jan 5, 2017

Hi ehusar,

Using OWFS is quite simple to setup (lots of tuto) but need extra HW to control 1-wire bus. W1-gpio controls diretly the bus. CPU load is certainly different. Personnally i am using first one as i have several devices on my bus (2408, 18b20) and i am not a big fan of pure sw solution. On your case i think the option you propose is probably the simpler and should work. I would pay attention on cpu load and reliability (depending on what is installed on your raspi), but at least shall be tried.
Jean

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

No branches or pull requests

2 participants