Skip to content

Lyufee25/raspi_information

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

raspi_information

树莓派启动后自动将IP, CPU, RAM, DISK信息通过企业微信、飞书、邮件等方式进行通知。
格式如下:

树莓派启动信息通知
IP: 
	eth0: 192.168.1.11
	lo: 127.0.0.1
	wlan0: 
CPU: 50.1°C - %
RAM: 409MB/1848MB
DISK:
	/home/pi/personal: 477G/477G - 1%
	/boot/firmware: 438M/510M - 15%
	/: 49G/57G - 10%

配置通知

notify.py来自qinglong
notify.py中配置脚本通知方式

配置自启动

sudo nano /etc/rc.local
在自启动脚本中添加/usr/bin/python /your/path/raspi_info.py start,注:py脚本后添加任意字符串,可进行通知,如不添加字符串。默认不发送通知

About

send notify when the raspiberry pi startup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages