PioTek V4 FTTB (TF-TTB) in HA mit Enocean_MQTT Addon

Hallo zusammen,

ich habe den Tracker in HA eingebunden. Er wird ja mit dem Profil A5-07-01 wie folget eingebunden in die .devices.

#Piotec Tracker
[Tracker/Stev]
address = 0xAdresse
rorg = 0xA5
func = 0x07
type = 0x01

Mich würde nun interessieren, wie ich die Taste nutzen kann und wie das mit der Anwesenheit funktioniert. Trotzdem ich heute nicht da war, wurde die ganze Zeit Anwesend angezeigt.

Hat den jemand eingebunden und wie nutzt ihr den?

Das interessante ist, dass sich der PIR Status nie ändert. Kann es sein, dass ich die last seen identität auswerten muss?

Würde heißen Last seen >x Sekunden = Abwesend ansonsten Anwesend?

Wenn last seen innerhalb der x Sekunden dann Knopf gedrückt?

So sollte es eigentlich nicht funktionieren.

Der Binary Sensor sollte eigentlich out of the Box den Anwesenheit Status wieder geben.

Du hast da noch eine deaktivierte Entität im Bereich Sensoren, hast Du diese mal aktiviert?

Ist der Tracker auch richtig konfiguriert?
Ping = 10, 20, 30, 40 sek oder kein Ping.

Du könntest auch mal schauen was im MQTT Brocker sonst noch ankommt und ggf., dann einen eignen MQTT Sensor erstellen.

Gruß
Osorkon

Hallo @Osorkon ,

Antwort hat etwas länger gebraucht. Wollte das mal richtig aufzeigen. Das mit out of the box hatte ich eigentlich auch so gedacht. Bisher habe ich die im homee betrieben, wo Sie auch noch inkludiert sind. Kann es vielleicht daran liegen? Dachte, dass man bei Sensoren einfach nur die Pakete empfängt. Ist ein Pairing bei den Trackern notwendig?

Das Log zu dem Tracker sieht so aus.

2025-01-25 18:22:33,989 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-94 dBm): 0x01 ['0xa5', '0x79', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x5e', '0x0'] OrderedDict()
2025-01-25 18:22:34,855 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.42 V
2025-01-25 18:22:34,871 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:22:34,872 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:22:34,970 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -94, "_DATE_": "2025-01-25T18:22:33.578490", "SVC": 2.42, "PIRS": 1, "SVA": 1}
2025-01-25 18:22:35,072 DEBUG: Sending PUBLISH (d0, q0, r1, m10987), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)
2025-01-25 18:22:36,122 DEBUG: Sending PINGREQ
2025-01-25 18:22:36,125 DEBUG: Received PINGRESP
2025-01-25 18:22:43,006 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-85 dBm): 0x01 ['0xa5', '0x79', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x55', '0x0'] OrderedDict()
2025-01-25 18:22:43,010 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.42 V
2025-01-25 18:22:43,012 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:22:43,013 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:22:43,014 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -85, "_DATE_": "2025-01-25T18:22:43.006490", "SVC": 2.42, "PIRS": 1, "SVA": 1}
2025-01-25 18:22:43,015 DEBUG: Sending PUBLISH (d0, q0, r1, m10990), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)
2025-01-25 18:22:43,997 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-85 dBm): 0x01 ['0xf6', '0x70', '0x1', '0xa7', '0x4c', '0x69', '0x30'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x55', '0x0'] OrderedDict()
2025-01-25 18:22:43,998 INFO: learn request not emitted to mqtt
2025-01-25 18:22:44,269 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-85 dBm): 0x01 ['0xf6', '0x0', '0x1', '0xa7', '0x4c', '0x69', '0x20'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x55', '0x0'] OrderedDict()
2025-01-25 18:22:44,270 INFO: learn request not emitted to mqtt
2025-01-25 18:23:04,724 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-92 dBm): 0x01 ['0xa5', '0x7a', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x5c', '0x0'] OrderedDict()
2025-01-25 18:23:04,806 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.44 V
2025-01-25 18:23:04,820 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:23:04,820 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:23:04,862 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -92, "_DATE_": "2025-01-25T18:23:04.700664", "SVC": 2.44, "PIRS": 1, "SVA": 1}
2025-01-25 18:23:04,909 DEBUG: Sending PUBLISH (d0, q0, r1, m10991), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)
2025-01-25 18:23:24,941 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-85 dBm): 0x01 ['0xa5', '0x7a', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x55', '0x0'] OrderedDict()
2025-01-25 18:23:25,168 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.44 V
2025-01-25 18:23:25,190 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:23:25,192 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:23:25,227 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -85, "_DATE_": "2025-01-25T18:23:24.889135", "SVC": 2.44, "PIRS": 1, "SVA": 1}
2025-01-25 18:23:25,252 DEBUG: Sending PUBLISH (d0, q0, r1, m10993), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)
2025-01-25 18:23:31,704 INFO: learn request not emitted to mqtt
2025-01-25 18:23:31,675 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-88 dBm): 0x01 ['0xf6', '0x70', '0x1', '0xa7', '0x4c', '0x69', '0x30'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x58', '0x0'] OrderedDict()
2025-01-25 18:23:31,847 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-88 dBm): 0x01 ['0xf6', '0x0', '0x1', '0xa7', '0x4c', '0x69', '0x20'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x58', '0x0'] OrderedDict()
2025-01-25 18:23:31,848 INFO: learn request not emitted to mqtt
2025-01-25 18:23:36,448 DEBUG: Sending PINGREQ
2025-01-25 18:23:36,639 DEBUG: Received PINGRESP
2025-01-25 18:23:43,737 DEBUG: learn received, EEP detected, RORG: 0xA5, FUNC: 0x07, TYPE: 0x01, Manufacturer: 0x0D
2025-01-25 18:23:43,819 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-79 dBm): 0x01 ['0xa5', '0x1c', '0x8', '0xd', '0x80', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x4f', '0x0'] OrderedDict()
2025-01-25 18:23:43,820 INFO: learn request not emitted to mqtt
2025-01-25 18:23:43,922 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-79 dBm): 0x01 ['0xa5', '0x85', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x4f', '0x0'] OrderedDict()
2025-01-25 18:23:43,942 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.66 V
2025-01-25 18:23:43,944 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:23:43,945 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:23:43,957 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -79, "_DATE_": "2025-01-25T18:23:43.922748", "SVC": 2.66, "PIRS": 1, "SVA": 1}
2025-01-25 18:23:43,976 DEBUG: Sending PUBLISH (d0, q0, r1, m10994), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)
2025-01-25 18:23:53,969 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-89 dBm): 0x01 ['0xa5', '0x7a', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x59', '0x0'] OrderedDict()
2025-01-25 18:23:53,974 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.44 V
2025-01-25 18:23:53,997 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:23:53,998 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:23:54,016 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -89, "_DATE_": "2025-01-25T18:23:53.969089", "SVC": 2.44, "PIRS": 1, "SVA": 1}
2025-01-25 18:23:54,030 DEBUG: Sending PUBLISH (d0, q0, r1, m10996), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)
2025-01-25 18:24:04,843 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-86 dBm): 0x01 ['0xa5', '0x7a', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x56', '0x0'] OrderedDict()
2025-01-25 18:24:05,022 DEBUG: enoceanmqtt/Tracker/Stev: SVC (Supply voltage (OPTIONAL))=2.44 V
2025-01-25 18:24:05,144 DEBUG: enoceanmqtt/Tracker/Stev: PIRS (PIR Status)=PIR on 
2025-01-25 18:24:05,145 DEBUG: enoceanmqtt/Tracker/Stev: SVA (Supply voltage availability)=Supply voltage is supported 
2025-01-25 18:24:05,176 DEBUG: enoceanmqtt/Tracker/Stev: Sent MQTT: {"_RSSI_": -86, "_DATE_": "2025-01-25T18:24:04.725318", "SVC": 2.44, "PIRS": 1, "SVA": 1}
2025-01-25 18:24:05,226 DEBUG: Sending PUBLISH (d0, q0, r1, m10997), 'b'enoceanmqtt/Tracker/Stev'', ... (89 bytes)

Dazu noch der Auszug aus dem Broker :


Um 18:24:07 habe ich mal die Batterie entfernt und Abwesenheit zu simulieren.

Bzgl. dem Button wird auch immer nur das normale Sendig ausgelöst. Das EEP hat ja keinen Button. Muss ich da was in der mapping oder .device anpassen? Mir ist die vorgehensweise noch nicht ganz klar. Dachte vielleicht Tracker und Button haben unterschiedliche Adressen. Aber das scheint auch nicht der Fall zu sein.

Die Senosren wie Hoppe und die ETHS (OEM) laufen alle super.

Habe da noch was gefunden.

Muss ich das im Addon noch umsetzen?

Das würde dem entsprechen, denke ich. Wird aber nicht interpretiert.

2025-01-25 18:22:43,997 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-85 dBm): 0x01 ['0xf6', '0x70', '0x1', '0xa7', '0x4c', '0x69', '0x30'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x55', '0x0'] OrderedDict()
2025-01-25 18:22:43,998 INFO: learn request not emitted to mqtt
2025-01-25 18:22:44,269 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-85 dBm): 0x01 ['0xf6', '0x0', '0x1', '0xa7', '0x4c', '0x69', '0x20'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x55', '0x0'] OrderedDict()
2025-01-25 18:22:44,270 INFO: learn request not emitted to mqtt

Habe herausgefunden, dass der Tracker für das Tracking

#rorg = 0xA5
#func = 0x07
#type = 0x01

ein EEP nutzt und für den Button

rorg = 0xF6
func = 0x01
type = 0x01

ein anderes.

Habe mal bei mir den Tracker auskommentiert und den Button als Gerät aufgenommen und siehe da, der Button wird interpretiert aber dafür der Tracker nicht mehr.

2025-01-26 08:33:18,752 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-91 dBm): 0x01 ['0xa5', '0x7a', '0x0', '0xf0', '0xf', '0x1', '0xa7', '0x4c', '0x69', '0x0'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x5b', '0x0'] OrderedDict()
2025-01-26 08:33:18,753 WARNING: message not interpretable: enoceanmqtt/TrackerB/Stev
2025-01-26 08:33:27,509 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-82 dBm): 0x01 ['0xf6', '0x70', '0x1', '0xa7', '0x4c', '0x69', '0x30'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x52', '0x0'] OrderedDict()
2025-01-26 08:33:27,512 DEBUG: enoceanmqtt/TrackerB/Stev: PB (Status of the push button)=Pressed 
2025-01-26 08:33:27,515 DEBUG: enoceanmqtt/TrackerB/Stev: Sent MQTT: {"_RSSI_": -82, "_DATE_": "2025-01-26T08:33:27.509266", "PB": 1}
2025-01-26 08:33:27,517 DEBUG: Sending PUBLISH (d0, q0, r1, m163), 'b'enoceanmqtt/TrackerB/Stev'', ... (64 bytes)
2025-01-26 08:33:27,749 DEBUG: Ad:re:ss:e->FF:FF:FF:FF (-82 dBm): 0x01 ['0xf6', '0x0', '0x1', '0xa7', '0x4c', '0x69', '0x20'] ['0x1', '0xff', '0xff', '0xff', '0xff', '0x52', '0x0'] OrderedDict()
2025-01-26 08:33:27,751 DEBUG: enoceanmqtt/TrackerB/Stev: PB (Status of the push button)=Released 
2025-01-26 08:33:27,753 DEBUG: enoceanmqtt/TrackerB/Stev: Sent MQTT: {"_RSSI_": -82, "_DATE_": "2025-01-26T08:33:27.748783", "PB": 0}
2025-01-26 08:33:27,755 DEBUG: Sending PUBLISH (d0, q0, r1, m164), 'b'enoceanmqtt/TrackerB/Stev'', ... (64 bytes)

Gibt leider auch keine Workaround das trotzdem zum laufen zu bekommen. Schade

Das HA_enoceanmqtt was vom Addon genutzt wird unterstützt nicht mehrere EEP’s für ein Gerät. Dazu gibt es ein Punkt.

Der PIR Status des Tracker wird scheinbar nicht nativ ausgewertet, da wenn der Tracker nicht mehr erreichbar ist, ja auch nichts senden kann. Das muss man wohl wirklich nachgelagert auf die Entität Last_Seen schauen.