Open main menu

Changes

X-C1 Software

1,015 bytes added, 15:37, 8 September 2023
no edit summary
{{GD Template Impl}}
<big>Although this tutorial is still available, but we strongly recommend that you use [[XScript]] new tutorial, and we no longer maintain this page</big>
 
'''Note:''' Not tested with '''Home Assistant''', for some reason, we are not able to upgrade and use the Home Assistant to test, please pay attention to check if there is any update in the future.(If you have successfully tested Home Assistant, welcome to share your experience via email at: support@geekworm.com)
 
<hr/>
 
[Update]
Support [https://getumbrel.com/ Umbrel] now.
The script is '''not tested''' VMware ESXI ARM operating system. To make the 3pin PWM cooling fan running, please remove/pull out the yellow cableif you use X-C1 V1.3 version.Remove the jumper cap on "Fan FS" PIN of X-C1 V2.0 to let the fan running at full speed.
NOTE:
* Raspbian 2021-05-07-raspios-buster-armhf, 2021-10-30-raspios-bullseye-armhf.img, 2021-10-30-raspios-bullseye-armhf-lite.img
* RetroPie 4.7.1
* Twister OS v2.0.2 / Twister OS 2.1.2
'''install'''
cd ~
sudo apt-get update
sudo apt-get -y upgrade sudo apt-get -y install i2c-tools python3-smbus python3-rpi.gpio sudo apt-get install -y git pigpio sudo apt-get install -y pigpio python3-pigpio python3-smbus
git clone https://github.com/geekworm-com/x-c1.git
cd x-c1
echo "alias xoff='sudo /usr/local/bin/x-c1-softsd.sh'" >> ~/.bashrc
sudo reboot
 
If reboot fails, please force shutdown or power off and restart
''' PWM fan control'''
sudo apt-get upgrade
sudo apt-get install -y unzip make gcc python git wiringpi python3-pigpio python-setuptoolspython3-rpi.gpio
sudo apt-get install -y python3-distutils
About myNode, please refer to http://www.mynodebtc.com/
About Umbrel, please refetrto refer to https://getumbrel.com/
'''Install'''
Login to mynode teminal via Putty or Xsheel tool, the default user name is `admin`, default password is `bolt`, then run the following command:
Login to mynode Umbrel teminal via Putty or Xsheel tool, the default user name is `umbrel`, default password is `moneyprintergobrrr`, then run the following command:
'''FAQ'''
[[File:Volumio-rc-local.jpg|800px]]
Q2:How to get the current fan speed value? As I remember old x735 software where with such read_fan_speed.py script example, but not found such in X-C1.
 
A: The X-C1's PWM fan is a 3Pin FAN, and does not support reading speed. The Fan of X735 is a 4Pin PWM fan.
<hr/>