-
Notifications
You must be signed in to change notification settings - Fork 22
infomlist
The version of Raspberry Pi OS running on your system.
The version and board revision of your Raspberry Pi
Raspberry Pi 3 Model B Plus Rev 1.3
Shows and power or temperature warnings as reported by the system since boot.
Reads the system log and creates a list of cron jobs that have been run since the start of the log, generally the log is only a day or two long.
e.g.
syslog start time: 2023-03-11 06:26:01
Cron CMD script (/home/pi/Pigrow/scripts/cron/selflog.py) has been called 52 times.
Last call was at 2023-03-11 19:15:01, which was 0:11:43.590110 ago.
Time difference between last 5 calls: 0:15:00, 0:15:00, 0:15:00, 0:15:00, 0:15:00
show selflog.py has been run 52 times, triggering every 15 min. It was last run 11 minuets ago.
Shows if the picam is enabled and how many are detected plus a list of webcams detected and their location.
The current Datetime on your system as reported by python datetime module, this is the time that will be used in logs.
Shows if video power is on, the output device and current screen resolution.
Checks to see if the i2c bus in enabled, it's baudrate and outputs a list of devices found.
Checks if w1_gpio one wire overlay is enabled, which pin it's set to and how many w1 temp sensors are detected.
Lists w1_therm devices listen in the w1 device bus. Simpler output than info_1wire.py
Outputs the currently connected wifi network's name.
Outputs a list of wifi networks saved in wpa_supplicant.conf
The name of the pigrow as determined by the pigrow config file
boxname=<boxname>
Lists the current position of relay switches listed in the pigrow config file.
fans is OFF
heater is OFF
humid is OFF
lamp is ON
Creates a list of switch log activity, how often scripts have been called, when they were last call and the associated message.
Count - Last Seen - Message
-- heater_on.py:
4 2021-09-09 10:15:53 Heater turned on
-- lamp_off.py:
752 2023-03-11 01:00:02 lamp turned off
This shows the heater has turned on 4 time, the last time being sept 2021, the lamp has turned off 752 times since this log began the most recent time being today at 1am.
Reads the error log and provices a list of how often errors have been shown, when it was last shown and the associated message.
Count - Last Seen - Message
-- camcap.py:
4 2021-06-30 14:15:01.686998 Failed with 3 extra attempts, no photo saved.
Show camcap.py has failed 4 times, the last time being June 2021.
Reads the switch log to calculate how long devices have been on, if the device has __watts in the pigrow config file it will also calculate the KWh used and if cost_kwh_cent is included it will also output the approximate cost of running this device.
heater_watts=300
cost_kwh_cent=50
these can be set in the gui.
Checks to see if the pigrow repo has been updated.
NOTE: If your pigrow is working and doing everything you need then ther's no need to upgrade until you want to try out a new features. Always check your pigrow is working as expected after an update.
Always ensure you have config files backed up when updating your system.
Gives more information on the pigrow update status, this is mostly a developer tool.
Checks the lamp cron jobs and shows it's current timing setup.
Checks to see if trigger water or button watcher are being loaded @reboot in cron, if so checks if they're running out outputs their status.
This also checks for checkDHT.py and mentions it's now obsolete.
Similar to control_check but checks a list of scripts included in the file, this mostly exists as a template if you want to copy it and edit the script list.
Checks the now obsolete ~/Pigrow/config/dirlocs.txt file, use of this file is being removed from the system.