Does that sensor have multiple capabilities?
Can you provide the full device info from the developer page?
yesā¦
"capabilities":[
5 items
0
:
string"onoff"
1
:
string"alarm_smoke"
2
:
string"alarm_tamper"
3
:
string"measure_battery"
4
:
string"alarm_battery"
]
"capabilitiesObj":{
5 items
"onoff":{
10 items
"value":
boolfalse
"lastUpdated":
string"2022-03-03T19:17:47.189Z"
"type":
string"boolean"
"getable":
booltrue
"setable":
booltrue
"title":
string"Eingeschaltet"
"desc":
NULL
"units":
NULL
"id":
string"onoff"
"options":{}
0 items
}
or another:
"capabilities":[
5 items
0
:
string"alarm_contact"
1
:
string"alarm_tamper"
2
:
string"measure_temperature"
3
:
string"measure_luminance"
4
:
string"measure_battery"
]
"capabilitiesObj":{
5 items
"alarm_contact":{
10 items
"value":
boolfalse
"lastUpdated":
string"2022-04-02T13:08:33.936Z"
"type":
string"boolean"
"getable":
booltrue
"setable":
boolfalse
"title":
string"Kontakt-Alarm"
"desc":
string"Kontaktsensor, z.B. fĆ¼r Windows (true/false)"
"units":
NULL
"id":
string"alarm_contact"
"options":{}
0 items
}
Thanks, can you post the ālastupdatedā from the last sensor, that one has two capabilities Heimdall can look at.
Hi @bjoern FYI my question initially concerns the Fibaro Door Sensor 2 but I spotted similar behavior for some other brands. Seems Danee is on to something with his question ācapabilitiesObjā; Iāll further reply on his post.
Hi @DaneedeKruyff , as per your guidance Iāve checked the Heimdall app (v2.1.5) and the info for concerning devices via the API and noticed the following:
-
the āFibaro Door Sensor 2ā using Athomās Fibaro app v3.2.2 comes with 4x ācapabilitiesā: [
āmeasure_batteryā,
āalarm_contactā,
āalarm_tamperā,
āmeasure_temperatureā
]
and in all my cases Heimdall takes the āalarm_tamperā value where I would expect at least the āalarm_contactā value. Though my vote would go to the āmeasure_temperatureā value as this is regularly updated and does not depend on actually opening/closing of doors and windowsBest solution in my opinion would be most recent value of either of the two values.
-
similar for the Fibaro Motion sensor which comes with 5x ācapabilitiesā: [
āmeasure_batteryā,
āmeasure_luminanceā,
āmeasure_temperatureā,
āalarm_motionā,
āalarm_tamperā
]
Also here Heimdall takes the āalarm_tamperā value where āalarm_motionā (or āmeasure_temperatureā) is more logical. -
where the āRing Motion Detector 1st genā and āRing Contact Sensor 1st genā are correctly taking the āalarm_motionā value over the āmeasure_batteryā using your (experimental) Ring app v0.2.3, for my āRing Keypad v2ā Heimdall appears to prefer the āalarm_tamperā over the more logical (and desired) āmeasure_batteryā value. I would recommend to change this as well for the Keypad v2.
On a final note: while testing tonight I noticed that upon opening of the Heimdall app (via the Homey app) and selecting Devices (i.e. āApparatenā) the āLast seenā value initially very briefly seem to show the correct ālastUpdatedā before returning above mentioned āincorrectā values. Perhaps that helps narrowing down the root cause.
Thanks for your help! Pls let me know if you need more info.
Regards
Chris
The thing is, the shown value should always be the most recent one, regardless of the capability.
Could you please post the information with the actual values?
Thatās exactly what i can see. with almost all sensorsā¦
Thanks @DaneedeKruyff ! I can confirm that above mentioned issue has been resolved with v2.1.6 ! Both Fibaro sensors and Ring Keypad v2 now show most recent ālastupdatedā regardless the capability it is generated against.
@DaneedeKruyff looks great now too. Thanks! what was it exactly?
New version published.
Version 2.1.6
- Fixed Last seen in devicesettings
This version fixes a bug where devices reporting an unknown Last updated value resulted in a Last seen date of 1-1-1970 in the device settingspage.
Hi All ā¦ I am using the Heimdall App for my Security System - LOVE the App, Thanks for your great work @DaneedeKruyff with this!
At my front door I have a Tablet with a Home Assistant Lovelace Dashboard with Live cam from my G4 Doorbell and other Homey devices, and I have tried to integrate the Alarm Panel card in Home Assistant with Heimdall trying both the AlarmĀ“s and Surveilance Entity sent to HA using MQTT from Homey, but has not had any luck getting this to work, and I am not able to find any documentation/videos with this.
My Question : Is it somehow possible to use the HA Lovelace Alarm Panel Card to control Heimdall? ā¦ and if so, anybody who will share there configuration?
Best Regards
Stig
@DaneedeKruyff as a token of appreciation for the swift reply and fix, a small donation coming your wayā¦
Thank ypu @Crisis itās much appreciated!
@Stig_Kolbaek Iām not using HA nor the dashboard you mention so I canāt really tell you how to set it up, maybe someone else can help you out, @robertklep perhaps?
Sorry, no idea (I do use HA but donāt use the MQTT Hub app at all, so I have no idea what its capabilities are)
Thank you @DaneedeKruyff and @robertklep for your answers/help though ā¦ no, not much documentation regarding this out there, it just would be so awsome to use the Alarm Panel for the Brilliant Heimdall ā¦ hopefully I find someone that can help
Hi,
Heimdall makes me crazy and paranoid since a while,
It does arm itself, and makes me trigger the alarm
and iām not able to identify why this happens as the log is too simplified, doesnt tell which flow or action did put the alarm to armed
The total lack accessible logs of flows in homey doesnt help
Hereās the heimdall dump number e93dc3fd-1917-4f43-9926-edf72006ce81
thanks for the help!
Please review your flows. You arm automatically via Flow. Please search your flows for Heimdall. What are your sensor states when heimdall armed? which devices are under devices?
Hi,
Letās see whatās happening here, this shouldnāt be to hard to find.
First off, Heimdall can not arm itself, it will always be caused by of either a flow or a person performing an action. Since your log shows the Surveillance Mode is changed by a flow, letās focus on that.
Easiest would be to go to Apps (in the Homey Mobile app) and select Heimdall.
This will show you all flows that are somehow connected to Heimdall
Please review all your flows shown here.
Another method would be to disable the Heimdall app and go through your flows, all flows somehow connected to Heimdall wil show a warning
Please review all flows showing a warning.
Hope that helps!