touch /forcefsck
Detta är veriferat på Unbuntu 14.x och 16.x
touch /forcefsck
Detta är veriferat på Unbuntu 14.x och 16.x
I replased tradfri.py3
in /srv/homeassistant/lib/python3.5/site-packages/homeassistant/components with following file:
https://raw.githubusercontent.com/NovapaX/home-assistant/29dca16253f9146cafe8dbca4926a116f3d17a3e/homeassistant/components/tradfri.py
Change log for file: https://github.com/home-assistant/home-assistant/pull/10414
sudo apt-get install build-essential libssl-dev libffi-dev python3-dev autoconf
sudo pip3 install DTLSSocket
git clone https://github.com/ggravlingen/pytradfri.git
cd pytradfri
pip3 install -r requirements.txt
cd ..
git clone –depth 1 –recursive -b dtls https://github.com/home-assistant/libcoap.git
sudo apt-get install libtool
cd libcoap
./autogen.sh
./configure –disable-documentation –disable-shared –without-debug CFLAGS=”-D COAP_DEBUG_FD=stderr”
make
make install
cd pytradfri
python3 setup.py build
sudo python3 setup.py install
Link to source code: link
sudo apt-get install libftdi-dev libftdi1-dev doxygen
sudo apt-get install libconfuse-dev libconfuse-common libconfuse1
cp /home/pi/libcoap/doc/Doxyfile.in .
tar xvfz telldus-core-{version}.tar.gz
cd telldus-core-{version}
cmake .
make
sudo make install
sudo ldconfig
sudo sh -c ‘echo “deb http://download.telldus.com/debian/ stable main” >> /etc/apt/sources.list’
sudo apt-key adv –fetch-keys http://download.telldus.se/debian/telldus-public.key
sudo apt-get update
sudo apt-get install -y telldus-core libftdi1
/etc/init.d/telldusd status
[ ok ] Checking status of the Telldus TellStick daemon: telldusd running.
lsmod | grep ftdi_sio
ftdi_sio 31878 0
usbserial 30821 1 ftdi_sio
$ sudo systemctl stop home-assistant@homeassistant.service
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start home-assistant@homeassistant.service
mtx -f /dev/sg5 status
mtx -f /dev/sg5 unload
Ladda band från slot 4
mtx -f /dev/sg5 load 4
Listar scsi devices med sg namn
lsscsi -g
Powered by WordPress