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

MaccaPopEye

Well-Known Member
View Badges
Joined
Jan 5, 2016
Messages
697
Reaction score
1,224
Rating - 0%
0   0   0
I probably was a little short cut here.

Yes I thought about using the breakout board in between 2 layers of PI boards. I looked at low height connectors for the 16*3 pin's, etc. but didn't find a suitable solution making it 'managable'.
Fair enough :)

As you said, being able to connect it to the I2C is always an option. I'm keen to try out SMT though once the board is ready :)
 

Johnny's300

New Member
View Badges
Joined
Aug 16, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
This has probably already been covered however I am having troubles with the temperature. I have Reef Pi up and running on a fresh install of Raspian on a raspberry pi 3 and it is showing the temp when I run Sudo python temperature.py. It seems I am missing something somewhere as I cant for the life of me get the temp to register on Reef pi. Any help would be much appreciated. TYIA
 

Erica-Renee

Valuable Member
View Badges
Joined
Oct 4, 2017
Messages
1,596
Reaction score
3,288
Location
lost
Rating - 0%
0   0   0
This has probably already been covered however I am having troubles with the temperature. I have Reef Pi up and running on a fresh install of Raspian on a raspberry pi 3 and it is showing the temp when I run Sudo python temperature.py. It seems I am missing something somewhere as I cant for the life of me get the temp to register on Reef pi. Any help would be much appreciated. TYIA

did you confirm this is correct
https://reef-pi.github.io/general-guides/install/
  • Enable i2c,onewire,spi,uart: Different types of electronics in reef-pi requires a number of kernel modules and device drivers to be loaded in kernel. Edit /boot/config.txt to load these modules
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
enable_uart=1
dtoverlay=w1-gpio

  • Configure ssh: ssh is used to remotely control and troubleshoot the Raspberry Pi.
sudo systemctl start ssh.service
sudo systemctl enable ssh.service

  • Set time and date: Configure raspbian to use network time to synchronize its date & time information. Also set specific locale, to reflect the local time instead of UTC
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
This has probably already been covered however I am having troubles with the temperature. I have Reef Pi up and running on a fresh install of Raspian on a raspberry pi 3 and it is showing the temp when I run Sudo python temperature.py. It seems I am missing something somewhere as I cant for the life of me get the temp to register on Reef pi. Any help would be much appreciated. TYIA
Welcome to reef2reef, you'll love it here.
I'll need little bit more details, like what version or reef-pi you are running? What are you seeing in reef-pi temperature tab, particularly in sensor drop down? Can you check the logs as well for any error? What python script you are running to check temperature sensor?
 

Johnny's300

New Member
View Badges
Joined
Aug 16, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
Welcome to reef2reef, you'll love it here.
I'll need little bit more details, like what version or reef-pi you are running? What are you seeing in reef-pi temperature tab, particularly in sensor drop down? Can you check the logs as well for any error? What python script you are running to check temperature sensor?
I am running version reef-pi-1.1-pi3.deb
2.55 MB. On a Rasp. 3. When I look at Reef-pi in the temp tab I see that it is enabled and temp graph that bounces between 78 -80. I am running sudo python temperature.py to check the sensor. Being noob not sure how to check the logs as well check for errors. Thank you for getting back to me
so quickly.
 

Johnny's300

New Member
View Badges
Joined
Aug 16, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
did you confirm this is correct
https://reef-pi.github.io/general-guides/install/
  • Enable i2c,onewire,spi,uart: Different types of electronics in reef-pi requires a number of kernel modules and device drivers to be loaded in kernel. Edit /boot/config.txt to load these modules
dtparam=i2c_arm=on
dtparam=spi=on
dtparam=audio=on
enable_uart=1
dtoverlay=w1-gpio

  • Configure ssh: ssh is used to remotely control and troubleshoot the Raspberry Pi.
sudo systemctl start ssh.service
sudo systemctl enable ssh.service

  • Set time and date: Configure raspbian to use network time to synchronize its date & time information. Also set specific locale, to reflect the local time instead of UTC
I checked these as you suggested all seems right.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I am running version reef-pi-1.1-pi3.deb
2.55 MB. On a Rasp. 3. When I look at Reef-pi in the temp tab I see that it is enabled and temp graph that bounces between 78 -80. I am running sudo python temperature.py to check the sensor. Being noob not sure how to check the logs as well check for errors. Thank you for getting back to me
so quickly.
Do you have dev_mode enabled by any chance? can you share a screenshot of you configuration -> settings UI as well as your temperature UI and dashboard,
 

Johnny's300

New Member
View Badges
Joined
Aug 16, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
Again noobie here. Dev_mode?
Screenshot_20180816-212000_Chrome.jpg
Screenshot_20180816-212000_Chrome.jpg
Screenshot_20180816-211944_Chrome.jpg


Screenshot_20180816-212009_Chrome.jpg


Screenshot_20180816-211944_Chrome.jpg


Screenshot_20180816-212009_Chrome.jpg
 

Johnny's300

New Member
View Badges
Joined
Aug 16, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
Sorry my bad forgot to hit update after unchecking dev_mode. The temp is now reading 81° pretty steady. But the sensor is in ambient temp. of a room that is 74°. When I run sudo python temperature.py on the raspberry pi ui it the sensor is reading a fairly constant 74 as well.
 

Johnny's300

New Member
View Badges
Joined
Aug 16, 2018
Messages
7
Reaction score
4
Rating - 0%
0   0   0
Just looked again at the reefpi temp and it is working know. The temp is off by about 10°. I am assuming that is a faulty temp sensor maybe. Thanks again for your help.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Just looked again at the reefpi temp and it is working know. The temp is off by about 10°. I am assuming that is a faulty temp sensor maybe. Thanks again for your help.
Crosscheck reef-pi values with your python script , if they are same then the sensor is faulty , else we have some bug , either in reef-pi or in python script
 

Rob Wheatley

New Member
View Badges
Joined
Jul 29, 2018
Messages
6
Reaction score
10
Rating - 0%
0   0   0
Think I have found a little bug in the 2 beta7 the interval the temp is set to update reads as set to seconds but it actually updates as minutes instead, not sure if that has been picked up yet.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Think I have found a little bug in the 2 beta7 the interval the temp is set to update reads as set to seconds but it actually updates as minutes instead, not sure if that has been picked up yet.
The check interval itself is in second: https://github.com/reef-pi/reef-pi/blob/master/controller/temperature/tc.go#L131
You'll also see corresponding log statement (reading temperature sensor ... ) at the expected interval, but the telemetry data is stored at per-minute interval at minimum, as a result you may see multiple entries in the chart with same timestamp (like if you have set interval to 10 second, you may see 6 points in the chart with same time stamp, since they belong to same minute), this issue (timestamp granularity in charts ) is not a problem in temperature usage chart (aka tc or temperature control) which shows hourly average of temperature along with heater/chiller usage.
 

janos

Active Member
View Badges
Joined
Jun 4, 2017
Messages
267
Reaction score
259
Location
Toronto,Canada
Rating - 0%
0   0   0
Good morning to all,one simple Q: it is possible my temp sensor is so good and stable,like this pics?Cooling fan is turning on and off so it is working.Just as i see another people charts it is all over and my chart is stable.

Screenshot from 2018-08-18 08-48-47.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,680
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Good morning to all,one simple Q: it is possible my temp sensor is so good and stable,like this pics?Cooling fan is turning on and off so it is working.Just as i see another people charts it is all over and my chart is stable.

Screenshot from 2018-08-18 08-48-47.png
Looks normal to me.
One of mine:
Screen Shot 2018-08-18 at 8.31.37 AM.png
 

TOP 10 Trending Threads

Back
Top