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

@Ranjib

Well i think i have a bug. Ive experienced this a couple times. I noticed today that my lights were not changing in intensity. Not sure when it started everything else is working fine. So i test to make sure the pca was getting signal from pi. It was.
Well maybe my pca9685 is bad put a new one on still nothing. Well let me go delete it and re add it. Well i forgot to delete the jacks before deleting the driver.


The picture is what i get now under the connectors tab. Cannot get past it unless i delete database and start over. Ideas?

D11E36A7-5F67-487F-B52D-15C0A18CFA1E.png
 
Hey guys I was hoping someone can help me with PWM stuff. I can't seem to figure out how to make it work using reef pi. Here's what I've done. I did a fresh install. Noobs 3.1.1, reef pi 2.4. I updated everything before I installed reef pi. I went into config.txt and configured the pwm by adding code into the text. I am using the raspberry and I get this code and nothing works, thanks for the help

20190705_215048.jpg
 
Hey guys I was hoping someone can help me with PWM stuff. I can't seem to figure out how to make it work using reef pi. Here's what I've done. I did a fresh install. Noobs 3.1.1, reef pi 2.4. I updated everything before I installed reef pi. I went into config.txt and configured the pwm by adding code into the text. I am using the raspberry and I get this code and nothing works, thanks for the help

20190705_215048.jpg
Can you reboot ? And if the issue persist share the log
 
@Ranjib

Well i think i have a bug. Ive experienced this a couple times. I noticed today that my lights were not changing in intensity. Not sure when it started everything else is working fine. So i test to make sure the pca was getting signal from pi. It was.
Well maybe my pca9685 is bad put a new one on still nothing. Well let me go delete it and re add it. Well i forgot to delete the jacks before deleting the driver.


The picture is what i get now under the connectors tab. Cannot get past it unless i delete database and start over. Ideas?

D11E36A7-5F67-487F-B52D-15C0A18CFA1E.png
Yes, if I understand correctly this is a bug related to missing validation, reef-pi should not allow deleting drivers without deleting the associated connectors
 
I am having the same problem adding the pca9685, had it running fine on 2.3 but updated to 3.0 alpha 2 and keeps giving error messages. Not sure if these images are what you need to help diagnose this problem but here are some
Screenshot (2).png
Screenshot (3).png
Screenshot (4).png

guess I should add I have tried restarting several times and have even wiped the sd card and started new
 
I am having the same problem adding the pca9685, had it running fine on 2.3 but updated to 3.0 alpha 2 and keeps giving error messages. Not sure if these images are what you need to help diagnose this problem but here are some
Screenshot (2).png
Screenshot (3).png
Screenshot (4).png

guess I should add I have tried restarting several times and have even wiped the sd card and started new
You have to delete your reef-pi database if you are planning to upgrade to 3.0, and do the configuration again. In 3.0 you have to create a driver first, and then associate jacks with it. One the plus side you can use pca9685 as outlet , other than typical jacks
 
@Ranjib if you are talking about this then it has already been done
Sudo apt-get remove reef-pi -y --purge
Sudo rm -rf /var/lib/reef-pi
Is there something or somewhere I'm forgetting?
I did both of those, restarted, downloaded and installed 3.0, restarted again. Had to put in EVERYTHING fresh
 
@Ranjib if you are talking about this then it has already been done
Sudo apt-get remove reef-pi -y --purge
Sudo rm -rf /var/lib/reef-pi
Is there something or somewhere I'm forgetting?
I did both of those, restarted, downloaded and installed 3.0, restarted again. Had to put in EVERYTHING fresh
Yes, that’s it.

By the way, a very warm welcome to reef2reef :-)
 
Thank you for the welcome
Any idea why it won't load the pca9685? I was going to try to format the sd card again tomorrow and reinstall from scratch to see if that will take care of the problem, maybe I made a mistake the first time
 
Thank you for the welcome
Any idea why it won't load the pca9685? I was going to try to format the sd card again tomorrow and reinstall from scratch to see if that will take care of the problem, maybe I made a mistake the first time
What error you are getting? I2c is enabled ? Do you see the address via i2cdetect ? Does the chip shows red led light on ?
 
In 3.0 you have to create a driver first , then associate that with jacks
 
HI
still in the testing phase
i was getting (ERROR {"error":"Failed to create. Error: write /sys/class/pwm/pwmchip0/pwm0/period: invalid argument"} | HTTP 500) when i tried to add jack at channel 0
running reef-pi 2.4 pi3 on raspberry pi 3b+
after i searched for answers and couldn't get a clear one i upgraded to pi 3.0.0 pre-alpha 2
i was able to add the jack and run the test OK
then noticed that in the config page under setting i don't have pca9685 anymore
when i tried to add it from driver tab using the default poar 68 and frequency 1500 i got
error":"Failed to create. Error: remote I/O error"} | HTTP 500

any help would be appreciated
 
Hi
Still during the testing phase
was running reef-pi 2.4 on raspberry pi 3B+ and got error http 500 while trying to create jack at channel 0 after finding no clear solution i upgraded to pi 3.0.0 pre-alpha 2 and was able to add the jack easily and tested the PWM successfully. however i noticed there is no pca9685 support in the setting by default so i tried to add from the driver tab using the suggested address 68 and frequency of 1500 then i got this error
error":"Failed to create. Error: remote I/O error"} | HTTP 500
any help would be appreciated
thanks
 
Still having the same error, Alaa?

Yes
The first error occur with pi 2.3 and 2.4 and not corrected with updates and reboot
The second one with pi 3.0.0 alpha 2 and not only with pca9685 but with other drivers as well
 
You have the Pca9685 board connected to the pi?
I think Max frequency for pca9685 is 1000, see backside of the board
 

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

    Votes: 13 41.9%
Back
Top
Home
Post thread…
Market
What's new