Also use cmd after valid topic: example
topic: "owntracks/phone/phone/cmd"
Also use cmd after valid topic: example
topic: "owntracks/phone/phone/cmd"
Nothing works for me it’s complete madness.
I even have the Show Google Maps as a card component working fine:
camera:
name: ROMAN
platform: generic
still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{ states.device_tracker.roman_romkilla.attributes.latitude }},{{ states.device_tracker.roman_romkilla.attributes.longitude }}&zoom=13&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{ states.device_tracker.roman_romkilla.attributes.latitude }},{{ states.device_tracker.roman_romkilla.attributes.longitude }}
limit_refetch_to_url_change: true
No luck with owntracks mqtt topics
Again here is my log after a fresh restart:
2018-01-18 21:42:23 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2018-01-18 21:42:23 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2018-01-18 21:42:24 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
2018-01-18 21:42:24 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
2018-01-18 21:42:24 WARNING (MainThread) [homeassistant.setup] Setup of remote is taking over 10 seconds.
2018-01-18 21:42:29 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
2018-01-18 21:42:44 WARNING (MainThread) [homeassistant.components.media_player] Setup of platform cast is taking over 10 seconds.
2018-01-18 21:42:53 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:42:54 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:42:55 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:42:56 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:42:57 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:42:58 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:42:59 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
2018-01-18 21:43:00 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/app/homeassistant/helpers/template.py", line 90, in ensure_valid
self._compiled_code = ENV.compile(self.template)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 591, in compile
self.handle_exception(exc_info, source_hint=source_hint)
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.6/site-packages/jinja2/_compat.py", line 37, in reraise
raise value.with_traceback(tb)
File "<unknown>", line 1, in template
File "/usr/local/lib/python3.6/site-packages/jinja2/environment.py", line 497, in _parse
return Parser(self, source, name, encode_filename(filename)).parse()
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 901, in parse
result = nodes.Template(self.subparse(), lineno=1)
File "/usr/local/lib/python3.6/site-packages/jinja2/parser.py", line 876, in subparse
self.stream.expect('variable_end')
File "/usr/local/lib/python3.6/site-packages/jinja2/lexer.py", line 384, in expect
self.name, self.filename)
jinja2.exceptions.TemplateSyntaxError: expected token 'end of print statement', got ':'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/tasks.py", line 180, in _step
result = coro.send(None)
File "/usr/src/app/homeassistant/core.py", line 1031, in _event_to_service_call
yield from service_handler.func(service_call)
File "/usr/src/app/homeassistant/components/mqtt/__init__.py", line 402, in async_publish_service
template.Template(payload_template, hass).async_render()
File "/usr/src/app/homeassistant/helpers/template.py", line 112, in async_render
self._ensure_compiled()
File "/usr/src/app/homeassistant/helpers/template.py", line 160, in _ensure_compiled
self.ensure_valid()
File "/usr/src/app/homeassistant/helpers/template.py", line 92, in ensure_valid
raise TemplateError(err)
homeassistant.exceptions.TemplateError: TemplateSyntaxError: expected token 'end of print statement', got ':'
Hope someone could find a solution.
Thanks again Vlad.
You have problem with Refresh owntracks in automation.yaml:
jinja2.exceptions.TemplateSyntaxError: expected token ‘end of print statement’, got ‘:’
During handling of the above exception, another exception occurred:
Comment it out and restart ha. Check log file
I finaly make your command works, here is the result:
2018-01-18 21:56:01 INFO (MainThread) [homeassistant.loader] Loaded mqtt from homeassistant.components.mqtt
2018-01-18 21:56:02 INFO (MainThread) [homeassistant.loader] Loaded history from homeassistant.components.history
2018-01-18 21:56:02 INFO (MainThread) [homeassistant.loader] Loaded recorder from homeassistant.components.recorder
2018-01-18 21:56:03 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=logger, service=set_level>
2018-01-18 21:56:03 INFO (MainThread) [homeassistant.setup] Setup of domain logger took 1.3 seconds.
2018-01-18 21:56:03 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=logger>
2018-01-18 21:56:06 INFO (MainThread) [homeassistant.setup] Setting up mqtt
2018-01-18 21:56:06 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=mqtt, service=publish>
2018-01-18 21:56:06 INFO (MainThread) [homeassistant.setup] Setup of domain mqtt took 0.2 seconds.
2018-01-18 21:56:06 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=mqtt>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setting up http
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setup of domain http took 0.0 seconds.
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=http>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setting up api
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setting up websocket_api
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setup of domain websocket_api took 0.0 seconds.
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=websocket_api>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setting up system_log
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setup of domain api took 0.2 seconds.
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=api>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=system_log, service=clear>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setup of domain system_log took 0.1 seconds.
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=system_log>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setting up frontend
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=frontend, service=set_theme>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=frontend, service=reload_themes>
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.setup] Setup of domain frontend took 0.2 seconds.
2018-01-18 21:56:08 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=frontend>
2018-01-18 21:56:09 INFO (MainThread) [homeassistant.setup] Setting up recorder
2018-01-18 21:56:09 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=recorder, service=purge>
2018-01-18 21:56:11 DEBUG (Recorder) [homeassistant.components.recorder] Connected to recorder database
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.setup] Setup of domain recorder took 1.7 seconds.
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=recorder>
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.setup] Setting up history
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.setup] Setup of domain history took 0.0 seconds.
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=history>
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded wake_on_lan from homeassistant.components.wake_on_lan
2018-01-18 21:56:11 ERROR (MainThread) [homeassistant.loader] Unable to find component logs
2018-01-18 21:56:11 ERROR (MainThread) [homeassistant.setup] Setup failed for logs: Component not found.
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded tts from homeassistant.components.tts
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded tts.google from homeassistant.components.tts.google
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded updater from homeassistant.components.updater
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded logbook from homeassistant.components.logbook
2018-01-18 21:56:11 ERROR (MainThread) [homeassistant.loader] Unable to find component homeassistant.components.mqtt
2018-01-18 21:56:11 ERROR (MainThread) [homeassistant.setup] Setup failed for homeassistant.components.mqtt: Component not found.
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded input_select from homeassistant.components.input_select
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.setup] Setting up input_select
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_select, service=select_option>
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_select, service=select_next>
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_select, service=select_previous>
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_select, service=set_options>
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded input_number from homeassistant.components.input_number
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.setup] Setting up input_number
2018-01-18 21:56:11 ERROR (MainThread) [homeassistant.loader] Unable to find component default
2018-01-18 21:56:11 ERROR (MainThread) [homeassistant.setup] Setup failed for default: Component not found.
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.loader] Loaded zone from homeassistant.components.zone
2018-01-18 21:56:11 INFO (MainThread) [homeassistant.setup] Setting up zone
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded switch from homeassistant.components.switch
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded group from homeassistant.components.group
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded switch.wake_on_lan from homeassistant.components.switch.wake_on_lan
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded sun from homeassistant.components.sun
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.setup] Setting up sun
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.setup] Setup of domain sun took 0.4 seconds.
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=sun>
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded ifttt from homeassistant.components.ifttt
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded scene.homeassistant from homeassistant.components.scene.homeassistant
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.setup] Setting up scene
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded conversation from homeassistant.components.conversation
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded camera from homeassistant.components.camera
2018-01-18 21:56:12 INFO (MainThread) [homeassistant.loader] Loaded camera.generic from homeassistant.components.camera.generic
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded remote from homeassistant.components.remote
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded remote.harmony from homeassistant.components.remote.harmony
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded media_player from homeassistant.components.media_player
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded media_player.yamaha_musiccast from homeassistant.components.media_player.yamaha_musiccast
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded media_player.cast from homeassistant.components.media_player.cast
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded device_tracker from homeassistant.components.device_tracker
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded device_tracker.owntracks from homeassistant.components.device_tracker.owntracks
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded config from homeassistant.components.config
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded dyson from homeassistant.components.dyson
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded hue from homeassistant.components.hue
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded sensor from homeassistant.components.sensor
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded sensor.yr from homeassistant.components.sensor.yr
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded sensor.mqtt from homeassistant.components.sensor.mqtt
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.setup] Setting up sensor
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.setup] Setting up group
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.default_view, old_state=None, new_state=<state group.default_view=unknown; entity_id=('group.plugs', 'group.pieces', 'group.harmony_hub', 'group.themes', 'group.air', 'group.google_audio', 'group.av_ampli', 'device_tracker.roman_romkilla', 'device_tracker.gabriela', 'sensor.weather_temperature', 'sensor.weather_humidity', 'sensor.battery_a5', 'camera.roman', 'group.volume'), order=0, view=True, friendly_name=default_view, icon=mdi:home, hidden=True, assumed_state=False @ 2018-01-18T21:56:13.303052+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.salon_view, old_state=None, new_state=<state group.salon_view=unknown; entity_id=('group.salon', 'group.google_chromecast'), order=1, view=True, friendly_name=Salon, hidden=True, assumed_state=False @ 2018-01-18T21:56:13.311702+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.harmony_switch_view, old_state=None, new_state=<state group.harmony_switch_view=unknown; entity_id=('group.harmony_switch', 'group.home_cinema'), order=2, friendly_name=Harmony Switch, assumed_state=False @ 2018-01-18T21:56:13.317343+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.cuisine_view, old_state=None, new_state=<state group.cuisine_view=unknown; entity_id=('group.cuisine',), order=3, view=True, friendly_name=Cuisine, hidden=True, assumed_state=False @ 2018-01-18T21:56:13.321624+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.chambre_view, old_state=None, new_state=<state group.chambre_view=unknown; entity_id=('group.chambre', 'group.google_home_mini'), order=4, view=True, friendly_name=Chambre, hidden=True, assumed_state=False @ 2018-01-18T21:56:13.327351+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.entree_view, old_state=None, new_state=<state group.entree_view=unknown; entity_id=('group.entree',), order=5, view=True, friendly_name=Entree, hidden=True, assumed_state=False @ 2018-01-18T21:56:13.331474+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.salon, old_state=None, new_state=<state group.salon=unknown; entity_id=('light.lamp_1', 'light.lamp_2', 'light.spot_1', 'light.spot_2', 'light.strip_1', 'light.bloom_1', 'light.living'), order=6, friendly_name=Salon, icon=mdi:lightbulb, assumed_state=False @ 2018-01-18T21:56:13.340142+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.themes, old_state=None, new_state=<state group.themes=unknown; entity_id=('input_select.hass_theme',), order=7, friendly_name=Themes, assumed_state=False @ 2018-01-18T21:56:13.348156+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.av_ampli, old_state=None, new_state=<state group.av_ampli=unknown; entity_id=('media_player.home_cinema_main',), order=8, friendly_name=Yamaha, assumed_state=False @ 2018-01-18T21:56:13.352946+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.google_home_mini, old_state=None, new_state=<state group.google_home_mini=unknown; entity_id=('media_player.google_home_mini',), order=9, friendly_name=Google Home Mini, assumed_state=False @ 2018-01-18T21:56:13.358071+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.google_audio, old_state=None, new_state=<state group.google_audio=unknown; entity_id=('media_player.google_home',), order=10, friendly_name=Google Audio, assumed_state=False @ 2018-01-18T21:56:13.363026+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.google_chromecast, old_state=None, new_state=<state group.google_chromecast=unknown; entity_id=('media_player.chromecast_audio',), order=11, friendly_name=Google Chromecast, assumed_state=False @ 2018-01-18T21:56:13.367274+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.plugs, old_state=None, new_state=<state group.plugs=unknown; entity_id=('light.free', 'switch.wake_on_lan', 'light.astro', 'light.multi'), order=12, friendly_name=Plugs, assumed_state=False @ 2018-01-18T21:56:13.372362+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.air, old_state=None, new_state=<state group.air=unknown; entity_id=('sensor.salon_temperature', 'sensor.salon_humidity', 'fan.salon'), order=13, friendly_name=Air, assumed_state=False @ 2018-01-18T21:56:13.378351+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.harmony_hub, old_state=None, new_state=<state group.harmony_hub=unknown; entity_id=('input_select.harmony_hub', 'script.input_select_harmony'), order=14, friendly_name=Harmony Hub, assumed_state=False @ 2018-01-18T21:56:13.383140+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.volume, old_state=None, new_state=<state group.volume=unknown; entity_id=('input_number.slider1', 'input_number.slider2'), order=15, friendly_name=Volume, assumed_state=False @ 2018-01-18T21:56:13.387128+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.harmony_switch, old_state=None, new_state=<state group.harmony_switch=unknown; entity_id=('script.1515326774093', 'script.1515327048655', 'script.1515327237237', 'script.1515327331527', 'script.1515327471008', 'script.1515327517610', 'script.1515327540596', 'script.1515327559406', 'script.1515327583972', 'script.1515327610370', 'script.1515327627914', 'script.1515327641814', 'script.1515327655098', 'script.1515327674292', 'script.1515326774093', 'script.1515327688932', 'script.1515327707943', 'script.1515327731548', 'script.1515327816025', 'script.1515327847785', 'script.1515327905431', 'script.1515337890501', 'script.1515352957625', 'script.1515352997947', 'script.1515353133084', 'script.1515353224614', 'script.1515353304047', 'script.1515353427055', 'script.1515356098614'), order=16, friendly_name=Harmony Switch, assumed_state=False @ 2018-01-18T21:56:13.392227+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.home_cinema, old_state=None, new_state=<state group.home_cinema=unknown; entity_id=('automation.movies_tv_started_from_harmony_hub', 'automation.movies_started_from_harmony_hub', 'automation.pc_play_started_from_harmony_hub', 'automation.pc_stop_started_from_harmony_hub', 'automation.poweroff_started_from_harmony_hub', 'automation.back_harmony', 'automation.play_harmony', 'scene.livingroom_dim', 'scene.livingroom_normal', 'scene.livingroom_off'), order=17, friendly_name=Home Cinema, assumed_state=False @ 2018-01-18T21:56:13.398861+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.remotes, old_state=None, new_state=<state group.remotes=unknown; entity_id=('remote.harmony_hub',), order=18, friendly_name=Remotes, assumed_state=False @ 2018-01-18T21:56:13.404122+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.pieces, old_state=None, new_state=<state group.pieces=unknown; entity_id=('light.salon', 'light.entree', 'light.cuisine', 'light.chambre'), order=19, friendly_name=Pieces, icon=mdi:door, assumed_state=False @ 2018-01-18T21:56:13.409731+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.chambre, old_state=None, new_state=<state group.chambre=unknown; entity_id=('light.lamp_6',), order=20, friendly_name=Chambre, assumed_state=False @ 2018-01-18T21:56:13.415155+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.cuisine, old_state=None, new_state=<state group.cuisine=unknown; entity_id=('light.lamp_4', 'light.lamp_5'), order=21, friendly_name=Cuisine, assumed_state=False @ 2018-01-18T21:56:13.421342+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=group.entree, old_state=None, new_state=<state group.entree=unknown; entity_id=('light.lamp_3',), order=22, friendly_name=Entree, assumed_state=False @ 2018-01-18T21:56:13.426486+01:00>>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded map from homeassistant.components.map
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.setup] Setting up map
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.setup] Setup of domain map took 0.0 seconds.
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=map>
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded script from homeassistant.components.script
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded automation from homeassistant.components.automation
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded automation.state from homeassistant.components.automation.state
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded automation.event from homeassistant.components.automation.event
2018-01-18 21:56:13 INFO (MainThread) [homeassistant.loader] Loaded automation.time from homeassistant.components.automation.time
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.loader] Loaded cloud from homeassistant.components.cloud
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.loader] Loaded emulated_roku from custom_components.emulated_roku
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- logs
Please check your config., notification_id=invalid_config, service_call_id=139649613309712-1>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- logs
- homeassistant.components.mqtt
Please check your config., notification_id=invalid_config, service_call_id=139649613309712-2>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=input_select.harmony_hub, old_state=None, new_state=<state input_select.harmony_hub=Power Off; options=['Power Off', 'MOVIES', 'PC', 'PS4', '360 TV', 'SMART TV', 'WiiU TV', 'TV', 'Chromecast audio', 'PS3 TV', 'WiiU', 'ONE', 'SWITCH TV', 'MOVIES TV', 'PS3', '360', 'PS4 TV', 'SWITCH', 'PC TV', 'ONE TV'], friendly_name=Activity, icon=mdi:monitor, entity_picture=/local/harmony.jpg @ 2018-01-18T21:56:14.073677+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=input_select.hass_theme, old_state=None, new_state=<state input_select.hass_theme=default; options=['default', 'solarized', 'PmxMononight', 'Night'], friendly_name=HASS Themes, icon=mdi:theme-light-dark @ 2018-01-18T21:56:14.079431+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- logs
- homeassistant.components.mqtt
- default
Please check your config., notification_id=invalid_config, service_call_id=139649613309712-3>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=zone.home, old_state=None, new_state=<state zone.home=zoning; hidden=True, latitude=43.270909, longitude=6.63785, radius=60.0, friendly_name=Home, icon=mdi:home @ 2018-01-18T21:56:14.090278+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=zone.work, old_state=None, new_state=<state zone.work=zoning; hidden=True, latitude=43.268606, longitude=6.640683, radius=30.0, friendly_name=Work, icon=mdi:briefcase @ 2018-01-18T21:56:14.095623+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=sun.sun, old_state=None, new_state=<state sun.sun=below_horizon; next_dawn=2018-01-19T06:29:23+00:00, next_dusk=2018-01-19T16:58:38+00:00, next_midnight=2018-01-18T23:44:10+00:00, next_noon=2018-01-19T11:44:00+00:00, next_rising=2018-01-19T07:00:44+00:00, next_setting=2018-01-19T16:27:17+00:00, elevation=-48.12, azimuth=289.8, friendly_name=Sun @ 2018-01-18T21:56:14.101103+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.components.scene] Setting up scene.homeassistant
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- logs
Please check your config. @ 2018-01-18T21:56:14.154976+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=139649613309712-1>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- logs
Please check your config. @ 2018-01-18T21:56:14.154976+01:00>, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- logs
- homeassistant.components.mqtt
Please check your config. @ 2018-01-18T21:56:14.154976+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=139649613309712-2>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- logs
- homeassistant.components.mqtt
Please check your config. @ 2018-01-18T21:56:14.154976+01:00>, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- logs
- homeassistant.components.mqtt
- default
Please check your config. @ 2018-01-18T21:56:14.154976+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=139649613309712-3>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_number, service=set_value>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_number, service=increment>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=input_number, service=decrement>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.setup] Setting up logbook
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.setup] Setup of domain input_select took 2.4 seconds.
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=input_select>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.setup] Setup of domain zone took 2.2 seconds.
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=zone>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=input_number.slider2, old_state=None, new_state=<state input_number.slider2=40.0; min=0.0, max=100.0, step=10.0, mode=slider, friendly_name=Yamaha @ 2018-01-18T21:56:14.239835+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=input_number.slider1, old_state=None, new_state=<state input_number.slider1=40.0; min=0.0, max=100.0, step=10.0, mode=slider, friendly_name=Google Home @ 2018-01-18T21:56:14.246051+01:00>>
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.setup] Setting up camera
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.setup] Setting up media_player
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.setup] Setting up config
2018-01-18 21:56:14 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=logbook, service=log>
And here is my automation:
- alias: Refresh owntracks
trigger:
- platform: time
minutes: '/1'
action:
- service: mqtt.publish
data:
topic: "owntracks/phone/phone/cmd"
payload_template: '{{ "_type": "cmd","action": "reportLocation" }}'
With MQTT.fx when publishing from the phone it goes on my broker: owntracks/roman/romkilla
{"_type":"location","tid":"05","acc":1100,"batt":88,"conn":"m","lat":43.2722742,"lon":6.6375902,"tst":1516310651}
I followed this example on this post
eventually ended up with
- alias: Refresh Owntracks
trigger:
- platform: time
minutes: '/30'
action:
service: mqtt.publish
data_template:
topic: "owntracks/phone/phone/cmd"
payload: "{ \"_type\": \"cmd\", \"action\":\"reportLocation\" }"
it generates no errors and i can see the published message on my MQTT.fx
Thanks mate, i don’t have error in the log now !
How can i see the updated location on the UI map ?
I don’t see anything on the map.
Thanks again.
It should auto update the UI map. did you setup your devicetrackers correctly as per examples on the HA website?
Thanks for your time?
no i didn’t, how can i do that?
device_tracker:
- platform: owntracks
max_gps_accuracy: 100
waypoints: True
mqtt:
broker: 192.168.0.12
port: 1883
keepalive: 60
client_id: hassio
username: roman
password: 5691
sensor:
- platform: yr
name: Weather
forecast: 24
monitored_conditions:
- temperature
- symbol
- precipitation
- windSpeed
- pressure
- windDirection
- humidity
- fog
- cloudiness
- lowClouds
- mediumClouds
- highClouds
- dewpointTemperature
- platform: mqtt
state_topic: "owntracks/roman/romkilla"
name: "Battery A5"
unit_of_measurement: "%"
value_template: '{{ value_json.batt }}'
This what i have related to owntracks on my config
I think my device tracker is correctly set, my know_devices also:
gabriela:
hide_if_away: false
picture: /local/gaby.jpg
mac:
name: Gaby
track: true
vendor: Apple
roman_romkilla:
hide_if_away: false
picture: /local/roman.jpg
mac: 40:D3:AE:5mlllml
name: Roman
track: true
vendor: Samsung
I probably miss the auto update the UI map automation ?
change the topic line in the automation
from
owntracks/phone/phone/cmd
to
owntracks/roman/romkilla/cmd
Just did it and no error in the log but still no update on the map, is there an automation to update the ui map or is it suppose to be automatic?
Thanks vicom for your precious help.
just make sure that your phone reports back via MQTT once the automation is triggered. Do you see the phone’s MQTT response after the automation tigger on MQTT.fx?
Based on output Your phone is 05, so change:
topic: “owntracks/phone/phone/cmd”
to
topic: “owntracks/roman/romkilla/cmd”
Also “tid”:“05” is your phone name on owntracks and it is not == roman or romkilla
Sorry just had a bug on the pc
If i go to MQTT.fx and i subscribe to owntracks/roman/romkilla/cmd and owntracks/roman/romkilla.
If i post my location with owntracks it will update only the owntracks/roman/romkilla broker, owntracks/roman/romkilla/cmd will remain blank.
More i push location more i create massages in MQTT.fx “owntracks/roman/romkilla”
I updated the automations.yaml with the good topic:
“owntracks/roman/romkilla/cmd”
Thanks guys
On your mosquitto-server, try to listen whats going on, login to ssh and paste or type:
mosquitto_sub -u pi -P raspberry -v -t #
You’ll see all messages from and to mqtt.
How can i trigger an automation with MQTT.fx and see if the phone’s response to the mqtt ?
Unfortunately im runnig everything on my synology nas.
All the tutorials are mostly for raspberry.
I’m runnig the mosquitto server on docker, with a terminal option. Maybe i could paste something there?
on MQTT.fx subscribe to the topic “owntracks/roman/romkilla” then you should see the phone’s reply