GithubHelp home page GithubHelp logo

home-assistant-custom-components's People

Contributors

pavoni avatar

Watchers

 avatar

home-assistant-custom-components's Issues

iBeacons, OwnTracks and 'mobile' locations

iBeacons and a a mobile allow you to know not just where you are, but whether you are close to an iBeacon.

This can be used with a stationary iBeacon to just enhance our current device_tracking.

But there is at least one more case with mobile iBeacons tht might be useful.

If I arrive home by foot - I don't want HA to open my gate. But if I arrive home in the car I do.

So If I put an IBeacon in my car - OwnTracks will know what I'm in the 'car' region (and can tell HA).

OwnTracks will also update HA on my location as usual.

So to support this I think we'd need a new type of location which supports presence - but only based on enter/exit events - not based on location. Thoughts?

PS There are other use cases. If you put an iBeacon on your keys - you want to know the `key beacon exit' event - and have it trigger a HA notification to tell you you've forgotten your keys - and where you were when you forgot them..

Bedtime automation

Check lights are already on before triggering scene.

Perhaps switch to use a script

Car trip - custom switch - geofence / zone

Custom switch 'Greg trip'
Normally off

Turn on - check gates are closed - refuses to engage if they are open
opens gates, enables geofence for greg's phone

Exit home geofence closes gate
Enter bethnalgreen geofence opens gate

turn off - closes gate - disables geofence

Errors to fix - ssdp - pywemo

15-11-30 00:29:01 pywemo.ssdp: Error fetching description at http://192.168.1.254:1780/WFADevice.xml
Traceback (most recent call last):
File "c:\Python34\lib\site-packages\requests\packages\urllib3\connection.py", line 135, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\connection.py", line 90, in create_connection
raise err
File "c:\Python34\lib\site-packages\requests\packages\urllib3\util\connection.py", line 80, in create_connection
sock.connect(sa)
socket.timeout: timed out

Blind / light switches

Order extra light switches.
See if this creates room for blind controller.

3 doubles
4 singles
4 single blanking plates
2 3 way switches

Errors to fix - efergy

Traceback (most recent call last):
File "c:\users\greg\home-assistant\homeassistant\core.py", line 820, in job_handler
func(arg)
File "c:\users\greg\home-assistant\homeassistant\helpers\event.py", line 135, in pattern_time_change_listener
action(now)
File "c:\users\greg\home-assistant\homeassistant\helpers\entity_component.py", line 121, in _update_entity_states
entity.update_ha_state(True)
File "c:\users\greg\home-assistant\homeassistant\helpers\entity.py", line 99, in update_ha_state
self.update()
File "c:\users\greg\home-assistant\homeassistant\components\sensor\efergy.py", line 87, in update
self._state = response.json()['reading'] / 1000
KeyError: 'reading'

Errors to fix - nest

Traceback (most recent call last):
File "c:\users\greg\home-assistant\homeassistant\core.py", line 820, in job_handler
func(arg)
File "c:\users\greg\home-assistant\homeassistant\helpers\event.py", line 135, in pattern_time_change_listener
action(now)
File "c:\users\greg\home-assistant\homeassistant\helpers\entity_component.py", line 121, in update_entity_states
entity.update_ha_state(True)
File "c:\users\greg\home-assistant\homeassistant\helpers\entity.py", line 101, in update_ha_state
state = str(self.state)
File "c:\users\greg\home-assistant\homeassistant\components\thermostat__init
_.py", line 136, in state
return self.target_temperature or STATE_UNKNOWN
File "c:\users\greg\home-assistant\homeassistant\components\thermostat\nest.py", line 108, in target_temperature
target = self.device.target
File "c:\Python34\lib\site-packages\nest\nest.py", line 452, in target
if self._shared['target_temperature_type'] == 'range':
File "c:\Python34\lib\site-packages\nest\nest.py", line 282, in _shared
return self._nest_api._status['shared'][self._serial]
File "c:\Python34\lib\site-packages\nest\nest.py", line 725, in _status
response = self._session.get(url)
File "c:\Python34\lib\site-packages\requests\sessions.py", line 480, in get
return self.request('GET', url, *_kwargs)
File "c:\Python34\lib\site-packages\requests\sessions.py", line 468, in request
resp = self.send(prep, *_send_kwargs)
File "c:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "c:\Python34\lib\site-packages\requests\adapters.py", line 423, in send
raise ConnectionError(e, request=request)

Add custom icons

Icons
blinds
coffee
car (for gate)
window-closed (for skylight)
human-male-female
music-note (for system line)
speaker (for pre-amp
weather-cloudy (for rain sensor)

brightness-4 ro 7 for scenes
sleep for bedtime
brightness-2 for off

https://materialdesignicons.com/

Vera error

Traceback (most recent call last):
File "c:\users\greg\home-assistant\homeassistant\core.py", line 820, in job_handler
func(arg)
File "c:\users\greg\home-assistant\homeassistant\helpers\event.py", line 134, in pattern_time_change_listener
action(now)
File "c:\users\greg\home-assistant\homeassistant\helpers\entity_component.py", line 104, in update_entity_states
entity.update_ha_state(True)
File "c:\users\greg\home-assistant\homeassistant\helpers\entity.py", line 99, in update_ha_state
self.update()
File "c:\users\greg\home-assistant\homeassistant\components\switch\vera.py", line 130, in update
self.is_on_status = self.vera_device.is_switched_on()
File "c:\Python34\lib\site-packages\pyvera__init
_.py", line 263, in is_switched_on
self.refresh_value('Status')
File "c:\Python34\lib\site-packages\pyvera__init__.py", line 212, in refresh_value
r = requests.get(requestUrl, params=payload)
File "c:\Python34\lib\site-packages\requests\api.py", line 69, in get
return request('get', url, params=params, *_kwargs)
File "c:\Python34\lib\site-packages\requests\api.py", line 50, in request
response = session.request(method=method, url=url, *_kwargs)
File "c:\Python34\lib\site-packages\requests\sessions.py", line 468, in request
resp = self.send(prep, *_send_kwargs)
File "c:\Python34\lib\site-packages\requests\sessions.py", line 576, in send
r = adapter.send(request, *_kwargs)
File "c:\Python34\lib\site-packages\requests\adapters.py", line 423, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='192.168.1.161', port=3480): Max retries exceeded with url: //data_request?Variable=Status&DeviceNum=26&serviceId=urn%3Aupnp-org%3AserviceId%3ASwitchPower1&id=variableget&output_format=json (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x06DD02F0>: Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',))

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.