Code: Select all
markus@ha01:/home/homeassistant$ sudo journalctl -f -u home-assistant@homeassistant | grep -i 'spc'
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 INFO (MainThread) [homeassistant.loader] Loaded spc from homeassistant.components.spc
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 INFO (MainThread) [homeassistant.setup] Setting up spc
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 DEBUG (MainThread) [homeassistant.components.spc] Attempting to retrieve SPC data from http://192.168.0.109:8088/spc/zone
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 DEBUG (MainThread) [homeassistant.components.spc] Data from SPC: {'status': 'success', 'data': {'zone': [{'id': '9', 'type': '1', 'zone_name': 'Entry Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '10', 'type': '0', 'zone_name': 'Livingroom Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '11', 'type': '0', 'zone_name': 'Sliding Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '12', 'type': '0', 'zone_name': 'Gym Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '13', 'type': '3', 'zone_name': 'Smoke Loft', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '14', 'type': '3', 'zone_name': 'Smoke Cinema', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '15', 'type': '0', 'zone_name': 'PIR Cinema', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '16', 'type': '0', 'zone_name': 'PIR Gym', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '17', 'type': '0', 'zone_name': 'PIR Hallway', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '18', 'type': '0', 'zone_name': 'PIR Livingroom', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '19', 'type': '3', 'zone_name': 'Smoke Washingroo', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '20', 'type': '3', 'zone_name': 'Smoke Bedroom', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}]}}
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 DEBUG (MainThread) [homeassistant.components.spc] Attempting to retrieve SPC data from http://192.168.0.109:8088/spc/area
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 ERROR (MainThread) [homeassistant.setup] Error during setup of component spc
Aug 05 11:56:46 ha01 hass[19468]: File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/spc.py", line 64, in async_setup
Aug 05 11:56:46 ha01 hass[19468]: File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/spc.py", line 180, in get_areas
Aug 05 11:56:46 ha01 hass[19468]: File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/spc.py", line 200, in _get_data
Aug 05 11:56:46 ha01 hass[19468]: File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/spc.py", line 221, in _call_web_gateway
Aug 05 11:56:46 ha01 hass[19468]: - [spc](https://home-assistant.io/components/spc/)
Aug 05 11:56:46 ha01 hass[19468]: - [spc](https://home-assistant.io/components/spc/)
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 INFO (MainThread) [homeassistant.core] Bus:Handling <Event platform_discovered[L]: service=load_platform.binary_sensor, platform=spc, discovered=devices=[{'id': '9', 'type': '1', 'zone_name': 'Entry Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '10', 'type': '0', 'zone_name': 'Livingroom Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '11', 'type': '0', 'zone_name': 'Sliding Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '12', 'type': '0', 'zone_name': 'Gym Door', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '13', 'type': '3', 'zone_name': 'Smoke Loft', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '14', 'type': '3', 'zone_name': 'Smoke Cinema', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '15', 'type': '0', 'zone_name': 'PIR Cinema', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '16', 'type': '0', 'zone_name': 'PIR Gym', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '17', 'type': '0', 'zone_name': 'PIR Hallway', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '18', 'type': '0', 'zone_name': 'PIR Livingroom', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '19', 'type': '3', 'zone_name': 'Smoke Washingroo', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}, {'id': '20', 'type': '3', 'zone_name': 'Smoke Bedroom', 'area': '1', 'area_name': 'House', 'input': '0', 'logic_input': '0', 'status': '0', 'proc_state': '0', 'inhibit_allowed': '1', 'isolate_allowed': '1'}]>
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor.spc from homeassistant.components.binary_sensor.spc
Aug 05 11:56:46 ha01 hass[19468]: 2018-08-05 11:56:46 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.spc
Aug 05 11:56:48 ha01 hass[19468]: - [spc](https://home-assistant.io/components/spc/)
Aug 05 11:56:49 ha01 hass[19468]: 2018-08-05 11:56:49 DEBUG (MainThread) [homeassistant.components.websocket_api] WS 140394972465192: Sending {'id': 10, 'type': 'result', 'success': True, 'result': {'latitude': 0.0, 'longitude': 0.0, 'elevation': 0, 'unit_system': {'length': 'km', 'mass': 'g', 'temperature': '°C', 'volume': 'L'}, 'location_name': 'Home', 'time_zone': 'UTC', 'components': {'updater', 'automation', 'config.customize', 'websocket_api', 'binary_sensor', 'http', 'introduction', 'config.core', 'config', 'conversation', 'script', 'sensor', 'cloud', 'config.group', 'onboarding', 'frontend', 'logbook', 'api', 'tts', 'recorder', 'logger', 'config.script', 'auth', 'group', 'binary_sensor.spc', 'system_log', 'discovery', 'device_tracker', 'config.entity_registry', 'history', 'config.config_entries', 'zone', 'config.automation', 'map', 'sun'}, 'config_dir': '/home/homeassistant/.homeassistant', 'whitelist_external_dirs': {'/home/homeassistant/.homeassistant/www'}, 'version': '0.75.1'}}
Aug 05 11:56:49 ha01 hass[19468]: 2018-08-05 11:56:49 DEBUG (SyncWorker_10) [homeassistant.util.json] JSON file not found: /srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/binary_sensor/.translations/spc.en.json