Reef pi setup help!! NOOB

Fisherman888

New Member
View Badges
Joined
Jul 9, 2020
Messages
11
Reaction score
7
Location
Palm Bay
What state or country do you live in
Florida
Rating - 0%
0   0   0
I am just in the beginning of setting up a reef pi. I am going through the steps at learn adafruit. I have been able to create test outlets under the equipment tab and i can turn them on and off. When i go into connectors and build a jack using pin 0. then i go to lights and try to dim it. I cant get it to turn on or off or dim. I am at a loss i have moved everything around and made sure my circuit is good by changing my power to both led's and they power on as an outlets.
I have tried GPIO 18 and 19 using pins 0 and 1 in connectors.
What am i doing wrong??

1595958567125.png
1595958593868.png
IMG_5125.jpg
IMG_5124.jpg
IMG_5125.jpg IMG_5124.jpg
 
I can't see anything wrong from the pictures. Try switching from Auto to Manual mode and moving the intensity around.
1595969684308.png


I'd also look in the logs to make sure the software is doing what we expect.
sudo journalctl -fu reef-pi.service
 
ok i found what you are talking about.
there is an error


Jul 28 17:12:31 fishtank reef-pi[386]: 2020/07/28 17:12:31 API Request:' GET /api/me' from: 192.168.1.248:55790
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 lighting subsystem: Setting Light: test light Channel: Channel-1 Value: 78
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 lighting-subsystem: Setting PWM value: 78 at channel: 0
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 ERROR: lighting-subsystem: Failed to set pwm value. Error: open /sys/class/pwm/pwmchip0/export: no such file or directory
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 lighting subsystem: Setting Light: test light Channel: Channel-1 Value: 0
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 lighting-subsystem: Setting PWM value: 0 at channel: 1
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 ERROR: lighting-subsystem: Failed to set pwm value. Error: open /sys/class/pwm/pwmchip0/export: no such file or directory
Jul 28 17:12:34 fishtank reef-pi[386]: 2020/07/28 17:12:34 health check: Used memory: 12.45 Load5: 0.27

Any idea how to fix it?
 
Last edited:
I got it! thank you!! i was adding dtoverlay=pwm-2chan into the command prompt but it was not adding it to the config.txt file.
 
I got it! thank you!! i was adding dtoverlay=pwm-2chan into the command prompt but it was not adding it to the config.txt file.
I'm glad you found the fix!
 

TOP 10 Trending Threads

HOW MUCH DOES A FISH’S FEEDING REQUIREMENTS AFFECT YOUR STOCKING DECISIONS?

  • A lot! - I avoid fish that require frequent or specialized feeding

    Votes: 17 33.3%
  • Quite a bit, but an automatic feeder can change my answer

    Votes: 6 11.8%
  • It depends on whether my nutrient export can handle it

    Votes: 8 15.7%
  • It depends on how badly I want the fish

    Votes: 11 21.6%
  • Not much. I’m willing to adjust my routine

    Votes: 9 17.6%
  • Not at all. Feeding demands don’t limit my stocking choices

    Votes: 8 15.7%
  • I usually learn about the demanding feeding schedule after buying the fish!

    Votes: 2 3.9%
  • I haven’t really considered this before

    Votes: 4 7.8%
  • Something else (see my comments in the thread)

    Votes: 1 2.0%
Back
Top
Home
Post thread…
Market
What's new