mathz.nu Asterisk Blacklist Hobby webbhotell

2017/11/11

Trådfri Home assistant

Filed under: Home Automation — Mathz @ 11:38

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

2017/11/07

Run Tellstick on Debian Stretch

Filed under: Home Automation — Mathz @ 21:00

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

2017/11/05

Telldus på Raspberry

Filed under: Home Automation — Mathz @ 21:21

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

2017/11/03

Home Assistant update

Filed under: Home Automation — Mathz @ 20:29

$ 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

Powered by WordPress