reef-pi :: An opensource reef tank controller based on Raspberry Pi.

So... Anyone familiar with this error while setting up a pH probe? I've never seen it before.

It's on the connector tab in configuration. It's a setup using @Michael Lane 's pH board & it's saying there's no driver for pin 0.

I have him checking to make sure his driver is set up correctly at the right address & verifying the pH probe is being seen with i2cdetect, so *hopefully* that process may give some answers. But I'd never seen this error before & thought some people here may be able to weigh in.

1588026356894.png

I get a similar error when trying to connect a camera.
 
https://github.com/hajimehoshi/oto/blob/master/README.md use the one that’s relevant for your platform

It is installed.. someone must have broke something.


Linux
libasound2-dev is required. On Ubuntu or Debian, run this command:
apt install libasound2-dev

terry@serge:~/go/src/github.com/reef-pi/reef-pi$ sudo apt install libasound2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libasound2-dev is already the newest version (1.2.2-2.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 
Last edited:
Run make deb, and that will generate a Debian package,

I don't have a Mac or Linux machine so have been trying hard with a Pi and Windows but so much to learn as I've never done anything like this. The development guide is nice but need to understand other things to use it.
 
I don't have a Mac or Linux machine so have been trying hard with a Pi and Windows but so much to learn as I've never done anything like this. The development guide is nice but need to understand other things to use it.

I get that.. sometimes the error messages make it pretty difficult to understand the failure..

This is the error I get trying to "make deb" on the pi4



pi@raspberrypi:~/go/src/github.com/reef-pi/reef-pi $ make deb
npm run ui
make: *** [Makefile:70: ui] Error 1



*** fixed this issue.. what next.. ;)
 
Last edited:
I get that.. sometimes the error messages make it pretty difficult to understand the failure..

This is the error I get trying to "make deb" on the pi4



pi@raspberrypi:~/go/src/github.com/reef-pi/reef-pi $ make deb
npm run ui
make: *** [Makefile:70: ui] Error 1



*** fixed this issue.. what next.. ;)

So just curious aare you guys trying to make the latest from github? Which version are you trying to make, pi-zero or pi? I can try to see if I can make, I used to have a build environment set up but need to poke at it, just wanted to understand what you are trying to make.

:)
 
it works fine on my raspberry pi 4, but not on my Kubuntu box.

I have the library installed on both, that's not the issue.. I compared the source on both machines, no difference there either.


I don't know..
 
it works fine on my raspberry pi 4, but not on my Kubuntu box.

I have the library installed on both, that's not the issue.. I compared the source on both machines, no difference there either.


I don't know..

Yeah this is a linux box also, I was looking through the code and started zoning out, context.go and I see the newDriver being called out but it's not finding something it needs, oh well.
 
So just curious aare you guys trying to make the latest from github? Which version are you trying to make, pi-zero or pi? I can try to see if I can make, I used to have a build environment set up but need to poke at it, just wanted to understand what you are trying to make.

:)

There was a minor issue with the Atlas pH driver when calibrating, Atlas could cope with it by my circuit code couldn't so was looking to make sure everything was good. Sounds like @GaryE has a package, now I'm trying to convince him to send me a copy. :)
 
There was a minor issue with the Atlas pH driver when calibrating, Atlas could cope with it by my circuit code couldn't so was looking to make sure everything was good. Sounds like @GaryE has a package, now I'm trying to convince him to send me a copy. :)

I was going to offer the same but it's not building on linux and it's not clear what is the issue, something to do with the new sound driver. When I get it working I can also build something if needed, just not sure what the current issue is.
 
I was going to offer the same but it's not building on linux and it's not clear what is the issue, something to do with the new sound driver. When I get it working I can also build something if needed, just not sure what the current issue is.

Thanks for the offer, @GaryE was kind enough to send me the package, what a superstar. :)
 
Thanks for the offer, @GaryE was kind enough to send me the package, what a superstar. :)

Sure no problem but we still need to figure out why its not compiling on a linux distro, something is needed and its breaking pulling in the oto stuff even though libasound2-dev is installed, I think it has to do with the linker but still looking.
 
Sure no problem but we still need to figure out why its not compiling on a linux distro, something is needed and its breaking pulling in the oto stuff even though libasound2-dev is installed, I think it has to do with the linker but still looking.

I saw something about alsa, I don't think that's it though.
 
So... Anyone familiar with this error while setting up a pH probe? I've never seen it before.

It's on the connector tab in configuration. It's a setup using @Michael Lane 's pH board & it's saying there's no driver for pin 0.

I have him checking to make sure his driver is set up correctly at the right address & verifying the pH probe is being seen with i2cdetect, so *hopefully* that process may give some answers. But I'd never seen this error before & thought some people here may be able to weigh in.

1588026356894.png
probably you have deleted a driver without deleting the corresponding connectors. This breaks UI. We are in process of fixing it: https://github.com/reef-pi/reef-pi/issues/1022
github closed this for stale reasons. i;ll reopen it, we'll get it fixed soonish.
 
It's not working in a linux environment, I'm looking at the context.go code but its not apparent as to what is missing, I have the dev files installed so it's something else.
What linux distro you are using? have you installed the audio library?
 
I was going to offer the same but it's not building on linux and it's not clear what is the issue, something to do with the new sound driver. When I get it working I can also build something if needed, just not sure what the current issue is.
Just FYI, i use ubuntu and macbook pro, and able to build on both platforms. I cant do cross compile (building pi binaries on laptop or desktop), but normal development flows work.,
 
I saw something about alsa, I don't think that's it though.
Could be, but it should work as long as you dont do cross compile. i.e make go should work, make pi will not work in non-pi setup.

We should move the development discussions in slack or some place else. Its developer onboarding related and little orthogonal to the original thread.
 
Last edited:
Could be, but it should work as long as you dont do cross compile. i.e make go should work, make pi will not work in non-pi setup.

We should move the development discussions in slack or some place else. Its developer onboarding related and little orthogonal to the original thread.

Sorry about cluttering up the thread, I thought about this last night when going to bed, it's the cross compiling. Make is working, make pi is not. I so an old issue on the Oto stuff that referenced cross compiling, so if you need to make for a pi it needs to be on a pi. Kind of a bummer since my linux box is a whole lot faster, I guess for development and testing you can make and test on linux etc, but when needed to make for a pi it needs to be on a pi. Has it always been that way, I could have sworn in the 2.x days I could make pi on linux, but maybe not.

Thanks for clearing that up, at least for my my bench pc is using Arch. :)
 

TOP 10 Trending Threads

ARE YOU READY TO CONFESS TO CRAZIEST, DUMBEST, FUNNIEST THING YOU’VE EVER DONE IN REEFING?

  • Yeah, I'll confess! (Share your story in the comments!)

    Votes: 19 57.6%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 14 42.4%
Back
Top
Home
Post thread…
Market
What's new