@Loki81 Your json file looks perfectly fine, does below command yield any results? If not the only thing I can recommend is to remove the motion sensors via the app and re-add them and see what happens.
@Loki81 Perhaps the motion sensors distance or thick walls are blocking signal towards base station hence only few motions end up registered? Perhaps try and test with one sensor close to base?
I would exclude a signal problem. The detectors are only a few meters from the base and trigger the Hue lamps reliably.
I have now checked the total logs again via your script (pm).
I see there numerous HUE events that are triggered by the motion detector. But the motion detectors and also the door sensors report their status only when the base station triggers a homecoming event.
@Loki81 Inspired by your questions I will do a small release soon. I will add a warning to the logs if privacy mode is enabled moreover add as attribute to sensor.gigaset_elements_base_xxxxxxxx
While I am at it will also add an attribute to the same sensor showing the last home coming / leaving which you can than use as trigger for your automation.
Important to take the recent_homecoming attribute as trigger. I read in the app this might have a delay up to 5 min so if this is too long than perhaps replicate functionality in hass using door + motion sensor.
platform: state
entity_id: sensor.gigaset_elements_base_f42a76c4cdc1b770a0e0d74efd3275b5
attribute: recent_homecoming
Have a look at the blueprint shared in this forum, there are some that might fit your use case.
Is there anywhere an overview of which attributes can assume which states? I haven’t found anything about this, not even blueprints.Do you have a hint for me? I’m trying to figure out which state I have to query in case of an intrusion.
the integration works very well for me… and also within a few seconds. So no problems with it so far.
I only had to define a condition for the status of the alarm system. Otherwise, it recognizes a homecoming everytime the door is opened.
Looks like this for me now:
trigger:
- platform: state
entity_id: sensor.gigaset_elements_base_123456789abcdefg
attribute: recent_homecoming
condition:
- condition: state
entity_id: alarm_control_panel.gigaset_elements
state: armed_away
@Loki81 Hmmm thats actually a regression I introduced, will release a new version soon to fix this. For now you can use the alarm_mode attribute of base sensor which will have triggered status also in case of alarm.
edit: Kindly update to version 2022.2.0 and let me know if triggered status works again