Category: Home Automation

  • Trådfri Home assistant

    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…

  • Run Tellstick on Debian Stretch

    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

  • Telldus på Raspberry

    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

  • Home Assistant update

    $ 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