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

Panda Jerk

Community Member
View Badges
Joined
May 17, 2016
Messages
91
Reaction score
100
Location
Mesa, AZ
Rating - 0%
0   0   0
Any ideas why the following API endpoints return 404? Running 2.2.
GET /api/tc/usage
GET /api/tc/readings
GET /api/tc/config

The temp control is on and working (these are dev datapoints, dont read too much into the settings)
2019-01-29_142520.png
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
@Ranjib question about the ATO alerts. I just set this up as follows and it should have tripped a the far right in this screen cap. I did not get a notification and the pump is currently on. can you assist on this because my wife is HORRIBLE at telling me she unplugged the pump once it ran dry. Plus on a controlled device, you cannot turn it off if programming wants it on. It instantly comes back on at the check period.

upload_2019-1-29_16-22-42.png
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Any ideas why the following API endpoints return 404? Running 2.2.
GET /api/tc/usage
GET /api/tc/readings
GET /api/tc/config

The temp control is on and working (these are dev datapoints, dont read too much into the settings)
2019-01-29_142520.png
reef-pi 1.0 has support for only a single ato, temperature control (tc) etc. reef-pi 2.0 added support for multiple ato, temperature controller etc, which is why your API calls wont work against 2.0, (and also the reason reef-pi had a major version bump, because it breaks older API). Try following:

Code:
# to list tcs
GET /api/tcs
# to fetch a single tc (with ID), this will give the config
GET /api/tcs/<ID>
# usage
GET /api/tcs/<ID>/usage

This should be analogous to most REST based APIs. I didnt get the time to document the 2.0 api , but know that the entire UI is powered by API, and you can find it under LoadAPI methods in each module, here: https://github.com/reef-pi/reef-pi/blob/master/controller/modules/temperature/api.go#L12
thank you for considering reef-pi, I'll love to know more about your build :)
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib question about the ATO alerts. I just set this up as follows and it should have tripped a the far right in this screen cap. I did not get a notification and the pump is currently on. can you assist on this because my wife is HORRIBLE at telling me she unplugged the pump once it ran dry. Plus on a controlled device, you cannot turn it off if programming wants it on. It instantly comes back on at the check period.

upload_2019-1-29_16-22-42.png
I'll check it out tonight. I am in a spot where I can do context switching from the ph board work :0)
 

Bigtrout

Valuable Member
View Badges
Joined
Dec 16, 2018
Messages
1,189
Reaction score
2,811
Rating - 0%
0   0   0
@Ranjib
Did you see the reference to the esp8266 sonoff devices and tasmota on the other thread?
I myself prefer hardwired reef-pi but the sonoff POW R2 would allow power monitoring for 18 dollars if you could somehow incorporate it easily..
 
Last edited:
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib
Did you see the reference to the esp8266 sonoff devices and tasmota on the other thread?
I myself prefer hardwired reef-pi but the sonoff POW R2 would allow power monitoring for 18 dollars if you could somehow incorporate it easily..
yes. I am paying close attention to this, and will consider all these perspective as and when we induct remote outlets in reef-pi, based on HAL. It will be awesome if you post any relevant r2r links in the corresponding issue: https://github.com/reef-pi/reef-pi/issues/642
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Can you check if we are seeing fd leak when dashboard is open (/proc/<reef-pi PID>/fd should have some clue).

Sure I can poke around, what should I be looking for?

Code:
bishop@tankpi:~ $ sudo ls -l /proc/20930/fd
total 0
lr-x------ 1 root root 64 Jan 26 21:13 0 -> /dev/null
lrwx------ 1 root root 64 Jan 26 21:13 1 -> socket:[1060637]
lrwx------ 1 root root 64 Jan 26 21:13 10 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio22/value
lrwx------ 1 root root 64 Jan 26 21:13 11 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio22/active_low
lrwx------ 1 root root 64 Jan 26 21:13 12 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio23/direction
lrwx------ 1 root root 64 Jan 26 21:13 13 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio23/value
lrwx------ 1 root root 64 Jan 26 21:13 14 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio23/active_low
lrwx------ 1 root root 64 Jan 26 21:13 15 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio24/direction
lrwx------ 1 root root 64 Jan 26 21:13 16 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio24/value
lrwx------ 1 root root 64 Jan 26 21:13 17 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio24/active_low
lrwx------ 1 root root 64 Jan 26 21:13 18 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio25/direction
lrwx------ 1 root root 64 Jan 29 19:28 19 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio25/value
lrwx------ 1 root root 64 Jan 26 21:13 2 -> socket:[1060637]
lrwx------ 1 root root 64 Jan 26 21:13 20 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio25/active_low
lrwx------ 1 root root 64 Jan 26 21:13 21 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio5/direction
lrwx------ 1 root root 64 Jan 26 21:13 22 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio5/value
lrwx------ 1 root root 64 Jan 26 21:13 23 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio5/active_low
lrwx------ 1 root root 64 Jan 26 21:13 24 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio6/direction
lrwx------ 1 root root 64 Jan 26 21:13 25 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio6/value
lrwx------ 1 root root 64 Jan 26 21:13 26 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio6/active_low
lrwx------ 1 root root 64 Jan 29 19:28 27 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio12/direction
lrwx------ 1 root root 64 Jan 26 21:13 28 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio12/value
lrwx------ 1 root root 64 Jan 29 19:28 29 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio12/active_low
lrwx------ 1 root root 64 Jan 26 21:13 3 -> /var/lib/reef-pi/reef-pi.db
lrwx------ 1 root root 64 Jan 29 19:28 30 -> socket:[1057625]
lrwx------ 1 root root 64 Jan 29 19:28 31 -> socket:[1274707]
lrwx------ 1 root root 64 Jan 26 21:13 4 -> anon_inode:[eventpoll]
lrwx------ 1 root root 64 Jan 26 21:13 5 -> /dev/i2c-1
lrwx------ 1 root root 64 Jan 26 21:13 6 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio27/direction
lrwx------ 1 root root 64 Jan 26 21:13 7 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio27/value
lrwx------ 1 root root 64 Jan 26 21:13 8 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio27/active_low
lrwx------ 1 root root 64 Jan 26 21:13 9 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio22/direction
 

bishoptf

Valuable Member
View Badges
Joined
Jan 1, 2019
Messages
1,409
Reaction score
1,726
Location
Missouri
Rating - 0%
0   0   0
Can someone who is experiencing the supposed dashboard memory leak use wireshark and post a capture? Ideally, start the capture before you open the dashboard, then we can see what the traffic is like, if there are connections that aren't closing or being reset that should be.

Before you post it...PLEASE please please remove the packets containing your login credentials (if you aren't using HTTPS). I'd also use a filter so that you don't post all the other stuff flying around on your network (use a capture filter (not a display filter at the top of the capture window) of host <reef-pi_ip_address>)

I actually do not think its a leak I think its a memory usage thing, with 2.2 it scales memory way down based on your settings. Based on what I am seeing I think I could leave a tab open for days and it not matter. However I do have a wireshark capture, although with everything being encrypted not sure how this will help. Not sure how to upload the file either being a .pcap file.

Let me know who would like the capture, I can email it, just drop me a PM.
 

Panda Jerk

Community Member
View Badges
Joined
May 17, 2016
Messages
91
Reaction score
100
Location
Mesa, AZ
Rating - 0%
0   0   0
reef-pi 1.0 has support for only a single ato, temperature control (tc) etc. reef-pi 2.0 added support for multiple ato, temperature controller etc, which is why your API calls wont work against 2.0, (and also the reason reef-pi had a major version bump, because it breaks older API). Try following:

Code:
# to list tcs
GET /api/tcs
# to fetch a single tc (with ID), this will give the config
GET /api/tcs/<ID>
# usage
GET /api/tcs/<ID>/usage

This should be analogous to most REST based APIs. I didnt get the time to document the 2.0 api , but know that the entire UI is powered by API, and you can find it under LoadAPI methods in each module, here: https://github.com/reef-pi/reef-pi/blob/master/controller/modules/temperature/api.go#L12
thank you for considering reef-pi, I'll love to know more about your build :)
Excellent. Thank you. I hadn't poured over the source code too far yet. My build will be a ways off - there's always something else to do. I'm setting up slowly and it's been a while since my last tank was online, was using a Reef Keeper then - oops, that ended poorly. But this looks very promising. Thanks.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Sure I can poke around, what should I be looking for?

Code:
bishop@tankpi:~ $ sudo ls -l /proc/20930/fd
total 0
lr-x------ 1 root root 64 Jan 26 21:13 0 -> /dev/null
lrwx------ 1 root root 64 Jan 26 21:13 1 -> socket:[1060637]
lrwx------ 1 root root 64 Jan 26 21:13 10 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio22/value
lrwx------ 1 root root 64 Jan 26 21:13 11 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio22/active_low
lrwx------ 1 root root 64 Jan 26 21:13 12 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio23/direction
lrwx------ 1 root root 64 Jan 26 21:13 13 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio23/value
lrwx------ 1 root root 64 Jan 26 21:13 14 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio23/active_low
lrwx------ 1 root root 64 Jan 26 21:13 15 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio24/direction
lrwx------ 1 root root 64 Jan 26 21:13 16 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio24/value
lrwx------ 1 root root 64 Jan 26 21:13 17 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio24/active_low
lrwx------ 1 root root 64 Jan 26 21:13 18 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio25/direction
lrwx------ 1 root root 64 Jan 29 19:28 19 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio25/value
lrwx------ 1 root root 64 Jan 26 21:13 2 -> socket:[1060637]
lrwx------ 1 root root 64 Jan 26 21:13 20 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio25/active_low
lrwx------ 1 root root 64 Jan 26 21:13 21 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio5/direction
lrwx------ 1 root root 64 Jan 26 21:13 22 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio5/value
lrwx------ 1 root root 64 Jan 26 21:13 23 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio5/active_low
lrwx------ 1 root root 64 Jan 26 21:13 24 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio6/direction
lrwx------ 1 root root 64 Jan 26 21:13 25 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio6/value
lrwx------ 1 root root 64 Jan 26 21:13 26 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio6/active_low
lrwx------ 1 root root 64 Jan 29 19:28 27 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio12/direction
lrwx------ 1 root root 64 Jan 26 21:13 28 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio12/value
lrwx------ 1 root root 64 Jan 29 19:28 29 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio12/active_low
lrwx------ 1 root root 64 Jan 26 21:13 3 -> /var/lib/reef-pi/reef-pi.db
lrwx------ 1 root root 64 Jan 29 19:28 30 -> socket:[1057625]
lrwx------ 1 root root 64 Jan 29 19:28 31 -> socket:[1274707]
lrwx------ 1 root root 64 Jan 26 21:13 4 -> anon_inode:[eventpoll]
lrwx------ 1 root root 64 Jan 26 21:13 5 -> /dev/i2c-1
lrwx------ 1 root root 64 Jan 26 21:13 6 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio27/direction
lrwx------ 1 root root 64 Jan 26 21:13 7 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio27/value
lrwx------ 1 root root 64 Jan 26 21:13 8 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio27/active_low
lrwx------ 1 root root 64 Jan 26 21:13 9 -> /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio22/direction
Thank you for this data. No bad signs here..
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
@Ranjib question about the ATO alerts. I just set this up as follows and it should have tripped a the far right in this screen cap. I did not get a notification and the pump is currently on. can you assist on this because my wife is HORRIBLE at telling me she unplugged the pump once it ran dry. Plus on a controlled device, you cannot turn it off if programming wants it on. It instantly comes back on at the check period.

upload_2019-1-29_16-22-42.png
@pickupman66 I tried to reproduce this tonight in dev_mode and the alert dispatch worked as expected. From the UI its clear that the usage breached alert threshold, lets cross check if reef-pi attempted to send alerts or not. Can you check reef-pi log during that time period,
Code:
journalctl --since "3:0:0" --until "3:01:50"
 

dmolavi

Well-Known Member
View Badges
Joined
Jan 3, 2015
Messages
509
Reaction score
640
Location
United States
Rating - 0%
0   0   0
I actually do not think its a leak I think its a memory usage thing, with 2.2 it scales memory way down based on your settings. Based on what I am seeing I think I could leave a tab open for days and it not matter. However I do have a wireshark capture, although with everything being encrypted not sure how this will help. Not sure how to upload the file either being a .pcap file.

Let me know who would like the capture, I can email it, just drop me a PM.

The data isn't as important as seeing the transactions between the client machine and the Pi...are connections being left open for too long, etc? Anecdotal evidence would suggest that's not the case though, and it might be more on the backend, perhaps.
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
-- Logs begin at Tue 2019-01-29 10:56:47 CST, end at Wed 2019-01-30 07:30:48 CST
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 ato sub-system:
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 Setting GPIO Pin
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 ato sub-system:
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting GPIO Pin
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Lighting: Calcul
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsyst
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driv
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsyst
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driv
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsyst
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driv
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: Router Advertisement from fe80::
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: requesting DHCPv6 information
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 ato sub-system:
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 Setting GPIO Pin
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 ato sub-system:
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 Setting GPIO Pin
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 ato sub-system:
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 Setting GPIO Pin
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 ato sub-system:
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 Setting GPIO Pin
Jan 30 03:00:33 raspberrypi reef-pi[25088]: 2019/01/30 03:00:33 ato sub-system:
lines 1-23...skipping...
-- Logs begin at Tue 2019-01-29 10:56:47 CST, end at Wed 2019-01-30 07:30:48 CST. --
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 ato sub-system: sensor ATO value: 1
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 ato sub-system: sensor ATO value: 1
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: Router Advertisement from fe80::6238:e0ff:fe89:fbf5
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: requesting DHCPv6 information
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 ato sub-system: sensor ATO value: 1
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 ato sub-system: sensor ATO value: 1
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 ato sub-system: sensor ATO value: 1
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 ato sub-system: sensor ATO value: 1
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:33 raspberrypi reef-pi[25088]: 2019/01/30 03:00:33 ato sub-system: sensor ATO value: 1
Jan 30 03:00:33 raspberrypi reef-pi[25088]: 2019/01/30 03:00:33 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 ato sub-system: sensor ATO value: 1
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Reading temperature from device: 28-01131e872049
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Reading temperature from device: 28-0213169a87aa
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 health check: Used memory: 14.06 Load5: 0.08
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 temperature sub-system: sensor Sump-Temp value: 76.8866
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 temperature sub-system: sensor Tank-Temp value: 76.8866
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 temperature subsystem: Current temperature is below minimum threshold. Executing warm up routine
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 Setting GPIO Pin: 6 State: 1
Jan 30 03:00:43 raspberrypi reef-pi[25088]: 2019/01/30 03:00:43 ato sub-system: sensor ATO value: 1
Jan 30 03:00:43 raspberrypi reef-pi[25088]: 2019/01/30 03:00:43 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:48 raspberrypi reef-pi[25088]: 2019/01/30 03:00:48 ato sub-system: sensor ATO value: 1
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
-- Logs begin at Tue 2019-01-29 10:56:47 CST, end at Wed 2019-01-30 07:30:48 CST
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 ato sub-system:
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 Setting GPIO Pin
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 ato sub-system:
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting GPIO Pin
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Lighting: Calcul
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsyst
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driv
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsyst
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driv
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsyst
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driv
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: Router Advertisement from fe80::
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: requesting DHCPv6 information
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 ato sub-system:
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 Setting GPIO Pin
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 ato sub-system:
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 Setting GPIO Pin
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 ato sub-system:
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 Setting GPIO Pin
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 ato sub-system:
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 Setting GPIO Pin
Jan 30 03:00:33 raspberrypi reef-pi[25088]: 2019/01/30 03:00:33 ato sub-system:
lines 1-23...skipping...
-- Logs begin at Tue 2019-01-29 10:56:47 CST, end at Wed 2019-01-30 07:30:48 CST. --
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 ato sub-system: sensor ATO value: 1
Jan 30 03:00:03 raspberrypi reef-pi[25088]: 2019/01/30 03:00:03 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 ato sub-system: sensor ATO value: 1
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:00:08 raspberrypi reef-pi[25088]: 2019/01/30 03:00:08 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: Router Advertisement from fe80::6238:e0ff:fe89:fbf5
Jan 30 03:00:11 raspberrypi dhcpcd[387]: wlan0: requesting DHCPv6 information
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 ato sub-system: sensor ATO value: 1
Jan 30 03:00:13 raspberrypi reef-pi[25088]: 2019/01/30 03:00:13 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 ato sub-system: sensor ATO value: 1
Jan 30 03:00:18 raspberrypi reef-pi[25088]: 2019/01/30 03:00:18 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 ato sub-system: sensor ATO value: 1
Jan 30 03:00:23 raspberrypi reef-pi[25088]: 2019/01/30 03:00:23 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 ato sub-system: sensor ATO value: 1
Jan 30 03:00:28 raspberrypi reef-pi[25088]: 2019/01/30 03:00:28 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:33 raspberrypi reef-pi[25088]: 2019/01/30 03:00:33 ato sub-system: sensor ATO value: 1
Jan 30 03:00:33 raspberrypi reef-pi[25088]: 2019/01/30 03:00:33 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 ato sub-system: sensor ATO value: 1
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Reading temperature from device: 28-01131e872049
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Reading temperature from device: 28-0213169a87aa
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:00:38 raspberrypi reef-pi[25088]: 2019/01/30 03:00:38 health check: Used memory: 14.06 Load5: 0.08
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 temperature sub-system: sensor Sump-Temp value: 76.8866
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 temperature sub-system: sensor Tank-Temp value: 76.8866
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 temperature subsystem: Current temperature is below minimum threshold. Executing warm up routine
Jan 30 03:00:39 raspberrypi reef-pi[25088]: 2019/01/30 03:00:39 Setting GPIO Pin: 6 State: 1
Jan 30 03:00:43 raspberrypi reef-pi[25088]: 2019/01/30 03:00:43 ato sub-system: sensor ATO value: 1
Jan 30 03:00:43 raspberrypi reef-pi[25088]: 2019/01/30 03:00:43 Setting GPIO Pin: 5 State: 0
Jan 30 03:00:48 raspberrypi reef-pi[25088]: 2019/01/30 03:00:48 ato sub-system: sensor ATO value: 1
Need more logs, this is the beginning of the hour, since your threshold is 200 we should see the alert triggered around 3:04 .. so check log for next 4 minutes (—until 3:04:00)
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
Here is that time slot. I dont see it tiggering the email.

Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 Reading temperature from device: 28-01131e872049
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting to 1
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:01:38 raspberrypi reef-pi[25088]: 2019/01/30 03:01:38 health check: Used memory: 14.06 Load5: 0.08
Jan 30 03:01:39 raspberrypi reef-pi[25088]: 2019/01/30 03:01:39 temperature sub-system: sensor Sump-Temp value: 76.8866
Jan 30 03:01:43 raspberrypi reef-pi[25088]: 2019/01/30 03:01:43 ato sub-system: sensor ATO value: 1
Jan 30 03:01:43 raspberrypi reef-pi[25088]: 2019/01/30 03:01:43 Setting GPIO Pin: 5 State: 0
Jan 30 03:01:48 raspberrypi reef-pi[25088]: 2019/01/30 03:01:48 ato sub-system: sensor ATO value: 1
Jan 30 03:01:48 raspberrypi reef-pi[25088]: 2019/01/30 03:01:48 Setting GPIO Pin: 5 State: 0
Jan 30 03:01:53 raspberrypi reef-pi[25088]: 2019/01/30 03:01:53 ato sub-system: sensor ATO value: 1
Jan 30 03:01:53 raspberrypi reef-pi[25088]: 2019/01/30 03:01:53 Setting GPIO Pin: 5 State: 0
Jan 30 03:01:58 raspberrypi reef-pi[25088]: 2019/01/30 03:01:58 ato sub-system: sensor ATO value: 1
Jan 30 03:01:58 raspberrypi reef-pi[25088]: 2019/01/30 03:01:58 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:03 raspberrypi reef-pi[25088]: 2019/01/30 03:02:03 ato sub-system: sensor ATO value: 1
Jan 30 03:02:03 raspberrypi reef-pi[25088]: 2019/01/30 03:02:03 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 ato sub-system: sensor ATO value: 1
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 Reading temperature from device: 28-0213169a87aa
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting to 1
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:02:08 raspberrypi reef-pi[25088]: 2019/01/30 03:02:08 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:02:09 raspberrypi reef-pi[25088]: 2019/01/30 03:02:09 temperature sub-system: sensor Tank-Temp value: 76.8866
Jan 30 03:02:09 raspberrypi reef-pi[25088]: 2019/01/30 03:02:09 temperature subsystem: Current temperature is below minimum threshold. Executing warm up routine
Jan 30 03:02:09 raspberrypi reef-pi[25088]: 2019/01/30 03:02:09 Setting GPIO Pin: 6 State: 1
Jan 30 03:02:13 raspberrypi reef-pi[25088]: 2019/01/30 03:02:13 ato sub-system: sensor ATO value: 1
Jan 30 03:02:13 raspberrypi reef-pi[25088]: 2019/01/30 03:02:13 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:18 raspberrypi reef-pi[25088]: 2019/01/30 03:02:18 ato sub-system: sensor ATO value: 1
Jan 30 03:02:18 raspberrypi reef-pi[25088]: 2019/01/30 03:02:18 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:23 raspberrypi reef-pi[25088]: 2019/01/30 03:02:23 ato sub-system: sensor ATO value: 1
Jan 30 03:02:23 raspberrypi reef-pi[25088]: 2019/01/30 03:02:23 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:28 raspberrypi reef-pi[25088]: 2019/01/30 03:02:28 ato sub-system: sensor ATO value: 1
Jan 30 03:02:28 raspberrypi reef-pi[25088]: 2019/01/30 03:02:28 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:33 raspberrypi reef-pi[25088]: 2019/01/30 03:02:33 ato sub-system: sensor ATO value: 1
Jan 30 03:02:33 raspberrypi reef-pi[25088]: 2019/01/30 03:02:33 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 ato sub-system: sensor ATO value: 1
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 Reading temperature from device: 28-01131e872049
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting to 1
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:02:38 raspberrypi reef-pi[25088]: 2019/01/30 03:02:38 health check: Used memory: 14.06 Load5: 0.06
Jan 30 03:02:39 raspberrypi reef-pi[25088]: 2019/01/30 03:02:39 temperature sub-system: sensor Sump-Temp value: 76.8866
Jan 30 03:02:40 raspberrypi dhcpcd[387]: wlan0: Router Advertisement from fe80::6238:e0ff:fe89:fbf5
Jan 30 03:02:40 raspberrypi dhcpcd[387]: wlan0: requesting DHCPv6 information
Jan 30 03:02:43 raspberrypi reef-pi[25088]: 2019/01/30 03:02:43 ato sub-system: sensor ATO value: 1
Jan 30 03:02:43 raspberrypi reef-pi[25088]: 2019/01/30 03:02:43 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:48 raspberrypi reef-pi[25088]: 2019/01/30 03:02:48 ato sub-system: sensor ATO value: 1
Jan 30 03:02:48 raspberrypi reef-pi[25088]: 2019/01/30 03:02:48 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:53 raspberrypi reef-pi[25088]: 2019/01/30 03:02:53 ato sub-system: sensor ATO value: 1
Jan 30 03:02:53 raspberrypi reef-pi[25088]: 2019/01/30 03:02:53 Setting GPIO Pin: 5 State: 0
Jan 30 03:02:58 raspberrypi reef-pi[25088]: 2019/01/30 03:02:58 ato sub-system: sensor ATO value: 1
Jan 30 03:02:58 raspberrypi reef-pi[25088]: 2019/01/30 03:02:58 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:03 raspberrypi reef-pi[25088]: 2019/01/30 03:03:03 ato sub-system: sensor ATO value: 1
Jan 30 03:03:03 raspberrypi reef-pi[25088]: 2019/01/30 03:03:03 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 ato sub-system: sensor ATO value: 1
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting to 1
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:03:08 raspberrypi reef-pi[25088]: 2019/01/30 03:03:08 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:03:13 raspberrypi reef-pi[25088]: 2019/01/30 03:03:13 ato sub-system: sensor ATO value: 1
Jan 30 03:03:13 raspberrypi reef-pi[25088]: 2019/01/30 03:03:13 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:18 raspberrypi reef-pi[25088]: 2019/01/30 03:03:18 ato sub-system: sensor ATO value: 1
Jan 30 03:03:18 raspberrypi reef-pi[25088]: 2019/01/30 03:03:18 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:23 raspberrypi reef-pi[25088]: 2019/01/30 03:03:23 ato sub-system: sensor ATO value: 1
Jan 30 03:03:23 raspberrypi reef-pi[25088]: 2019/01/30 03:03:23 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:28 raspberrypi reef-pi[25088]: 2019/01/30 03:03:28 ato sub-system: sensor ATO value: 1
Jan 30 03:03:28 raspberrypi reef-pi[25088]: 2019/01/30 03:03:28 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:33 raspberrypi reef-pi[25088]: 2019/01/30 03:03:33 ato sub-system: sensor ATO value: 1
Jan 30 03:03:33 raspberrypi reef-pi[25088]: 2019/01/30 03:03:33 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 ato sub-system: sensor ATO value: 1
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Reading temperature from device: 28-01131e872049
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Reading temperature from device: 28-0213169a87aa
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Lighting: Calculated value(15.000000) for channel 'test pump' is below minimum threshold(20). Resetting to 1
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 lighting-subsystem: Setting PWM value: 20 at channel: 0
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Setting pwm driver: pca9685 pin: 0 value: 20
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 lighting-subsystem: Setting PWM value: 99 at channel: 1
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Setting pwm driver: pca9685 pin: 1 value: 99
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 lighting-subsystem: Setting PWM value: 50 at channel: 2
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 Setting pwm driver: pca9685 pin: 2 value: 50
Jan 30 03:03:38 raspberrypi reef-pi[25088]: 2019/01/30 03:03:38 health check: Used memory: 14.06 Load5: 0.05
Jan 30 03:03:39 raspberrypi reef-pi[25088]: 2019/01/30 03:03:39 temperature sub-system: sensor Sump-Temp value: 76.8866
Jan 30 03:03:39 raspberrypi reef-pi[25088]: 2019/01/30 03:03:39 temperature sub-system: sensor Tank-Temp value: 76.775
Jan 30 03:03:39 raspberrypi reef-pi[25088]: 2019/01/30 03:03:39 temperature subsystem: Current temperature is below minimum threshold. Executing warm up routine
Jan 30 03:03:39 raspberrypi reef-pi[25088]: 2019/01/30 03:03:39 Setting GPIO Pin: 6 State: 1
Jan 30 03:03:43 raspberrypi reef-pi[25088]: 2019/01/30 03:03:43 ato sub-system: sensor ATO value: 1
Jan 30 03:03:43 raspberrypi reef-pi[25088]: 2019/01/30 03:03:43 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:48 raspberrypi reef-pi[25088]: 2019/01/30 03:03:48 ato sub-system: sensor ATO value: 1
Jan 30 03:03:48 raspberrypi reef-pi[25088]: 2019/01/30 03:03:48 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:53 raspberrypi reef-pi[25088]: 2019/01/30 03:03:53 ato sub-system: sensor ATO value: 1
Jan 30 03:03:53 raspberrypi reef-pi[25088]: 2019/01/30 03:03:53 Setting GPIO Pin: 5 State: 0
Jan 30 03:03:58 raspberrypi reef-pi[25088]: 2019/01/30 03:03:58 ato sub-system: sensor ATO value: 1
Jan 30 03:03:58 raspberrypi reef-pi[25088]: 2019/01/30 03:03:58 Setting GPIO Pin: 5 State: 0
Jan 30 03:04:03 raspberrypi reef-pi[25088]: 2019/01/30 03:04:03 ato sub-system: sensor ATO value: 1
Jan 30 03:04:03 raspberrypi reef-pi[25088]: 2019/01/30 03:04:03 Setting GPIO Pin: 5 State: 0
Jan 30 03:04:08 raspberrypi reef-pi[25088]: 2019/01/30 03:04:08 ato sub-system: sensor ATO value: 1
Jan 30 03:04:08 raspberrypi reef-pi[25088]: 2019/01/30 03:04:08 Setting GPIO Pin: 5 State: 0
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
Wait. I think we need to change the date and timeframe. that error occurred at 14:00 and 17:00 on 1/29. how can I change the date in our journal?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Wait. I think we need to change the date and timeframe. that error occurred at 14:00 and 17:00 on 1/29. how can I change the date in our journal?
What version of reef-pi you are running? Is it showing the same timezone as your local time? use the --until and --since options in journalctl to get exact log of the timer when you think the alert should have triggered. I'll update the logging statement to reflect total usage of that hour.
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
Wait. I think we need to change the date and timeframe. that error occurred at 14:00 and 17:00 on 1/29. how can I change the date in our journal?
you cant change the journal time, it reflects the system time when the message was logged. You can however reset the pi time if its incorrect and recreate the situation.
 

pickupman66

5000 Club Member
View Badges
Joined
Aug 10, 2010
Messages
6,032
Reaction score
1,165
Location
Winchester, TN
Rating - 0%
0   0   0
I am running version 2.2. the issue occurred yesterday now. how do I add the date into your statement so I can pull the log time from 1/29/18 ?
 
OP
OP
Ranjib

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,876
Reaction score
16,682
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
I am running version 2.2. the issue occurred yesterday now. how do I add the date into your statement so I can pull the log time from 1/29/18 ?
Code:
journalctl --since "2019-01-29  3:0:0" --until "2019-01-29 3:01:50"
change the time/date accordingly. The format is: "YYYY-MM-DD HH:MM:SS"
 

DO YOU THINK TECHNOLOGICAL ADVANCEMENTS ARE MORE HELPFUL OR HURTFUL TO REEFING?

  • More helpful.

    Votes: 60 42.6%
  • More hurtful.

    Votes: 5 3.5%
  • I think it depends mostly on the technology.

    Votes: 53 37.6%
  • I think it dependsmostly on the reefer behind the technology.

    Votes: 42 29.8%
Back
Top
Home
Post thread…
Market
What's new