ok, I will.
Until the next release, please note that hassio 0.84.3 (and very possibly some previous versions) throws the following message:
Ignoring alarm status message, same state
6:01 PM components/alarm_control_panel/satel_integra.py (WARNING)
Ignoring alarm status message, same state
6:01 PM components/alarm_control_panel/satel_integra.py (WARNING)
Ignoring alarm status message, same state
6:01 PM components/alarm_control_panel/satel_integra.py (WARNING)
Ignoring alarm status message, same state
6:01 PM components/alarm_control_panel/satel_integra.py (WARNING)
This come ALL the time in a repeated way.
Any idea why?
I believe that first bullet point is solved in nyxnyx repo (see forks of your repo). āWorks for me ā¢ā
Could you please take a look also on reconnecting? Itās not that often but sometimes HA loses connectivity to Satel and as far as I can tell doesnāt try to reconnect. I need to restart HA to re-establish connection which can be PITA.
Also
Ignoring message: bā\xeeā
is spamming logs. Could you move that to DEBUG level?
TIA
Yes, I have pretty good idea why - Iāve screwed up a bit
The way Satel reports itās āarmedā state casuses multiple notifications about the same state. In the component I thought it shouldnāt happen and Iāve made it a warning.
In fact, this is quite ānormalā behavior.
Can you please raise a bug against it so it doesnāt get forgotten?
Iām planning on working on this component soon enough, and this one is fairly easy to fix.
Thanks!
So the first point has indeed been addressed by nyxnyx, and I have managed to finally get it merged in, so hopefully this issue will go away with the next release.
Regarding reconnecting - Iāve made some effort to reconnect once weāve lost connectivity, but indeed it doesnāt work robust enough: I catch one exception but when another happens (as it often does) - Iām dead in the water.
Can you raise a bug on this?
I should be able to get this fixed.
Good news that youāre workinā on it.
Unfortunately my Satel Integra Alarm is broken en canāt help you testing at the moment.
I hope to buy a new motherboard soon.
Keep up the good work.
Thanks c-soft
Hi, great job with the component, works great!
i have an issue, i lost 3 binary sensors since i upgrade to 0,86, any idea?
Not working full greatā¦ because sometime status alarm show as UNKNOWN.
Hi,
Any news about adding support for ETHM-1??
Any updates pls?
hi i have a problem with satel_integra too. i donāt have any info from satel, and this was all working in past. somebody know when will the bug be fixed? or any solution?
OK, folks, thanks for waiting.
Some news for you:
- New version is merged into the core, so with the next release it should work stable. It works fine for me, including arming & disarming.
- If you want you can test out brand new version of this component, with additional features: partitions support (āstrefyā in Polish) and setting outputs. Be warned: new config scheme is different from the old one, no compatibility - see below.
Hereās how to do it:
- Download component from here: https://www.dropbox.com/s/t3449xjoiugnyu4/satel_integra.zip?dl=0
- Unpack contents of the zip to your
<config-dir>/custom_components
so e.g. in my case *.py files are located here:\\HASSIO\config\custom_components\satel_integra
- Make sure you are using recent version (at least 0.88, otherwise it wonāt work properly!)
- Configure your component. See example below.
zones
andoutputs
work as they do now - they show up as binary sensors.partitions
are represented by separate alarm panels.switchable_outputs
are represented as switches. - Give it a go, test it out, comment. Iām pretty sure there are some issues, but it works quite allright for me now. Cheers!
satel_integra:
host: 192.168.2.230
port: 7094
code: !secret alarm_code
partitions:
01:
name: 'Dom'
arm_home_mode: 2
02:
name: 'Kontaktrony'
03:
name: 'Garage'
arm_home_mode: 1
outputs:
6:
name: 'Dawn sensor'
type: 'light'
zones:
01:
name: 'czujka wejÅcie'
type: 'motion'
02:
name: 'hol'
type: 'motion'
03:
name: 'wc dĆ³Å'
type: 'motion'
05:
name: 'salon'
type: 'motion'
switchable_outputs:
8:
name: 'Brama garaż'
9:
name: 'Otwarcie bramy'
10:
name: 'ZamkniÄcie bramy'
At the moment when the DloadX program is determined by the input-based state, the switch does not work properly.
For example, pulse control (1s) with a garage door: The button opens the gate but it will not close it.
The solution for me was the template switch.
- platform: template
switches:
brama_wjazdowa:
friendly_name: "Brama Wjazdowa"
value_template: "{{ is_state('binary_sensor.brama_wjazdowa', 'on') }}"
turn_on:
service: switch.turn_on
data:
entity_id: switch.brama_wjazdowa2
turn_off:
service: switch.turn_on
data:
entity_id: switch.brama_wjazdowa2
icon_template: >-
{% if is_state('binary_sensor.brama_wjazdowa', 'on') %}
mdi:garage-open
{% else %}
mdi:garage
{% endif %}
For everybody else having this issue: this is by design.
Status of the switch changes when itās notified from Satel module. In this configuration Satel does not send update about changed output, and thus switch stays in previous state.
One possible workaround would be to introduce optional āoptimisticā approach just as they do in MQTT switch, but that only assumes that switch was changed, without confirmation too.
This template solution above sounds much better.
Can you explaine more this section ? It is polish STREFA ? Why on some is arm_home_mode: 2 but on some is arm_home_mode: 1 but on some nothing ? For what is arm_home_mode ?
And i have an error on new version 0.3.4
Invalid config for [satel_integra]: expected int for dictionary value @ data[āsatel_integraā][āpartitionā]. Got OrderedDict([(1, OrderedDict([(ānameā, āDomā), (āarm_home_modeā, 1)]))]). (See /home/homeassistant/.homeassistant/configuration.yaml, line 158). Please check the docs at Satel Integra - Home Assistant
My config example:
satel_integra:
host: 192.168.13.10
port: 7094
code: 12345
partition:
01:
name: āDomā
arm_home_mode: 1
zones:
01:
name: āWejÅcie 1ā
type: āmotionā
15:
name: āWejÅcie 15ā
type: āopeningā
What is wrong ?
Please read original docs and my post carefully - there are all the answers. You got wrong config word, itās partitions not partition.
But please explaine what is arm_home_mode: 1 or arm_home_mode: 2 or nothing(empty)?
Quote from: Satel Integra - Home Assistant :
arm_home_mode
(integer)(Optional)The mode in which arm Satel Integra when āarm homeā is used. Possible options are1
,2
or3
. For more information on what are the differences between them, please refer to Satel Integra manual.Default value: 1
On new version 0.3.4ā¦ it not workingā¦no found any device from alarmā¦ Now configuration is ok but i not found any deviceā¦
Error during setup of component satel_integra
Traceback (most recent call last):
File ā/srv/homeassistant/lib/python3.5/site-packages/homeassistant/setup.pyā, line 154, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
AttributeError: module ācustom_components.satel_integraā has no attribute āsetupā
Interesting - can you attach full log please? What platform is it? There were no important changes around that, so itās surprising error. I wonder if anybody else sees that?