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

I develop exclusively on Mac. You need ruby , Andy run bundle install (to install fpm), before building Debian package

I have ruby and have run bundle install. To be more specific to what I am doing, I am running
Code:
make clean
make pi-zero
make deb
This results in this error
Code:
mkdir -p dist/var/lib/reef-pi/ui dist/usr/bin dist/etc/reef-pi
cp bin/reef-pi dist/usr/bin/reef-pi
cp assets/favicon.ico dist/var/lib/reef-pi/ui/favicon.ico
cp -r ui/* dist/var/lib/reef-pi/ui
cp build/reef-pi.yml dist/etc/reef-pi/config.yml
mkdir dist/var/lib/reef-pi/images
bundle exec fpm -t deb -s dir -a armhf -n reef-pi -v 2.1-52-gc74e8f6 -m [email protected] --deb-systemd build/reef-pi.service -C dist  -p reef-pi-2.1-52-gc74e8f6.deb .
Adding action files
Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag {:level=>:warn}
Process failed: tar failed (exit code 1). Full command was:["tar", "-C", "/var/folders/tm/676jfg9516s8cwfh5g78y5cw0000gn/T/package-deb-build-f66a215c065e4e510dee2e574c96aa13d5fbd0aa07d761e5b24b23974457/control", "-zcf", "/var/folders/tm/676jfg9516s8cwfh5g78y5cw0000gn/T/package-deb-build-f66a215c065e4e510dee2e574c96aa13d5fbd0aa07d761e5b24b23974457/control.tar.gz", "--owner=0", "--group=0", "--numeric-owner", "."] {:level=>:error}
 
Would it be possible to get reef-pi split off into its own form catagory? 514 pages on 1 topic makes it difficult to search and understand
"Split off its own form category".. I am sorry I am not able to understand this. Can you explain what is category, what if form? Give us an example
 
I have ruby and have run bundle install. To be more specific to what I am doing, I am running
Code:
make clean
make pi-zero
make deb
This results in this error
Code:
mkdir -p dist/var/lib/reef-pi/ui dist/usr/bin dist/etc/reef-pi
cp bin/reef-pi dist/usr/bin/reef-pi
cp assets/favicon.ico dist/var/lib/reef-pi/ui/favicon.ico
cp -r ui/* dist/var/lib/reef-pi/ui
cp build/reef-pi.yml dist/etc/reef-pi/config.yml
mkdir dist/var/lib/reef-pi/images
bundle exec fpm -t deb -s dir -a armhf -n reef-pi -v 2.1-52-gc74e8f6 -m [email protected] --deb-systemd build/reef-pi.service -C dist  -p reef-pi-2.1-52-gc74e8f6.deb .
Adding action files
Debian packaging tools generally labels all files in /etc as config files, as mandated by policy, so fpm defaults to this behavior for deb packages. You can disable this default behavior with --deb-no-default-config-files flag {:level=>:warn}
Process failed: tar failed (exit code 1). Full command was:["tar", "-C", "/var/folders/tm/676jfg9516s8cwfh5g78y5cw0000gn/T/package-deb-build-f66a215c065e4e510dee2e574c96aa13d5fbd0aa07d761e5b24b23974457/control", "-zcf", "/var/folders/tm/676jfg9516s8cwfh5g78y5cw0000gn/T/package-deb-build-f66a215c065e4e510dee2e574c96aa13d5fbd0aa07d761e5b24b23974457/control.tar.gz", "--owner=0", "--group=0", "--numeric-owner", "."] {:level=>:error}
do you have tar installed? Looks like fmp is invoking tar which is in turn failing. Makefile has the fmp command codified in it, you can invoke it directly to get debug output
 
Regarding the pca9685 frequency issue , @Michael Lane pointed out a possible bug in the driver where we are setting the frequency after wake up call... I’ll get back to this during weekend.
It would be great if it was something pretty simple and easy to find!
 
"Split off its own form category".. I am sorry I am not able to understand this. Can you explain what is category, what if form? Give us an example
As in you just have a whole section for Reef Pi (not part of DIY). Then all reef Pi related questions can go there with their own topics and headings and discussions that are easier to search.
 
It would be great if it was something pretty simple and easy to find!
I'm finishing the assembly on a small batch of boards this weekend. I'll probably jump on the pwm issue this weekend if Ranjib doesn't get to it first. I think I realized the reef-pi issue when I was working on the test script for my boards.

I'm sure we'll have the pwm issue sorted very soon!
 
As in you just have a whole section for Reef Pi (not part of DIY). Then all reef Pi related questions can go there with their own topics and headings and discussions that are easier to search.
We talked about this in past. We are not confident if the volume of posts justify a sub forum , we are certainly not sure if we’ll have such volume consistently over time in future . If we see this is the case then we can ask the mods , currently I don’t see the need. You can use #reefpi to cluster related things , and reef-pi website now links a handful of useful links(including build threads) that we can use as stop gap measure
 
do you have tar installed? Looks like fmp is invoking tar which is in turn failing. Makefile has the fmp command codified in it, you can invoke it directly to get debug output
tar comes default on a mac. Looking deeper into the error the default version of tar on a mac is bsdTar which appears to be incompatible with the fpm command. I went and installed gnu tar on my MAC and it resolved the issue. This info would be worth putting on the developers page IMO.
 
tar comes default on a mac. Looking deeper into the error the default version of tar on a mac is bsdTar which appears to be incompatible with the fpm command. I went and installed gnu tar on my MAC and it resolved the issue. This info would be worth putting on the developers page IMO.
Yes :-/ . BSD tar .. now I recall. Reason why I should format my laptop frequent. Thank you for calling this out. I'll update the docs asap.
 
I was able to find and fix the pca9685 frequency issue. Its a bug we introduced recently :-( , Fix on the way.. I'll report back with the rpi pwm frequency result as well
 
You have to run “npm install “ to get all ui related packages, followed by ‘make ui-dev’ which will start webpack.

I was attempting to resolve my issues with the PCA board by upgrading to the latest master branch. (Note @Michael Lane pointed out in different thread that 100% power on PCA does not currently work). When I make an .deb from the master branch (2.1-62-g0746010), then I install it on my pi-zero the UI no longer comes up. Instead it says "404 page not found".

After this I went to an older branch (2.1-52-gc74e8f6) and installed it. This UI seems to require you to add a "PCA" driver now. The UI suggests "68" as the address. Everytime I try and add one I get the error "remote I/O error". I know my i2c stuff is working because it works on version 2.2. How do I figure out what the proper address/frequency for the PCA board is? Or is there some other issue with the bleeding edge of reef-pi?

Screen Shot 2019-03-02 at 4.25.56 PM.png
 
I was attempting to resolve my issues with the PCA board by upgrading to the latest master branch. (Note @Michael Lane pointed out in different thread that 100% power on PCA does not currently work). When I make an .deb from the master branch (2.1-62-g0746010), then I install it on my pi-zero the UI no longer comes up. Instead it says "404 page not found".

After this I went to an older branch (2.1-52-gc74e8f6) and installed it. This UI seems to require you to add a "PCA" driver now. The UI suggests "68" as the address. Everytime I try and add one I get the error "remote I/O error". I know my i2c stuff is working because it works on version 2.2. How do I figure out what the proper address/frequency for the PCA board is? Or is there some other issue with the bleeding edge of reef-pi?

Screen Shot 2019-03-02 at 4.25.56 PM.png
Can you join the slack channel for developement related help. Master should work. We can step by step debug
 
I have cut 2.3 release. It has only one change, bugfix for pca9685 driver, where pwm frequency settings were not working. Release builds can be found in usual location:
https://github.com/reef-pi/reef-pi/releases/tag/2.3

cheers

I have some moon lights and dosing pumps on my PCA9685. They currently work like they should. How will this update affect my setup? My frequency is “set” to 200 but I have no way to measure if it’s actually 200. Will different frequencies affect motor speed or doser calibration?
 
If the motors you use can handle the whole range of frequencies, it will not affect anything. My problem was the mosfet driver boards I used only handle 1000hz max, and on my pi, the driver was stuck at 1500hz.
That being said its worth a quick test
 

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: 26 63.4%
  • Nah, I'll keep mine a secret...(Don't be like that, share with the class!)

    Votes: 15 36.6%
Back
Top
Home
Post thread…
Market
What's new