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

WHAT DO YOU ALWAYS RUN OUT OF AT THE WORST TIME?

  • Salt mix

    Votes: 12 16.4%
  • Fish or coral food

    Votes: 4 5.5%
  • Test kits or reagents

    Votes: 7 9.6%
  • Filter media or replacement fleece

    Votes: 4 5.5%
  • RO/DI filters or supplies

    Votes: 12 16.4%
  • Fragging and repair supplies, like glue or epoxy

    Votes: 8 11.0%
  • I keep a backup of everything

    Votes: 20 27.4%
  • Other (Post in the comments)

    Votes: 6 8.2%
Back
Top
Home
Post thread…
Market
What's new