I took the time to participate in the great Domoticz adventure. Thanks to the creator
This is a scrip inspired by Retropie when you connect from ssh.
Feel free to comment/improve i'm a beginner.

you have to edit .bashrc
Code: Select all
nano /home/pi/.bashrc
Code: Select all
echo "$(tput setaf 2)
///// //// / / //// /////// ///// ////// //////
/ / / / // // / / / | / /
/ / / / / / / / / / / | / /
/ / / / / / / / / / | / /
/ / / / / / / / / | / /
///// //// / / //// / ///// ////// //////
`date +"%A, %e %B %Y, %r"`
`uname -srmo`$(tput setaf 1)
Uptime.............: `exec -- uptime -p`
Memory.............: `cat /proc/meminfo | grep MemFree | awk {'print $2'}`kB (Free) / `cat /proc/meminfo | grep MemTotal | awk {'print $2'}`kB (Total)
Running Processes..: `ps ax | wc -l | tr -d " "`
IP Addresses.......: `sudo hostname -I`
Free Disk Space SD.: `df -Pk | grep -E '/root' | awk '{ print $4 }' | awk -F '.' '{ print $1 }'`k on /root
CPU Temperature....: `exec -- /opt/vc/bin/vcgencmd measure_temp | cut -c "6-9"` C
$(tput setaf 2)
Domoticz Service status : `sudo service domoticz.sh status | grep Active | cut -c "11-54"`
"