sudo python3 read_fan_speed.py == For myNode OS and Umbrel ==About myNode, please refer to http://www.mynodebtc.com/ About Umbrel, please refetrto https://getumbrel.com/, we test it base on 'umbrel-os-v0.4.4.img' We tested umbrel v0.4.16 on Apr. 18th, 2022 base on 'umbrel-os-v0.4.16.img' '''Install''' login to mynode teminal via Putty or Xsheel tool, the default user name is `admin`, password is `bolt`, then run the following command: Login to mynode teminal via Putty or Xsheel tool, the default user name is `umbrel`, default password is `moneyprintergobrrr`, then run the following command: '''FAQ''' Q: What are the credentials to SSH into my Umbrel? A: ssh host is '''umbrel.local''' (or ssh <'''local IP address''' of your Umbrel>). The default user name is '''umbrel''', and the default password '''moneyprintergobrrr''' <pre> sudo apt-get update sudo apt-get install -y python-smbus python pigpio python-pigpio python3-pigpio git wiringpi sudo apt-get install -y python-rpi.gpio python3-rpi.gpio rpi.gpio git clone https://github.com/geekworm-com/x735-v2.5 cd x735-v2.5 chmod +x *.sh sudo bash install-mynode.sh echo "alias x735off='sudo /usr/local/bin/x735softsd.sh'" >> ~/.bashrc sudo reboot If you fail to reboot, please unplug the power directly and restart;</pre> ''' PWM fan control''' The script is installed successfully and the fan starts to run '''Test safe shutdown''' x735off* Please run 'x735off' to shut down or press the on-board button switch to shut down. <span style="color:red;">DON'T run the 'shutdown' linux command to shut down, otherwise the power of x735 will not be shut down.</span>* press button switch 1-2 seconds to reboot* press button switch 3 seconds to safe shutdown,* press 7-8 seconds to force shutdown. '''uninstall''' ./uninstall-mynode.sh ==For Version 2.1 or more low version== Please refer to '''[http://www.suptronics.com/miniPCkits/x735-hardware.html Hardware]''' and '''[http://www.suptronics.com/miniPCkits/x730-software.html Software]''' and read them and follow the instructions before ask any questions, thank you! The safe shutdown script is same with X730. * [https://github.com/geekworm-com/x730-script Github]We test this shell script base official Raspbian '2018-11-13-raspbian-stretch.img' version;other operating systems not be tested!<pre>#Download run script git clone https://github.com/geekworm-com/x730-script cd x730-script #Setting file attributessudo chmod +x x730.sh #Install the scriptsudo bash x730.sh #Setting up the command to turn off X730 from software printf "%s\\n" "alias x730off='sudo x730shutdown.sh'" >> ~/read_fan_speed.bashrc #Reboot the Raspberry Pisudo reboot
After a reboot, we can run ```sudo read_fan_speed.py``` to get an update on #Powering off the fan's current speed. Nice!Raspberry Pi from softwarex730off</pre>