I´ve just started to try out this component and it will be very useful for me.
But I still have some questions:
Where is the file that contains entity settings, e.g. where can I change an entity_id to not be hidden (default setting)? Web UI doesn’t seem tho handle this.
How can I reload or update entity_id´s that are automatically imported with his component from SPC? Example: When I first installed this component I had two different areas imported from SPC, now after changing In SPC EDP-settings to exclude one of these Areas it still visible in HA but it doesen´t receive any state changes. I want it to disapear without need to set attribute hidden.
I also have problem with SPC Component configuration.
I get “Invalid config error”
-“The following components and platforms could not be set up:
spc(https://home-assistant.io/components/spc/)
Please check your config.”
Error during setup of component spc
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.py”, line 142, in _async_setup_component
result = await component.async_setup(hass, processed_config)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/spc.py”, line 64, in async_setup
areas = yield from api.get_areas()
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/spc.py”, line 180, in get_areas
return (yield from self._get_data(‘area’))
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/spc.py”, line 205, in _get_data
data = yield from self._call_web_gateway(resource)
File “/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/spc.py”, line 226, in _call_web_gateway
response = yield from action(url)
File “/srv/homeassistant/lib/python3.5/site-packages/aiohttp/client.py”, line 207, in _request
raise RuntimeError(‘Session is closed’)
RuntimeError: Session is closed
Tried your solution of downloading 0.58 and replacing spc.py in the 3 locations.
I’m now seeing this in my log
2018-08-09 10:56:13 WARNING (MainThread) [homeassistant.loader] You are using a custom component for switch.hadockermon which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2018-08-09 10:56:14 ERROR (MainThread) [homeassistant.components.spc] SPC Web Gateway returned http status 401, response .
2018-08-09 10:56:14 ERROR (MainThread) [homeassistant.components.spc] SPC Web Gateway returned http status 401, response .
2018-08-09 10:56:14 ERROR (MainThread) [homeassistant.components.spc] Failed to connect to websocket: Bad status code: 401
2018-08-09 10:56:44 ERROR (MainThread) [homeassistant.components.spc] Failed to connect to websocket: Bad status code: 401
From SPC gateway, my config.xml is: (disabled SSL - not apparent this is required on the HA component page)
I have setup the SPC component, with substitution of 0.58 version and working fine: all binary sensor are loaded and I can activate/deactivate the alarm.
But I have notice that there is no history on binary sensor, is it normal? Why?
Hi
Does anyone know a way to integrate a technical zone as a binary sensor in home assistant?
I’m using Spc web gateway between the alarm panel and my home assistant.
I can only see alarm, entry/exit and fire.
They should show up among the entities, named binary_sensor.zonename upon restart with the new version (but I guess a restart is included in the upgrade process)…
Zonetype “Technical” is a type you can select on an input, like for example Alarm, Fire, or Entry/Exit.
I use it to create some special timer conditions, but I also virtual (supported from spc fw 3.11) Technical zones to track the status of mappingkeys and outputs.
Hi,
I did install HA with the spc web gateway on RBPi4. I can see all my sensors and their status are updating on the fly and appearing in the logbook of HA.
My biggest concern is when I arm or disarm the alarm system, the statuses are sometimes seen by the HA and present in the logbook but most of time not. So if I disarm with HA the alarm system (panelcard) it stays for example armed in HA and nothing is seen in the logbook (but alarm system is really unarmed) This behaviour is also present when arming/disarming from the keypad of the alarm system or apk. HA is not getting the latest alarm status condition.
In the logs of the alarm system, I can see the status changes.
Any suggestions? Can I force HA to retrieve the latest alarm status every x seconds, when I restart HA then it retrieves again the correct value of the alarm system.
Please help, without this I can not configure automations etc…