text:
Sonos errors in jounralctl : homeassistant.core:Bus:Handling

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.32.1
Python release (python3 --version):
3.4.2
Component/platform:
Sonos
Description of problem:
Seeing errors when tracing journalctl -fu home-assistant  (see below).  This repeats several times.
Sonos devices appear to be working.
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):
Nov 06 19:58:40 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.roku_1gs42n030417, old_state=None, new_state=<state media_player.roku_1gs42n030417=playing; media_content_type=movie, source_list=['Home', 'Acorn TV', 'Amazon Music', 'Amazon Video', 'Angry Birds Space', 'FX NOW', 'HBO GO', 'HBO NOW', 'Movie Store and TV Store', 'Netflix', 'PBS Video', 'Pluto TV', 'Roku DS video', 'Roku Home News', 'Roku Media Player', 'Time Warner Cable', 'WatchESPN'], supported_media_commands=2620, app_id=12, app_name=Netflix, entity_picture=/api/media_player_proxy/media_player.roku_1gs42n030417?token=1732680976&cache=259a3, source=Netflix, friendly_name=roku_1GS42N030417 @ 2016-11-06T19:58:40.550840-05:00>>
**Nov 06 19:58:40 rpi01.home.int hass[24265]: Traceback (most recent call last):
Nov 06 19:58:40 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.kitchen, old_state=None, new_state=<state media_player.kitchen=paused; is_volume_muted=False, media_content_type=music, volume_level=0.12, media_duration=0, entity_picture=/api/media_player_proxy/media_player.kitchen?token=1694597776&cache=80ec9, media_artist=RadioLab, supported_media_commands=8718, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32, media_title=WVXU, friendly_name=Kitchen @ 2016-11-06T19:58:40.963132-05:00>>**
**_Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 06 19:58:41 rpi01.home.int hass[24265]: self.finish_request(request, client_address)
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 06 19:58:41 rpi01.home.int hass[24265]: self.RequestHandlerClass(request, client_address, self)
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 669, in __init__
Nov 06 19:58:41 rpi01.home.int hass[24265]: self.handle()
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 06 19:58:41 rpi01.home.int hass[24265]: self.handle_one_request()
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 06 19:58:41 rpi01.home.int hass[24265]: method()
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 237, in do_NOTIFY
Nov 06 19:58:41 rpi01.home.int hass[24265]: _sid_to_event_queue[sid].put(event)
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 247, in put
Nov 06 19:58:41 rpi01.home.int hass[24265]: self._sonos_device.process_sonos_event(item)
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 592, in process_sonos_event
Nov 06 19:58:41 rpi01.home.int hass[24265]: self.update_ha_state(True)
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 188, in update_ha_state
Nov 06 19:58:41 rpi01.home.int hass[24265]: ).result()
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 402, in result
Nov 06 19:58:41 rpi01.home.int hass[24265]: return self.__get_result()
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
Nov 06 19:58:41 rpi01.home.int hass[24265]: raise self._exception
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
Nov 06 19:58:41 rpi01.home.int hass[24265]: result = next(coro)
Nov 06 19:58:41 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 203, in async_update_ha_state
Nov 06 19:58:41 rpi01.home.int hass[24265]: "No entity id specified for entity {}".format(self.name))
Nov 06 19:58:41 rpi01.home.int hass[24265]: homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Kitchen_**
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=sonos_group_players, domain=media_player>
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=sonos_unjoin, domain=media_player>
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=sonos_snapshot, domain=media_player>
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=sonos_restore, domain=media_player>
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=sonos_set_sleep_timer, domain=media_player>
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: service=sonos_clear_sleep_timer, domain=media_player>
Nov 06 19:58:41 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.kitchen, old_state=<state media_player.kitchen=paused; is_volume_muted=False, media_content_type=music, volume_level=0.12, media_duration=0, entity_picture=/api/media_player_proxy/media_player.kitchen?token=1694597776&cache=80ec9, media_artist=RadioLab, supported_media_commands=8718, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32, media_title=WVXU, friendly_name=Kitchen @ 2016-11-06T19:58:40.963132-05:00>, new_state=<state media_player.kitchen=paused; is_volume_muted=False, media_content_type=music, entity_picture=/api/media_player_proxy/media_player.kitchen?token=1694597776&cache=80ec9, volume_level=0.12, media_duration=0, media_album_name=, media_artist=RadioLab, supported_media_commands=8718, media_content_id=noads-wvxu, media_title=WVXU, friendly_name=Kitchen @ 2016-11-06T19:58:40.963132-05:00>>
Nov 06 19:58:42 rpi01.home.int hass[24265]: Traceback (most recent call last):
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.finish_request(request, client_address)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.RequestHandlerClass(request, client_address, self)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 669, in __init__
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.handle()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.handle_one_request()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 06 19:58:42 rpi01.home.int hass[24265]: method()
Nov 06 19:58:42 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.living_room, old_state=None, new_state=<state media_player.living_room=paused; is_volume_muted=False, media_content_type=music, volume_level=0.26, media_duration=0, entity_picture=/api/media_player_proxy/media_player.living_room?token=1692620400&cache=7b5e8, media_artist=, supported_media_commands=8718, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32, media_title=WVXU, friendly_name=Living Room @ 2016-11-06T19:58:42.233665-05:00>>
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 237, in do_NOTIFY
Nov 06 19:58:42 rpi01.home.int hass[24265]: _sid_to_event_queue[sid].put(event)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 247, in put
Nov 06 19:58:42 rpi01.home.int hass[24265]: self._sonos_device.process_sonos_event(item)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 592, in process_sonos_event
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.update_ha_state(True)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 188, in update_ha_state
Nov 06 19:58:42 rpi01.home.int hass[24265]: ).result()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 402, in result
Nov 06 19:58:42 rpi01.home.int hass[24265]: return self.__get_result()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
Nov 06 19:58:42 rpi01.home.int hass[24265]: raise self._exception
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
Nov 06 19:58:42 rpi01.home.int hass[24265]: result = next(coro)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 203, in async_update_ha_state
Nov 06 19:58:42 rpi01.home.int hass[24265]: "No entity id specified for entity {}".format(self.name))
Nov 06 19:58:42 rpi01.home.int hass[24265]: homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Living Room
Nov 06 19:58:42 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.master_bedroom, old_state=None, new_state=<state media_player.master_bedroom=paused; is_volume_muted=False, media_content_type=music, entity_picture=/api/media_player_proxy/media_player.master_bedroom?token=1692912688&cache=7b5e8, volume_level=0.39, media_duration=0, source_list=['Line-in'], media_artist=, supported_media_commands=8718, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32, media_title=WVXU, friendly_name=Master Bedroom @ 2016-11-06T19:58:42.354910-05:00>>
Nov 06 19:58:42 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.living_room, old_state=<state media_player.living_room=paused; is_volume_muted=False, media_content_type=music, volume_level=0.26, media_duration=0, entity_picture=/api/media_player_proxy/media_player.living_room?token=1692620400&cache=7b5e8, media_artist=, supported_media_commands=8718, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32, media_title=WVXU, friendly_name=Living Room @ 2016-11-06T19:58:42.233665-05:00>, new_state=<state media_player.living_room=paused; is_volume_muted=False, media_content_type=music, entity_picture=/api/media_player_proxy/media_player.living_room?token=1692620400&cache=7b5e8, volume_level=0.26, media_duration=0, media_album_name=, media_artist=, supported_media_commands=8718, media_content_id=noads-wvxu, media_title=WVXU, friendly_name=Living Room @ 2016-11-06T19:58:42.233665-05:00>>
Nov 06 19:58:42 rpi01.home.int hass[24265]: Traceback (most recent call last):
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.finish_request(request, client_address)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.RequestHandlerClass(request, client_address, self)
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/socketserver.py", line 669, in __init__
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.handle()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 06 19:58:42 rpi01.home.int hass[24265]: self.handle_one_request()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 06 19:58:42 rpi01.home.int hass[24265]: method()
Nov 06 19:58:42 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 237, in do_NOTIFY
Nov 06 19:58:42 rpi01.home.int hass[24265]: _sid_to_event_queue[sid].put(event)
Nov 06 19:58:42 rpi01.home.int hass[24265]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=media_player.tv_room, old_state=None, new_state=<state media_player.tv_room=playing; is_volume_muted=False, media_content_type=music, supported_media_commands=10767, volume_level=0.24, source_list=['Line-in', 'TV'], entity_picture=/api/media_player_proxy/media_player.tv_room?token=1692519920&cache=7fdf9, media_content_id= , source=TV, media_title= , friendly_name=TV Room @ 2016-11-06T19:58:42.840992-05:00>>
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 247, in put
Nov 06 19:58:43 rpi01.home.int hass[24265]: self._sonos_device.process_sonos_event(item)
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 592, in process_sonos_event
Nov 06 19:58:43 rpi01.home.int hass[24265]: self.update_ha_state(True)
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 188, in update_ha_state
Nov 06 19:58:43 rpi01.home.int hass[24265]: ).result()
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 395, in result
Nov 06 19:58:43 rpi01.home.int hass[24265]: return self.__get_result()
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
Nov 06 19:58:43 rpi01.home.int hass[24265]: raise self._exception
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
Nov 06 19:58:43 rpi01.home.int hass[24265]: result = next(coro)
Nov 06 19:58:43 rpi01.home.int hass[24265]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 203, in async_update_ha_state
Nov 06 19:58:43 rpi01.home.int hass[24265]: "No entity id specified for entity {}".format(self.name))
Nov 06 19:58:43 rpi01.home.int hass[24265]: homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity TV Room

Additional info:

I can't reproduce it. Same stuff on 0.32.2?

Yes.  I looked at the log file below, and then looked at journalctl -fu home-assistant.  I did not see the same python errors, so I restarted home-assistant and the errors started showing up right after the z-wave driver initialized.
home-assistant.log
16-11-07 19:52:52 homeassistant.components.zwave: zwave not ready after 30 seconds, continuing anyway
16-11-07 19:53:11 netdisco.ssdp: Found malformed XML at http://10.0.1.211:9080: status=ok
16-11-07 20:23:08 homeassistant.core: Error inside async loop: Fatal read error on socket transport
16-11-07 21:03:00 homeassistant.core: Error inside async loop: Fatal read error on socket transport
16-11-07 23:05:49 homeassistant.core: Error inside async loop: Fatal read error on socket transport
16-11-08 01:49:50 homeassistant.core: Error inside async loop: Fatal read error on socket transport
16-11-08 02:51:41 homeassistant.core: Error inside async loop: Fatal read error on socket transport
16-11-08 04:54:20 homeassistant.core: Error inside async loop: Fatal read error on socket transport
16-11-08 05:54:23 netdisco.ssdp: Error fetching description at http://10.0.1.177:17676/smp_6_
16-11-08 05:55:02 homeassistant.core: Error inside async loop: Fatal read error on socket transport
journalctl -fu home-assistant
Nov 08 07:57:39 rpi01.home.int hass[31486]: WARNING:homeassistant.components.zwave:zwave not ready after 30 seconds, continuing anyway
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.components.zwave:final network state: 5 Driver initialised
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.components.zwave:zwave polling interval set to 3000 ms
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=add_node>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=add_node_secure>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=remove_node>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=cancel_command>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=heal_network>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=soft_reset>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=test_network>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=stop_network>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=start_network>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=rename_node>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=set_config_parameter>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=zwave, service=change_association>
Nov 08 07:57:39 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state media_player.roku_1gs42n030417=playing; source_list=['Home', 'Acorn TV', 'Amazon Music', 'Amazon Video', 'Angry Birds Space', 'FX NOW', 'HBO GO', 'HBO NOW', 'Movie Store and TV Store', 'Netflix', 'PBS Video', 'Pluto TV', 'Roku DS video', 'Roku Home News', 'Roku Media Player', 'Time Warner Cable', 'WatchESPN'], source=Netflix, entity_picture=/api/media_player_proxy/media_player.roku_1gs42n030417?token=1692077296&cache=259a3, app_id=12, media_content_type=movie, friendly_name=roku_1GS42N030417, supported_media_commands=2620, app_name=Netflix @ 2016-11-08T07:57:39.820243-05:00>, entity_id=media_player.roku_1gs42n030417>
Nov 08 07:57:40 rpi01.home.int hass[31486]: Traceback (most recent call last):
Nov 08 07:57:40 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state media_player.kitchen=paused; media_artist=, media_title=WVXU, supported_media_commands=8718, entity_picture=/api/media_player_proxy/media_player.kitchen?token=1692972656&cache=80ec9, media_content_type=music, volume_level=0.12, media_duration=0, friendly_name=Kitchen, is_volume_muted=False, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32 @ 2016-11-08T07:57:40.453944-05:00>, entity_id=media_player.kitchen>
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.finish_request(request, client_address)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.RequestHandlerClass(request, client_address, self)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 669, in init
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.handle()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.handle_one_request()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 08 07:57:41 rpi01.home.int hass[31486]: method()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 237, in do_NOTIFY
Nov 08 07:57:41 rpi01.home.int hass[31486]: _sid_to_event_queue[sid].put(event)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 247, in put
Nov 08 07:57:41 rpi01.home.int hass[31486]: self._sonos_device.process_sonos_event(item)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 592, in process_sonos_event
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.update_ha_state(True)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 188, in update_ha_state
Nov 08 07:57:41 rpi01.home.int hass[31486]: ).result()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 395, in result
Nov 08 07:57:41 rpi01.home.int hass[31486]: return self.__get_result()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
Nov 08 07:57:41 rpi01.home.int hass[31486]: raise self._exception
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
Nov 08 07:57:41 rpi01.home.int hass[31486]: result = next(coro)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 203, in async_update_ha_state
Nov 08 07:57:41 rpi01.home.int hass[31486]: "No entity id specified for entity {}".format(self.name))
Nov 08 07:57:41 rpi01.home.int hass[31486]: homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Kitchen
Nov 08 07:57:41 rpi01.home.int hass[31486]: Traceback (most recent call last):
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.finish_request(request, client_address)
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.RequestHandlerClass(request, client_address, self)
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=sonos_group_players>
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 669, in init
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.handle()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 08 07:57:41 rpi01.home.int hass[31486]: self.handle_one_request()
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=sonos_unjoin>
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=<state media_player.kitchen=paused; media_artist=, media_title=WVXU, supported_media_commands=8718, entity_picture=/api/media_player_proxy/media_player.kitchen?token=1692972656&cache=80ec9, media_content_type=music, volume_level=0.12, media_duration=0, friendly_name=Kitchen, is_volume_muted=False, media_content_id=x-sonosapi-stream:s23672?sid=254&flags=32 @ 2016-11-08T07:57:40.453944-05:00>, new_state=<state media_player.kitchen=paused; media_artist=, media_title=WVXU, supported_media_commands=8718, entity_picture=/api/media_player_proxy/media_player.kitchen?token=1692972656&cache=80ec9, media_album_name=, media_content_type=music, volume_level=0.12, media_duration=0, friendly_name=Kitchen, is_volume_muted=False, media_content_id=noads-wvxu @ 2016-11-08T07:57:40.453944-05:00>, entity_id=media_player.kitchen>
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=sonos_snapshot>
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 08 07:57:41 rpi01.home.int hass[31486]: method()
Nov 08 07:57:41 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 225, in do_NOTIFY
Nov 08 07:57:41 rpi01.home.int hass[31486]: service.service_id, threading.current_thread(), timestamp)
Nov 08 07:57:41 rpi01.home.int hass[31486]: AttributeError: 'NoneType' object has no attribute 'service_id'
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=sonos_restore>
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=sonos_set_sleep_timer>
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event service_registered[L]: domain=media_player, service=sonos_clear_sleep_timer>
Nov 08 07:57:41 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state media_player.tv_room=playing; source_list=['Line-in', 'TV'], source=TV, is_volume_muted=False, media_album_name=, friendly_name=TV Room, supported_media_commands=10767, entity_picture=/api/media_player_proxy/media_player.tv_room?token=1733632464&cache=7fdf9, media_artist=, volume_level=0.34, media_content_type=music, media_title=, media_content_id= @ 2016-11-08T07:57:41.618248-05:00>, entity_id=media_player.tv_room>
Nov 08 07:57:42 rpi01.home.int hass[31486]: Traceback (most recent call last):
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.finish_request(request, client_address)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.RequestHandlerClass(request, client_address, self)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 669, in init
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.handle()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.handle_one_request()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 08 07:57:42 rpi01.home.int hass[31486]: method()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 225, in do_NOTIFY
Nov 08 07:57:42 rpi01.home.int hass[31486]: service.service_id, threading.current_thread(), timestamp)
Nov 08 07:57:42 rpi01.home.int hass[31486]: AttributeError: 'NoneType' object has no attribute 'service_id'
Nov 08 07:57:42 rpi01.home.int hass[31486]: Traceback (most recent call last):
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.finish_request(request, client_address)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.RequestHandlerClass(request, client_address, self)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 669, in init
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.handle()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.handle_one_request()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 08 07:57:42 rpi01.home.int hass[31486]: method()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 237, in do_NOTIFY
Nov 08 07:57:42 rpi01.home.int hass[31486]: _sid_to_event_queue[sid].put(event)
Nov 08 07:57:42 rpi01.home.int hass[31486]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: old_state=None, new_state=<state media_player.master_bedroom=playing; source_list=['Line-in'], is_volume_muted=False, media_album_name=We Are In Love, friendly_name=Master Bedroom, supported_media_commands=10815, entity_picture=/api/media_player_proxy/media_player.master_bedroom?token=1692973264&cache=01c0b, media_artist=Harry Connick Jr., volume_level=0.07, media_content_type=music, media_title=Recipe For Love (Album Version), media_duration=154, media_content_id=Recipe For Love (Album Version) @ 2016-11-08T07:57:42.688201-05:00>, entity_id=media_player.master_bedroom>
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 247, in put
Nov 08 07:57:42 rpi01.home.int hass[31486]: self._sonos_device.process_sonos_event(item)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py", line 592, in process_sonos_event
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.update_ha_state(True)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 188, in update_ha_state
Nov 08 07:57:42 rpi01.home.int hass[31486]: ).result()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 402, in result
Nov 08 07:57:42 rpi01.home.int hass[31486]: return self.__get_result()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/concurrent/futures/_base.py", line 354, in __get_result
Nov 08 07:57:42 rpi01.home.int hass[31486]: raise self._exception
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
Nov 08 07:57:42 rpi01.home.int hass[31486]: result = next(coro)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 203, in async_update_ha_state
Nov 08 07:57:42 rpi01.home.int hass[31486]: "No entity id specified for entity {}".format(self.name))
Nov 08 07:57:42 rpi01.home.int hass[31486]: homeassistant.exceptions.NoEntitySpecifiedError: No entity id specified for entity Master Bedroom
Nov 08 07:57:42 rpi01.home.int hass[31486]: Traceback (most recent call last):
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.finish_request(request, client_address)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.RequestHandlerClass(request, client_address, self)
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/socketserver.py", line 669, in init
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.handle()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 398, in handle
Nov 08 07:57:42 rpi01.home.int hass[31486]: self.handle_one_request()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
Nov 08 07:57:42 rpi01.home.int hass[31486]: method()
Nov 08 07:57:42 rpi01.home.int hass[31486]: File "/srv/hass/hass_venv/lib/python3.4/site-packages/soco/events.py", line 225, in do_NOTIFY
Nov 08 07:57:42 rpi01.home.int hass[31486]: service.service_id, threading.current_thread(), timestamp)
Nov 08 07:57:42 rpi01.home.int hass[31486]: AttributeError: 'NoneType' object has no attribute 'service_id'

FYI - I am running HA using the AIO installer in a virtual environment. Here is the output from that environment [(hass_venv) hass@]
pip3 list
Package          Version

aiohttp          1.0.5
async-timeout    1.0.0
Babel            2.3.4
chardet          2.3.0
Cython           0.24
eventlet         0.19.0
Flask            0.10.1
Flask-Babel      0.9
Flask-SocketIO   2.3
Flask-Themes     0.1.3
Flask-WTF        0.9.5
gevent           1.1.1
gevent-socketio  0.3.6
gevent-websocket 0.9.5
greenlet         0.4.10
homeassistant    0.32.2
itsdangerous     0.24
Jinja2           2.8
libopenzwave     0.3.1
MarkupSafe       0.23
multidict        2.1.2
openzwave        0.3.1
pip              9.0.1
PyDispatcher     2.0.5
pyozwman         0.3.1
pyozwweb         0.3.1
python-engineio  0.9.1
python-socketio  1.3
pytz             2016.7
PyYAML           3.12
requests         2.11.1
setuptools       28.8.0
six              1.10.0
soco             0.12
speaklater       1.3
SQLAlchemy       1.0.14
typing           3.5.2.2
urwid            1.3.1
vincenty         0.1.4
voluptuous       0.9.2
webcolors        1.5
WebOb            1.6.1
Werkzeug         0.11.10
wheel            0.29.0
WTForms          1.0.5
xmltodict        0.10.2

I think it is a Trouble with you soco Installation. Can you remove the dept Folder?

I don't see a directory named dept.  What should the path be to that directory?

I'm currently on 0.32.3 (which allowed me to install the Sonos component), but now I get the following error and was referenced to this thread:
----------------------------------------
Exception happened during processing of request from ('192.168.1.10', 42014)
Traceback (most recent call last):
  File "/home/homeassistant/.homeassistant/deps/soco/data_structures.py", line 96, in from_didl_string
    cls = _DIDL_CLASS_TO_CLASS[item_class]
KeyError: 'object.item.audioItem.musicTrack.recentShow'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.4/socketserver.py", line 613, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.4/socketserver.py", line 344, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.4/socketserver.py", line 669, in __init__
    self.handle()
  File "/usr/lib/python3.4/http/server.py", line 398, in handle
    self.handle_one_request()
  File "/usr/lib/python3.4/http/server.py", line 386, in handle_one_request
    method()
  File "/home/homeassistant/.homeassistant/deps/soco/events.py", line 227, in do_NOTIFY
    variables = parse_event_xml(content)
  File "/home/homeassistant/.homeassistant/deps/soco/events.py", line 130, in parse_event_xml
    value = from_didl_string(value)[0]
  File "/home/homeassistant/.homeassistant/deps/soco/data_structures.py", line 98, in from_didl_string
    raise DIDLMetadataError("Unknown UPnP class: %s" % item_class)
soco.exceptions.DIDLMetadataError: Unknown UPnP class: object.item.audioItem.musicTrack.recentShow
----------------------------------------

Regards,
Michal

I do not see this in 0.40.1.

authors: dap35 mihalski pvizeli


text:
Soundtouch 10 playing tts-generated sound sped up.

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
.49.0
Python release (python3 --version):
3.5.3
Component/platform:
media_player/soundtouch
Description of problem:
My soundtouch seems to play any TTS generated by picotts sped up.
Expected:
The sound to be played correctly

Have a soundtouch 10
Add to hass
Play a picoTTS-generated file.

Additional info:
I'm not really sure this has anything to do with the hass component as I have very little faith in the quality of this SoundTouch, but I figured I'd put this here in case someone knew what's what or if there could be a fix.

Hass only put the audio file to a webserver that can play by device. Looks like picotts make a wrong header on your file...

@pvizeli would that matter if it works in a few other media devices? For instance, I've been using picotts as an alarm clock for about 2 months now using Kodi as the player, and Kodi has had no issues.

I haven't test with PicoTTS but it's working fine on Soundtouch 10 and 20 with Amazon Polly and Google say.
Are you able to get the file generated by PicoTTS (wget, if you want to see the URL, you can set the homeassistant.components.media_player.soundtouch component to debug ) and add it to a DLNA or Itunes/Windows media player library in order to play it like a standard mp3 music and check if you have the same behavior ?
I agree with @pvizeli, It's maybe the mp3 file generated by PicoTTS that the Soundtouch device doesn't like.
Nevertheless, I will do some tests with PicoTTS to confirm I have the same issue (or not).

@CharlesBlonde PicoTTS generates wav files, not mp3s. As mentioned, the files play fine in other media players.
Here is the file, fwiw.

Hmm - I cant upload wavs. I'll zip it

6271fec545f98270e0f1b982bb15d5dc122131d0_en-us_-_picotts.wav.zip

source: gharchive/issue

authors: CharlesBlonde cmsimike pvizeli

repo: home-assistant/home-assistant

license_type: permissive

license_source: github-api


text:
MQTT in re-connection loop

Home Assistant release (hass --version):
v0.55.0 (Docker)
Python release (python3 --version):
3.6.3
Component/platform:
MQTT hub
Description of problem:
Initially i thought that home assistant was not subscribing the MQTT topics. I added
logger:
  default: warning
  logs:
    homeassistant.components.mqtt: debug

to my config file and it turns out the home-assistant is continually disconnecting and reconnecting from my mqtt server.
The logs look as follows
2017-10-11 18:58:59 INFO (Thread-2) [homeassistant.components.mqtt] Successfully reconnected to the MQTT server
[...]
2017-10-11 18:59:52 INFO (Thread-2) [homeassistant.components.mqtt] Successfully reconnected to the MQTT server
2017-10-11 18:59:54 INFO (Thread-2) [homeassistant.components.mqtt] Successfully reconnected to the MQTT server

I'm not certain if this is an issue in home-assistant or eMQTT but the rest of my devices in eMQTT are stable and only connect once. eMQTT is version 2.1.0
the emqtt log shows:
19:13:03.012 [debug] Client(127.0.0.1:32929): RECV <<16,28,0,4,77,81,84,84,4,2,0,60,0,16,104,111,109,101,45,97,115,115,105,115,116,97,110,116,45,49>>
19:13:03.013 [info] Client(undefined@127.0.0.1:32929): RECV CONNECT(Q0, R0, D0, ClientId=home-assistant-1, ProtoName=MQTT, ProtoVsn=4, CleanSess=true, KeepAlive=60, Username=undefined, Password=undefined)
19:13:03.017 [info] Client(home-assistant-1@127.0.0.1:32929): SEND CONNACK(Q0, R0, D0, AckFlags=0, RetainCode=0)
19:13:03.017 [debug] Client(127.0.0.1:32929): SEND [<<" ">>,<<2>>,<<0,0>>,<<>>]
19:13:03.018 [debug] Client(127.0.0.1:32929): Keepalive at the interval of 75
19:13:03.019 [info] Session(home-assistant-1): Subscribe [{<<"$client/home-assistant-1">>,[{qos,1}]}]
19:13:03.810 [debug] Client(127.0.0.1:44825): RECV <<16,28,0,4,77,81,84,84,4,2,0,60,0,16,104,111,109,101,45,97,115,115,105,115,116,97,110,116,45,49>>
19:13:03.811 [info] Client(undefined@127.0.0.1:44825): RECV CONNECT(Q0, R0, D0, ClientId=home-assistant-1, ProtoName=MQTT, ProtoVsn=4, CleanSess=true, KeepAlive=60, Username=undefined, Password=undefined)
19:13:03.812 [warning] Session(home-assistant-1): kickout <0.1209.0>
19:13:03.817 [info] Client(home-assistant-1@127.0.0.1:44825): SEND CONNACK(Q0, R0, D0, AckFlags=0, RetainCode=0)
19:13:03.818 [debug] Client(127.0.0.1:44825): SEND [<<" ">>,<<2>>,<<0,0>>,<<>>]
19:13:03.818 [debug] Client(127.0.0.1:44825): Keepalive at the interval of 75
19:13:03.819 [info] Session(home-assistant-1): Subscribe [{<<"$client/home-assistant-1">>,[{qos,1}]}]
19:13:04.823 [debug] Client(127.0.0.1:38421): RECV <<16,28,0,4,77,81,84,84,4,2,0,60,0,16,104,111,109,101,45,97,115,115,105,115,116,97,110,116,45,49>>
19:13:04.824 [info] Client(undefined@127.0.0.1:38421): RECV CONNECT(Q0, R0, D0, ClientId=home-assistant-1, ProtoName=MQTT, ProtoVsn=4, CleanSess=true, KeepAlive=60, Username=undefined, Password=undefined)
19:13:04.826 [warning] Session(home-assistant-1): kickout <0.1211.0>
19:13:04.832 [info] Client(home-assistant-1@127.0.0.1:38421): SEND CONNACK(Q0, R0, D0, AckFlags=0, RetainCode=0)
19:13:04.832 [debug] Client(127.0.0.1:38421): SEND [<<" ">>,<<2>>,<<0,0>>,<<>>]
19:13:04.832 [debug] Client(127.0.0.1:38421): Keepalive at the interval of 75
19:13:04.832 [info] Session(home-assistant-1): Subscribe [{<<"$client/home-assistant-1">>,[{qos,1}]}]

from which it looks like home-assistant connects to emqttd. emqttd send it the CONNACK. home assistant subscribes to $client/home-assistant-1. Then home-assistant tries to reconnect.
Expected:
Once off connection to MQTT server.
Problem-relevant configuration.yaml entries and steps to reproduce:

mqtt:
  broker: localhost
  port: 1883
  client_id: home-assistant-1
  keepalive: 60

sensor:
  - platform: mqtt
    state_topic: 'house/temperature/read'
    name: 'Temperature'
    unit_of_measurement: "°C"

Traceback (if applicable):

Additional info:

FIY: may be worth re-testing with #9874 as there were quite some bugs fixed in the last version of pahoo

Thanks very much. Strangely yesterday it all of a sudden connected and stayed connected. I'm not sure why and hadn't changed my config at all. At the moment it seems stable but once the dev branch with the fixes in reaches release i'll try test it out and see if the issue is gone for good.

@boozelclark is it working ? can you close the issue ?

Yes thanks, Sorry i forgot to get back to this

authors: boozelclark dgomes pezinek


text:
Update yale smart alarm client to v0.1.6

Description:
Updated yale smart alarm client to v0.1.6 which adds:

Better support for new API authentication and use of refresh tokens.
Better handling of Yale API port/load balancing allocation

See https://github.com/domwillcode/yale-smart-alarm-client/tree/v0.1.6
Related issue (if applicable): fixes #19246
Checklist:

[ x ] The code change is tested and works locally.
[ x ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[ x ] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ N/A ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ x ] New dependencies have been added to the REQUIREMENTS variable ([example][ex-requir]).
[ x ] New dependencies are only imported inside functions that use them ([example][ex-import]).
[ x ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ N/A ] New files were added to .coveragerc.

If the code does not interact with devices:

[ N/A ] Tests have been added to verify that the new code works.

Thanks everyone who was involved in this fix. Can we get a patch release soon so I can use it on Hass.io? Thanks 👍

source: gharchive/pull-request

authors: domwillcode violuke


text:
Fix neato device info

Breaking Change:
Maybe there are some minor changes since we use other sources to fill in device_info. But I can't imagine a use-case that could be broken by this change.
Description:
An endpoint of neao's API broke some time ago. There is a workaround where the error is caught (#29156). Now we use a different endpoint to fetch device information. We are now using get_general_info() instead of get_robot_info() as the last one is intended for debugging purposes.
Please include this in the next release once it has been accepted.
Related issue (if applicable): fixes #29239
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

I've tagged this for 0.103.0. Please remove this tag again, if this is not allowed.


text:
KNX light

Description:
Light device for the KNX component.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2534
Example entry for configuration.yaml (if applicable):
light:
  - platform: knx
    name: Kitchen light
    address: 0/0/18

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

Hi @onsmam,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

Good to see this. Next step would be to add dimming functionality. Right now its just offering the functionality of a switch.
@onsmam Will you work on this? Some users already requested it, but I don't have a dimmer here.

it is indeed just a copy of a switch, but now you can also have a light indicator.
ive tryes to put something together but all of it is not working...
i have to litte knowledge of this language to put it together...
maybe you could help @open-homeautomation?
what would you need from the dimmer? the byte 1 value to get a value reading?

i found this on the internet, we could try tis.....:
Click


text:
Video streaming does not work on RP3

I have 2 cameras. One v4l2 second RTSP. From both I get pictures, but when it comes to the stream I see this:
[7/12/2020, 11:03:20] [Camera ffmpeg] Starting MyHallCam video stream (1280x720, 30 fps, 299 kbps, 1316 mtu)...debug enabled
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG command: ffmpeg -f v4l2 -re -i /dev/video0 -map 0:0 -vcodec h264_omx -pix_fmt yuv420p -r 30 -f rawvideo -preset ultrafast -tune zerolatency -vf scale=1280:720 -b:v 299k -bufsize 598k -maxrate 299k -payload_type 99 -ssrc 10056384 -f rtp -srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params xYPwuqCFE6uW3D/oJPfnihjnXV74sK8LTpvWYJSI srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316 -loglevel debug
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG: received first frame
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG: ffmpeg version 4.2.2-d1e8be3 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
  configuration: --pkgconfigdir=/build/workspace/lib/pkgconfig --prefix=/build/workspace --pkg-config-flags=--static --extra-cflags=-I/build/workspace/include --extra-ldflags=-L/build/workspace/lib --extra-libs='-lpthread -lm' --enable-static --disable-debug --disable-shared --disable-ffplay --disable-doc --enable-openssl --enable-gpl --enable-version3 --enable-nonfree --enable-pthreads --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-runtime-cpudetect --enable-libfdk-aac --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-decoder=h264 --enable-network --enable-protocol=tcp --enable-libspeex --enable-demuxer=rtsp --enable-omx-rpi --enable-mmal --enable-indev=alsa --enable-outdev=alsa

[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:   libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Splitting the commandline.
Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'.
Reading option '-re' ... matched as option 're' (read input at native frame rate) with argument '1'.
Reading option '-i' ... matched as input url with argument '/dev/video0'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0:0'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'h264_omx'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv420p'.
Reading option '-r' ... matched as option 'r' (set frame rate (Hz value, fraction or abbreviation)) with argument '30'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rawvideo'.
Reading option '-preset' ... matched as AVOption 'preset' with argument 'ultrafast'.
Reading option '-tune' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'tune' with argument 'zerolatency'.
Reading option '-vf' ... matched as option 'vf' (set video filters) with argument 'scale=1280:720'.
Reading option '-b:v' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '299k'.
Reading option '-bufsize' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'bufsize' with argument '598k'.
Reading option '-maxrate' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'maxrate' with argument '299k'.
Reading option '-payload_type' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'payload_type' with argument '99'.
Reading option '-ssrc' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'ssrc' with argument '10056384'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'rtp'.
Reading option '-srtp_out_suite' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'srtp_out_suite' with argument 'AES_CM_128_HMAC_SHA1_80'.
Reading option '-srtp_out_params' ...
[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG:  matched as AVOption 'srtp_out_params' with argument 'xYPwuqCFE6uW3D/oJPfnihjnXV74sK8LTpvWYJSI'.
Reading option 'srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316' ... matched as output url.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.

[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG: Parsing a group of options: input url /dev/video0.
Applying option f (force format) with argument v4l2.
Applying option re (read input at native frame rate) with argument 1.
Successfully parsed a group of options.
Opening an input file: /dev/video0.

[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG: [video4linux2,v4l2 @ 0x2e09f40] fd:3 capabilities:84a00001
[video4linux2,v4l2 @ 0x2e09f40] Current input_channel: 0, input_name: Camera 1, input_std: 0
[video4linux2,v4l2 @ 0x2e09f40] Querying the device for the current frame size

[7/12/2020, 11:03:20] [Camera ffmpeg] FFMPEG: [video4linux2,v4l2 @ 0x2e09f40] Setting frame size to 1280x720
[video4linux2,v4l2 @ 0x2e09f40] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559
[video4linux2,v4l2 @ 0x2e09f40] Trying to set codec:rawvideo pix_fmt:yuv420p
[video4linux2,v4l2 @ 0x2e09f40] The V4L2 driver changed the pixel format from 0x32315559 to 0x56595559
[video4linux2,v4l2 @ 0x2e09f40] Trying to set codec:rawvideo pix_fmt:yuv420p
[video4linux2,v4l2 @ 0x2e09f40] The V4L2 driver changed the pixel format from 0x32315659 to 0x56595559
[video4linux2,v4l2 @ 0x2e09f40] Trying to set codec:rawvideo pix_fmt:yuv422p
[video4linux2,v4l2 @ 0x2e09f40] The V4L2 driver changed the pixel format from 0x50323234 to 0x56595559
[video4linux2,v4l2 @ 0x2e09f40] Trying to set codec:rawvideo pix_fmt:yuyv422

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [video4linux2,v4l2 @ 0x2e09f40] All info found

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 602105.046044, bitrate: 147456 kb/s
    Stream #0:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 1280x720, 0/1, 147456 kb/s, 10 fps, 10 tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
Parsing a group of options: output url srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316.
Applying option map (set input stream mapping) with argument 0:0.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument h264_omx.
Applying option pix_fmt (set pixel format) with argument yuv420p.
Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
Applying option f (force format) with argument rawvideo.
Applying option vf (set video filters) with argument scale=1280:720.
Applying option b:v (video bitrate (please use -b:v)) with argument 299k.
Applying option f (force format) with argument rtp.
Successfully parsed a group of options.
Opening an output file: srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316.

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: Codec AVOption preset (Set the encoding preset (cf. x264 --fullhelp)) specified for output file #0 (srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: Codec AVOption tune (Tune the encoding to a specific scenario) specified for output file #0 (srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316) has not been used for any stream. The most likely reason is either wrong type (e.g. a video option with no video streams) or that it is a private option of some encoder which was not actually used for any stream.

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [srtp @ 0x2e0ed80] No default whitelist set
[rtp @ 0x2e11320] No default whitelist set
[udp @ 0x2e11790] No default whitelist set
[udp @ 0x2e21af0] No default whitelist set
Successfully opened the file.

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (h264_omx))
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:0 i_done:0 finish:0] (this is harmless if it occurs once at the start per stream)
[rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560
detected 4 logical cores
[Parsed_scale_0 @ 0x2e33850] Setting 'w' to value '1280'
[Parsed_scale_0 @ 0x2e33850] Setting 'h' to value '720'
[Parsed_scale_0 @ 0x2e33850] Setting 'flags' to value 'bicubic'
[Parsed_scale_0 @ 0x2e33850] w:1280 h:720 flags:'bicubic' interl:0

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [graph 0 input from stream 0:0 @ 0x2e33d80] Setting 'video_size' to value '1280x720'
[graph 0 input from stream 0:0 @ 0x2e33d80] Setting 'pix_fmt' to value '1'
[graph 0 input from stream 0:0 @ 0x2e33d80] Setting 'time_base' to value '1/1000000'
[graph 0 input from stream 0:0 @ 0x2e33d80] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:0 @ 0x2e33d80] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0x2e33d80] Setting 'frame_rate' to value '10/1'
[graph 0 input from stream 0:0 @ 0x2e33d80] w:1280 h:720 pixfmt:yuyv422 tb:1/1000000 fr:10/1 sar:0/1 sws_param:flags=2
[format @ 0x2e34750] Setting 'pix_fmts' to value 'yuv420p'
[AVFilterGraph @ 0x2e33270] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [Parsed_scale_0 @ 0x2e33850] w:1280 h:720 fmt:yuyv422 sar:0/1 -> w:1280 h:720 fmt:yuv420p sar:0/1 flags:0x4

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [h264_omx @ 0x2e0e0c0] Using OMX.broadcom.video_encode

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [h264_omx @ 0x2e0e0c0] OMX state changed to 2

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [h264_omx @ 0x2e0e0c0] OMX state changed to 3
[h264_omx @ 0x2e0e0c0] OMX port 201 settings changed
Output #0, rtp, to 'srtp://192.168.1.190:56279?rtcpport=56279&localrtcpport=56279&pkt_size=1316':
  Metadata:
    encoder         : Lavf58.29.100

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG:     Stream #0:0, 0, 1/90000: Video: h264 (h264_omx), 1 reference frame, yuv420p, 1280x720, 0/1, q=2-31, 299 kb/s, 30 fps, 90k tbn, 30 tbc
    Metadata:
      encoder         : Lavc58.54.100 h264_omx
Clipping frame in rate conversion by 0.000008

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 7 of len 14 M=0
[rtp @ 0x2e0cc50] Sending NAL 8 of len 5 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: *** 3 dup!

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 5 of len 1172 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 252 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 58 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 1761 M=1
[rtp @ 0x2e0cc50] NAL size 1761 > 1290

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 117 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 32 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 72 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 810 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 63 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 176 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 865 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 268 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: frame=   14 fps=0.0 q=-0.0 size=       6kB time=00:00:00.36 bitrate= 128.0kbits/s dup=9 drop=0 speed=0.723x
[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 5 of len 1782 M=1
[rtp @ 0x2e0cc50] NAL size 1782 > 1290

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 365 M=1

[7/12/2020, 11:03:21] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 78 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560
*** 2 dup!
[rtp @ 0x2e0cc50] Sending NAL 1 of len 76 M=1
[rtp @ 0x2e0cc50] Sending NAL 1 of len 769 M=1
[rtp @ 0x2e0cc50] Sending NAL 1 of len 236 M=1
[rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560
*** 2 dup!
[rtp @ 0x2e0cc50] Sending NAL 1 of len 308 M=1
[rtp @ 0x2e0cc50] Sending NAL 1 of len 1335 M=1
[rtp @ 0x2e0cc50] NAL size 1335 > 1290
[rtp @ 0x2e0cc50] Sending NAL 1 of len 502 M=1
[rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560
*** 2 dup!
[rtp @ 0x2e0cc50] Sending NAL 1 of len 3162 M=1
[rtp @ 0x2e0cc50] NAL size 3162 > 1290
[rtp @ 0x2e0cc50] Sending NAL 1 of len 316 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 51 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560
*** 2 dup!
[rtp @ 0x2e0cc50] Sending NAL 5 of len 3019 M=1
[rtp @ 0x2e0cc50] NAL size 3019 > 1290
[rtp @ 0x2e0cc50] Sending NAL 1 of len 545 M=1
[rtp @ 0x2e0cc50] Sending NAL 1 of len 179 M=1
[rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 256086 bitrate= 174.1kbits/s dup=19 drop=0 speed=0.857x
*** 5 dup!
[rtp @ 0x2e0cc50] Sending NAL 1 of len 224 M=1
[rtp @ 0x2e0cc50] Sending NAL 1 of len 1091 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 432 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 183 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 44 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 34 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 3961 M=1
[rtp @ 0x2e0cc50] NAL size 3961 > 1290

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 399 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 69 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 5 of len 4252 M=1
[rtp @ 0x2e0cc50] NAL size 4252 > 1290

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 827 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 325 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 4544 M=1
[rtp @ 0x2e0cc50] NAL size 4544 > 1290

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 408 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 187 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: frame=   44 fps= 29 q=-0.0 size=      35kB time=00:00:01.36 bitrate= 211.6kbits/s dup=30 drop=0 speed=0.899x
[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 610 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 933 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 136 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: *** 2 dup!

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 711 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 1687 M=1
[rtp @ 0x2e0cc50] NAL size 1687 > 1290

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rtp @ 0x2e0cc50] Sending NAL 1 of len 370 M=1

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x2e0c6a0] PACKET SIZE: 1843200, STRIDE: 2560

[7/12/2020, 11:03:22] [Camera ffmpeg] FFMPEG: *** 2 dup!

Homebridge Config:
"cameras": [
                {
                    "name": "MyHallCam",
                    "videoConfig": {
                        "source": "-f v4l2 -re -i /dev/video0",
                        "stillImageSource":"-f v4l2 -re -video_size 1280x720 -i /dev/video0 -vframes 1 -r 1",
                        "maxStreams": 2,
                        "maxFPS": 30,
                        "vcodec": "h264_omx",
                        "maxWidth":1280,
                        "maxHeight":720,
                        "debug": true
                    }
                },
                {
                    "name": "Dafang",
                    "videoConfig":{
                        "source":"-re -i rtsp://192.168.1.86:8554/unicast",
                        "stillImageSource":"-re -i rtsp://192.168.1.86:8554/unicast -vframes 1 -r 1",
                        "maxStreams":2,
                        "maxWidth":1280,
                        "maxHeight":720,
                        "maxFPS":25,
                        "vcodec":"h264_omx",
                        "debug":true
                     }
                }
            ]

In first version homebridge-camera-ffmpeg, everything worked with this config.
Environment:

Node.js Version: v12.18.0
Homebridge Version:1.1.1
Homebridge Camera FFmpeg Version:2.2.1
Operating System:Raspbian buster

Interesting, because your setup is very similar to mine, I also have a Dafang Hacks camera and a V4L2 webcam running through this plugin, and they're working for me.
Are you on the beta version of iOS by any chance? I've been seeing some reports that video seems to be flaky for some people in the current beta (though, it does work for me).

In first version homebridge-camera-ffmpeg, everything worked with this config.

Does this mean that it was working for you in the 1.x versions of this plugin?

In first version homebridge-camera-ffmpeg, everything worked with this config.

Does this mean that it was working for you in the 1.x versions of this plugin?

Yes.

Interesting, because your setup is very similar to mine, I also have a Dafang Hacks camera and a V4L2 webcam running through this plugin, and they're working for me.
Are you on the beta version of iOS by any chance? I've been seeing some reports that video seems to be flaky for some people in the current beta (though, it does work for me).

iOS 13.5.1 and MacOS 10.14.6
It seems that the stream from the camera is being read correctly and the error occurs when it is transferred to the apple device.

I’ll take a look at the older code, I didn’t think they were calling FFmpeg any differently though.

Interesting, because your setup is very similar to mine, I also have a Dafang Hacks camera and a V4L2 webcam running through this plugin, and they're working for me.
Are you on the beta version of iOS by any chance? I've been seeing some reports that video seems to be flaky for some people in the current beta (though, it does work for me).

Could you show me your config?

Sure thing, here you go:

        {
            "cameras": [
                {
                    "name": "Cat Food Camera",
                    "manufacturer": "Wyze Labs, Inc.",
                    "model": "Cam v2",
                    "serialNumber": "00010/02520869",
                    "motion": true,
                    "motionTimeout": -1,
                    "videoConfig": {
                        "source": "-fflags +discardcorrupt -i rtsp://10.0.1.89:8554/unicast",
                        "stillImageSource": "-i https://username:password@10.0.1.89/cgi-bin/currentpic.cgi",
                        "maxStreams": 2,
                        "vcodec": "copy",
                        "packetSize": 564,
                        "audio": true,
                        "debug": false
                    }
                },
                {
                    "name": "Basement Camera",
                    "manufacturer": "Logitech, Inc.",
                    "model": "HD Pro Webcam C920",
                    "serialNumber": "F3CFB4DF",
                    "videoConfig": {
                        "vcodec": "h264_omx",
                        "audio": true,
                        "packetSize": 564,
                        "maxStreams": 1,
                        "mapaudio": "1:0",
                        "source": "-f video4linux2 -input_format yuyv422 -framerate 10 -video_size 1280x720 -i /dev/video0 -f alsa -ac 2 -i hw:CARD=C920,DEV=0",
                        "stillImageSource": "-f video4linux2 -input_format yuyv422 -i /dev/video0"
                    }
                }
            ],
            "platform": "Camera-ffmpeg"
        }

Sure thing, here you go:

        {
            "cameras": [
                {
                    "name": "Cat Food Camera",
                    "manufacturer": "Wyze Labs, Inc.",
                    "model": "Cam v2",
                    "serialNumber": "00010/02520869",
                    "motion": true,
                    "motionTimeout": -1,
                    "videoConfig": {
                        "source": "-fflags +discardcorrupt -i rtsp://10.0.1.89:8554/unicast",
                        "stillImageSource": "-i https://username:password@10.0.1.89/cgi-bin/currentpic.cgi",
                        "maxStreams": 2,
                        "vcodec": "copy",
                        "packetSize": 564,
                        "audio": true,
                        "debug": false
                    }
                },
                {
                    "name": "Basement Camera",
                    "manufacturer": "Logitech, Inc.",
                    "model": "HD Pro Webcam C920",
                    "serialNumber": "F3CFB4DF",
                    "videoConfig": {
                        "vcodec": "h264_omx",
                        "audio": true,
                        "packetSize": 564,
                        "maxStreams": 1,
                        "mapaudio": "1:0",
                        "source": "-f video4linux2 -input_format yuyv422 -framerate 10 -video_size 1280x720 -i /dev/video0 -f alsa -ac 2 -i hw:CARD=C920,DEV=0",
                        "stillImageSource": "-f video4linux2 -input_format yuyv422 -i /dev/video0"
                    }
                }
            ],
            "platform": "Camera-ffmpeg"
        }

still got
[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x3c4dcf0] PACKET SIZE: 1843200, STRIDE: 2560

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: Clipping frame in rate conversion by 0.009850

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rtp @ 0x3c5b200] Sending NAL 1 of len 3334 M=1
[rtp @ 0x3c5b200] NAL size 3334 > 538

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x3c4dcf0] PACKET SIZE: 1843200, STRIDE: 2560

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: Clipping frame in rate conversion by 0.009834

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rtp @ 0x3c5b200] Sending NAL 1 of len 3266 M=1
[rtp @ 0x3c5b200] NAL size 3266 > 538

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: frame=  289 fps= 10 q=-0.0 size=    1077kB time=00:00:28.63 bitrate= 308.2kbits/s dup=8 drop=0 speed=0.996x
[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x3c4dcf0] PACKET SIZE: 1843200, STRIDE: 2560

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: Clipping frame in rate conversion by 0.009987

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rtp @ 0x3c5b200] Sending NAL 1 of len 3245 M=1
[rtp @ 0x3c5b200] NAL size 3245 > 538

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x3c4dcf0] PACKET SIZE: 1843200, STRIDE: 2560

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: Clipping frame in rate conversion by 0.009636

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rtp @ 0x3c5b200] Sending NAL 5 of len 16548 M=1
[rtp @ 0x3c5b200] NAL size 16548 > 538

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rawvideo @ 0x3c4dcf0] PACKET SIZE: 1843200, STRIDE: 2560

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: Clipping frame in rate conversion by 0.009850

[7/13/2020, 15:20:43] [Camera ffmpeg] FFMPEG: [rtp @ 0x3c5b200] Sending NAL 1 of len 3015 M=1

Man, it really does act like it is doing everything correctly. Couple complete shots in the dark:

Are you using the bundled version of ffmpeg? If not, what version are you running?
Does whatever computer you are running Homebridge on have multiple network interfaces?

Man, it really does act like it is doing everything correctly. Couple complete shots in the dark:

Are you using the bundled version of ffmpeg? If not, what version are you running?
Does whatever computer you are running Homebridge on have multiple network interfaces?

I am using bundled version of ffmpeg.
I have computer running Homebridge on have multiple network interfaces. (two)

Okay, I think that's the root of your problem, HomeKit really wants to see the video stream on the interface it asked on, but ffmpeg has no idea which it is, so it just grabs whichever. I'm pretty sure it's grabbing the wrong one.
Fortunately, there is a solution. If you add the interfaceName option to your config, I think that should get you working.
{
  "platform": "Camera-ffmpeg",
  "interfaceName": "eth0",
  "cameras": [
    ...
  ]
}

I just noticed this option is not available in the configuration UI for some reason, but I'll make a tweak to add that shortly, so right now the only option is to add it manually.

Okay, the reason it was missing from the configuration UI is because the functionality was dropped in version 2.0.0 for some reason. I just pushed out version 2.2.2 to add that functionality back in (and also add it to the UI). Give that setting a shot and see if it resolves your issue.

Okay, the reason it was missing from the configuration UI is because the functionality was dropped in version 2.0.0 for some reason. I just pushed out version 2.2.2 to add that functionality back in (and also add it to the UI). Give that setting a shot and see if it resolves your issue.

Thanks, it all worked! And special thanks for the config, I did not understand how to make the sound work.

@guinmoon Glad I could help get this working for you.

authors: Sunoo guinmoon


text:
Feature/66958 weighted checkbox issingle

QA Bug _ Weighted Checkbox question _Is single within a group option is not working as expected

targeted wrong branch

repo: homesengland/he-pipeline-assessment

license: MIT


text:
重置路由时，需要刷新下页面，不然不会跳转到登录页面

问题：
刷新token 接口失效的话，跳转不到登录页面，会直接跳转到 404
复现：
登录后，使token,refreshToken 都过期
原因：
当 token 失效时，会刷新 token。如果都失效的话，会跳转到登录页面，重置auth状态。src\store\modules\auth\index.ts 里面 resetAuthStore 函数
解决方法：
需要在 src\store\modules\route\index.ts 里  resetRouteStore 函数中加上刷新页面语句，如 router.go(0);
  /** 重置路由的store */
    resetRouteStore() {
      this.resetRoutes();
      this.$reset();
      // 刷新页面，不然不会加载
      router.go(0);
    },

这样又会导致在退出登录的时候刷新下页面，

已修复

authors: honghuangdc noobHuKai

repo: honghuangdc/soybean-admin


text:
Rate-limiting middleware & Helmet

Rate-limiting and helmet middlewares would really be the cherries on top in terms of the built-in middleware. It would also be interesting if the rate-limiting middleware could natively support Redis stores for the storage of IP addresses.

Rate limiting middleware requires a storage (cloudflare KV, Redis, etc), so middleware's options have to expose the store configuration for customization.

For Deno at least, we could use the example provided by oak_rate_limit.

How would we get the client IP? Cloudflare is guaranteed to have the CF-Connecting-IP; but what about deno and bun?

A simple storage to implement would be in-memory storage, this would work for Cloudflare Workers as well (downsides are that the rate limit will be per-worker and that for long rate-limit windows there is a big chance the worker will be evicted, thus starting from scratch). I'm thinking it would be ideal to implement a couple of basic stores (memory, cloudflare kv, redis) and also let the user specify a custom store by passing their own get and put functions in the config object. Maybe even durable object (might be cheaper than KV)?
What do you think @metrue @yusukebe ?

Hi @Weilbyte !

I'm thinking it would be ideal to implement a couple of basic stores (memory, cloudflare kv, redis) and also let the user specify a custom store by passing their own get and put functions in the config object.

This is a very good idea!
Since Hono is used on a variety of platforms, it is great that users can choose their favorite storage options. For Cloudflare Workers, I think Durable Objects is better, but I haven't tried it yet.

Durable objects is definitely better as it is consistent kv is eventually consistent so not idea for rate limiting, especially with short windows.

@OultimoCoder I see, are there any limitations for DO compared to KV?

Max out at 100 requests a second per object but for a rate limiter you should be instantiating 1 object per ip/user and only really limit endpoints that could be abused like email endpoints.
See my implementation here:
https://github.com/OultimoCoder/cloudflare-planetscale-hono-boilerplate

Would love to see this!

I am currently looking into how to transform node-rate-limiter-flexible for hono as a middleware.
node-rate-limiter-flexible

That would be cool!

Here is an example of a middleware wrapping around rate limiter. Please share your thoughts.
import { RateLimiterMemory } from 'rate-limiter-flexible'

const rateLimiter = new RateLimiterMemory({
    points: 100,
    duration: 100,
})

app.use('*', async (c, next) => {
    const ip = c.req.headers.get('x-forwarded-for')
    if (!ip) {
        return next()
    }
    try {
        await rateLimiter.consume(ip)
    } catch (e) {
        return c.text(
            'Too many requests',
            429,
        )
    }
    await next()
})

Very nice, how/where are the ip's saved?

Please look up the alle possibilities in the rate limiter documentation. This one is using memory of the instance.

Nice! Any ETA for the package? 😄

I think there is no need for an extra package and this issue can be closed. Example https://github.com/honojs/hono/issues/346#issuecomment-1699193147 shows how to use any rate limiter.

authors: JustJoostNL OultimoCoder RobertSasak Weilbyte cursecodes ethndotsh metrue yusukebe

repo: honojs/hono


text:
refactor: pull out .length from for loop

On something like the router, the smallest improvement makes a difference.
https://dev.to/siddiqus/which-for-loop-is-the-fastest-in-javascript-4hdf

Hi @movahhedi
These are the same behavior. It does not calculate the length every time in the current code.

Oh my God, my eyes don't seem to see any more. 🤦♂
I was looking at it in the GitHub web code viewer.
Sorry for the waste of time.

@movahhedi No problem!!

authors: movahhedi yusukebe


text:
fix(validator): fix subsequent nested objects names

fix the bug of having subsequent objects inside a nested structure causing the validator to forget the previous keys in the scheme's path
fixes point 1 of #677

Hi @dario-piotrowicz !
Almost done. There is one thing I would like you to do. Run yarn denoify and commit & push the generated code. The files are used for Deno.

Hi @dario-piotrowicz !
Almost done. There is one thing I would like you to do. Run yarn denoify and commit & push the generated code. The files are used for Deno.

Awesome thanks :smile:
Done :slightly_smiling_face::+1:

Thanks! I'll merge it!

authors: dario-piotrowicz yusukebe


text:
🛑 FWAw is down

In 27c2c78, FWAw ($FWA_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FWAw is back up in e3f134d after 18 minutes.

repo: hoopybe/uptime


text:
🛑 TPB is down

In 22d7037, TPB ($TPB_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TPB is back up in a37dd72.


text:
🛑 FWAw is down

In ede4e5e, FWAw ($FWA_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FWAw is back up in 25c7de8 after 12 minutes.


text:
🛑 FWAw is down

In d67d65b, FWAw ($FWA_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FWAw is back up in 76b0401 after 12 minutes.


text:
[HOPS-305],  [HOPS-306],  [HOPS-307],  [HOPS-308],  [HOPS-309],  [HOPS-310], [HOPS-311], [HOPS-312], [HOPS-313], [HOPS-314], [HOPS-315], [HOPS-316], [HOPS-317], [HOPS-318] and [HOPS-319]

Make sure there is no duplicate PR for this issue

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added and passed (for bug fixes / features)
[x] HOPS JIRA issue has been opened for this PR
[ ] All commits have been squashed down to a single commit
[x] The commit message has the following format: [HOPS-XXX] message

Post a link to the associated JIRA issue
https://hopshadoop.atlassian.net/browse/HOPS-305
https://hopshadoop.atlassian.net/browse/HOPS-306
https://hopshadoop.atlassian.net/browse/HOPS-307
https://hopshadoop.atlassian.net/browse/HOPS-308
https://hopshadoop.atlassian.net/browse/HOPS-309
https://hopshadoop.atlassian.net/browse/HOPS-310
https://hopshadoop.atlassian.net/browse/HOPS-311
https://hopshadoop.atlassian.net/browse/HOPS-312
https://hopshadoop.atlassian.net/browse/HOPS-313
https://hopshadoop.atlassian.net/browse/HOPS-314
https://hopshadoop.atlassian.net/browse/HOPS-315
https://hopshadoop.atlassian.net/browse/HOPS-316
https://hopshadoop.atlassian.net/browse/HOPS-317
https://hopshadoop.atlassian.net/browse/HOPS-318
https://hopshadoop.atlassian.net/browse/HOPS-319

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:
Depends on hopshadoop/hops-metadata-dal#107 and hopshadoop/hops-metadata-dal-impl-ndb#133

Jenkins test this please.

repo: hopshadoop/hops

license_source: bigquery


text:
New adresse de contact Pour HORIZON EFREI

Pour quelle partie de l'infrastructure souhaitez-vous proposer une suggestion ?
Site Web
Votre idée
Inclure dans les contacts l'adresse de contact d'HORIZON EFREI contact@horizon-efrei.fr.
Autre contexte
No response

L'adresse dev@horizon-efrei.fr est déjà présente - une adresse contact@horizon-efrei.fr serait redondante (et trop longue pour s'insérer dans le front-end actuel)
Il est possible que dev@horizon-efrei.fr puisse laisser penser que le mail concerne seulement le dév, mais en vérité il est de base très peu probable que quiconque passe par notre adresse mail pour nous contacter (à part pour des sujets de dév)

authors: gtedavid iv-stpn

repo: horizon-efrei/HorizonWeb


text:
Up:dict_TR.po

Hello @horsicq
I have updated Turkish translations; here are some notes:

I have changedAnalyze to Analiz Et because it is a verb.
The word Analysis has just added and its meaning is: Analiz in Turkish
The word List has just added. This word is both verb and name, I have left is as a name: Liste. If you use it as a verb like in the meaning of make a list, i should change it.
We can translate the word Template both Taslak and Şablon. In our context Şablon is more accurate, IMO.
Unfortunately we do not have a full translation for the word Unpack. It is a verb; so I have left it as Unpack et. Because we generally use like this.
The word Width both means En and Genişlik. They are synonyms. I prefer En because it has two letter. Lesser is better right :D

Cya =)

Thank you! :)

authors: blue-devil horsicq

repo: horsicq/XTranslation


text:
CB-19544 Define API endpoints on periscope to retrieve info about scaling invocations for each cluster

Unit tests for the endpoints are left. I will update it.

See detailed description in the commit message.

Seeing some rebase issues

repo: hortonworks/cloudbreak


text:
CDPD-3127 Update OpDB blueprints and add first cluster template

This reverts commit bd8c3685f6bd419bdddcd00435cf3b705cbc93b2.
Revert the first revert (re-apply the original) with some modifications.
@lnardai @daszabo trying a re-apply of the same template from over the weekend which broke things. Best as I can tell, the distroXTemplate attribute was the only thing missing, but, for the life of me, I can't seem to figure out a way to validate before asking you all to review it. Sorry :(

Ok! Pushed a change for that type:OTHER


text:
Have fluentd pick-up autossh logs

Add config change to have fluentd pick-up autossh logs from /var/log/autossh-*.log.

is this needed for 2.14 release? then this can go into rc-2.14 branch instead of master (then we will merge this to master from there)

is this needed for 2.14 release? then this can go into rc-2.14 branch instead of master (then we will merge this to master from there)

@jadair-cloudera  do you know? I'm not familiar with cloudbreak's release schedule

@chi42 2.14 is the next release (October?). the release will happen based on rc-2.14 branch. if it goes only into master, that will be included in 2.15 release

Ah I see. Then yes, 2.14 release. thanks @oleewere

@chi42 , can you send this patch against rc-2.14 branch (cherry-pick this for rc-2.14 branch)


text:
Question: Internal http access not working

Hi,
very nice implementation! I have a question how can I use an internal connection without https. I dont want to make the homeassistant instance accessible from the internet. The clock only needs the internal connection via http. At the moment that does not seem to work. This is true for the api as well as the Menu.json file.
Cheers Jan

Hi @janlang,
Due to limitations of the ConnectIQ SDK, we cannot offer support for HTTP in the app.
Documentation

It is important to note that your Home Assistant instance will need to be accessible via HTTPS with public SSL or all requests from the Garmin will not work. This cannot be a self-signed certificate, it must be a public certificate. You can get one for free from Let's Encrypt or you can pay for Home Assistant cloud. (You can install a local Nginx proxy server to manage Let's Encrypt certificates.)

.. Joseph

You can do (almost) the same as we have done in our Trouble Shooting guide. Create a proxy that forwards HTTPS to Home Assistant HTTP. If you use Nginx as the web server you can then use Let's Encrypt for free certificates. Next you need to make sure that the hostname in the certificate can be resolved locally. E.g. adding ther hostname to your local DNS.
I am aware that another user has done something similar and got it working. See the end of this conversation trail.

Ah, I was not aware of the ConnectIQ SDK limitation. The trouble shooting thing I have seen. I hoped that there is an easier solution. Thanks for the answers!

authors: JosephAbbey janlang philipabbey

repo: house-of-abbey/GarminHomeAssistant


text:
[Bug]: Features page covers more than features

Version

[X] I'm using version 1.7.0

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

What operating system are you using?
Windows
Operating System Version
Windows 10
Reproduction steps
This does not report a behavioral bug.
Expected Behavior
This does not report a behavioral bug.
Actual Behavior
This does not report a behavioral bug.
Relevant log output
No response
Preferences
No response
Additional information
The Features page of Stretchly's website covers features, but also contains considerable offtopic content, including at least the Contributors, Humans and Tools and License sections.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

How would you solve it? I pretty much copied the contents of Readme from Girhub

Right :-/
I guess the strategy's first step could be to identify all content which is out of place and start with the easy parts.
The Development section could move to a new page titled Development. That page could include the Development and Contributors section (as well as the contents currently in the Report an issue page, if you want to keep navigation minimal).
The Humans and Tools section could first be structured, cleaned up and formatted before determining what should go where, but much can visibly move to the Research page. As for License (and probably Default behavior), it could probably stay there given a wider title (perhaps Description).

I've simply renamed it to "About". It's much more easier to maintain everything for me if it's on single page and same as Readme.

authors: Chealer hovancik

repo: hovancik/stretchly


text:
🛑 Git 系統 is down

In b2bc97e, Git 系統 (https://git.hwtw.cc) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 主頁 is back up in c979449 after 7 minutes.

repo: hpware/upptime


text:
My custom Vsnip completion mapping function no longer works since commit db261b4

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
Plug 'hrsh7th/cmp-vsnip'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true })
  },

  sources = cmp.config.sources({
    { name = "nvim_lsp" },
    { name = "buffer" },
  }),
}
EOF

function! VsnipComplete() abort
    let l:word_to_complete = matchstr(strpart(getline('.'), 0, col('.') - 1), '\S\+$')
    let l:contain_word = 'stridx(v:val.word, l:word_to_complete) >= 0'
    let l:candidates = vsnip#get_complete_items(bufnr('%'))
    let l:candidates = map(filter(l:candidates, l:contain_word),
                  \  "{
                  \      'word': v:val.word,
                  \      'menu': v:val.kind,
                  \      'dup' : 1,
                  \   }")
    let l:from_where = col('.') - len(l:word_to_complete)
    if !empty(l:candidates)
        call complete(l:from_where, l:candidates)
    endif

    return ''
endfunction

inoremap <silent> <C-s> <C-r>=VsnipComplete()<CR>

Description
Ever since commit db261b4 my custom <C-s> mapping no longer works.
Note, this is the same mapping that was provided in this Reddit post.
It appears the native popup menu quickly appears, then disappears (I think).
Steps to reproduce
Open a file with some vsnip snippets and then hit <Control-s> whilst in insert mode. Notice, no completion menu.
Now do the same with commit 27bc575. Notice, the completion menu appears (with snippets).
Expected behavior
Native completion menu should appear.
Actual behavior
Native completion does not appear (or is immediately closed).
Additional context
Hopefully it is just a simple tweak to the VsnipComplete function.

Ok @hrsh7th, thanks for that.
Hopefully you find a longer-term fix.
Best regards.