Brian J King

Results 26 comments of Brian J King

``` sudo hassbian-config upgrade homeassistant Home Assistant install script for Hassbian. Copyright(c) 2017 Fredrik Lindqvist . Checking current version Setting correct premissions Changing to the homeassistant user Changing to Home...

* Implement additional controls for NGINX https://www.digitalocean.com/community/tutorials/how-to-protect-an-nginx-server-with-fail2ban-on-ubuntu-14-04

https://github.com/bachya/smart-home/wiki

From @bit-river [here](https://community.home-assistant.io/t/bluetooth-presence-detection-without-raspberry-pi-3/35558/4?u=brianjking).... ``` sudo apt-get install python3-pip libglib2.0-dev python-flask sudo pip3 install bluepy ``` ```python from flask import Flask from bluepy.btle import Scanner, DefaultDelegate class ScanDelegate(DefaultDelegate): def __init__(self): DefaultDelegate.__init__(self)...

`D5:A8:5B:68:B3:92` Tile *(Brian bag Tile)* `D7:57:D9:9D:8C:B4` Tile *(Spare Keys Tile)* `D3:A5:72:80:83:6A` Tile *(Brian Keys Tile)* `C8:31:53:38:C9:F1` Tile *(Kinna's Tile)* https://community.home-assistant.io/t/bluetooth-presence-detection-without-raspberry-pi-3/35558/22?u=brianjking How to figure out which Tile is which?

`sudo setcap 'cap_net_raw,cap_net_admin+eip' /srv/homeassistant/lib/python3.5/site-packages/bluepy/bluepy-helper`

`sudo stdbuf -oL hcitool lescan | grep Tile`

`homeassistant.exceptions.InvalidStateError: Invalid state encountered for entity id: sensor.briankeystile. State max length is 255 characters.`

![image](https://user-images.githubusercontent.com/6786817/49890134-efbaf280-fe08-11e8-8c14-93bdd50da363.png)

https://github.com/brianjking/homeassistant-config/blob/master/automation/announce-deliveries.yaml