![]() Ssh ‘export DISPLAY=:0 & xset dpms force on’ Turning on and off the Touch Screen through Home Assistant if installed on deviceĭo this after you rebooted your machine and logged back into SSH sudo -u homeassistant -H -s “GIVE IT ABOUT 10 MINS AND REBOOT THE SYSTEM, IF YOU HAVE A MONITOR CONNECTED TO THE RASPBERRY IT SHOULD DISPLAY THE HOME ASSISTANT PAGE.” “THE VERSION OF PYTHON YOU UPDATED TO BY CHANGING THE NUMBER BEFORE PRESSING ENTER ON BELOW COPY.” version=3.10 “MANUALLY START HOME ASSISTANT” sudo -u homeassistant -H -s Sudo apt install xdotool unclutter sed -y Sudo apt-get install bluetooth bluez blueman -y “PRESS CRTL+O (write out), ENTER, CTRL+X (exit).” cd Lxpanel -profile -desktop -profile s s -i 's/"exited_cleanly": false/"exited_cleanly": true/' -noerrdialogs -disable-infobars -kiosk “END” Sudo nano ~/.config/lxsession/LXDE-pi/autostart “STEPS BELOW MAKES THE RASPBERRY PI BOOT INTO KIOSK DOES NOT AFFECT NORMAL INSTALL.” sudo apt install sshpass ![]() “ENTER THE PASSWORD IT WILL ASK TWICE.” sudo service smbd restart “PRESS CRTL+O (write out), ENTER, CTRL+X (exit).” sudo smbpasswd -a pi Path = /home/homeassistant/.homeassistant/ Socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536 “COPY ALL BELOW THIS LINE DOWN TO NOT INCLUDING END.” “CLEAR SCREEN BY HOLDING DOWN THE CTRL AND K KEYS.” “STEPS BELOW ALLOWS SHARING OF FOLDERS OVER YOUR LOCAL NETWORK.” "ALLOWS THE USE OF REMOTE DESKTOP THIS IS A OPTIONAL INSTALL sudo apt install xrdp -y Sudo systemctl enable BELOW ARE OPTIONAL SKIP THE STUFF YOU DON’T WANT UNTILL YOU GET TO MANUALLY START THE HOME ASSISTANT” “PRESS CRTL+O (write out), ENTER, CTRL+X (exit).” sudo systemctl -system daemon-reload “COPY ALL BELOW THIS LINE DOWN TO NOT INCLUDING END.” ĮxecStart=/srv/homeassistant/bin/hass -c "/home/%i/.homeassistant" “STEPS BELOW MAKES HOME ASSISTANT START ON REBOOT.” sudo nano -w /etc/systemd/system/ “COPY AND PASTE THE VERSION OF PYTHON YOU UPDATED TO BY CHANGING THE NUMBER BEFORE PRESSING ENTER ON BELOW COPY.” version=3.10 “WAIT FOR PROMPT PRESS 1 WHEN ASKED AT THE PROMPT” source "$HOME/.cargo/env" Sudo chown homeassistant:homeassistant /srv/homeassistant “STEPS BELOW INSTALLS HOME ASSISTANT.” sudo useradd -rm homeassistant -G dialout,gpio,i2c " INSTALL DEPENDENCIES." sudo apt-get install python3 python3-dev python3-venv python3-pip libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff5 -y libturbojpeg0 tzdata “UPDATE THE OPERATING SYSTEM.” sudo apt update Use this Link to install Python Install before starting this Instruction below. (does not effect headless operation so can use the same instructions) Will boot into Kiosk mode for using Lovelace in touchscreen on the same device as home assistant. Will allow Home assistant to restart after a reboot. ((WARNING MESSING AROUND IN ROOT DIR CAN BREAK YOUR INSTALL)) Will allow network shares of certain folders for editing and backing up your configuration of Home assistant files and access to root directory. (Note some stuff will not work fully until all the steps have been done IE shared folders won’t connect until that directory is made.) These steps use the default install instructions of home assistant and the default user of pi, so if using different then what is default make changes as needed. You can copy and paste below commands into the terminal, these instructions assume you have knowledge on the ability to SSH into your device.Ĭopy and paste is the easiest, and PuTTY allows right click paste. Initial setup of Raspberry Raspbian is easier with monitor keyboard and mouse hooked up local to your device.Įnable SSH in configuration, once you have enabled SSH then remote configuring is preferred for below instructions. ![]() ![]() Install Raspberry Raspbian with desktop either for the raspberry pi or desktop PC depending on your hardware. It does not store any personal data.These instructions assume that you know how to install and navigate your OS on your device. The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". These cookies ensure basic functionalities and security features of the website, anonymously. Necessary cookies are absolutely essential for the website to function properly. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |