Dazu gibt es eine Lösung. Legt euch dazu einfach zwei Scripte an welche ihr dann per Automation alle x Sekunden triggert.
alias: MQTT User Trigger
sequence:
- data:
topic: V04P26/SMTID/CLIENT2HOST
payload: >-
{ "CLIENT_ID": "SMT015I0000000000000000", "DEVID": "DCE53321B1FA",
"FORCE_RESPONSE": true, "ISTOUCH": false, "LASTWRITE": 0,
"query_list": [ 1003, 1079, 1082, 1088, 1137,
1220, 1249, 1705, 1946, 1951, 1967, 5001,
5006, 5008, 5034, 5039, 5051, 5064, 5164,
5148, 5156, 5229, 5230, 5240, 5255, 5485,
5486, 5487, 5578, 5657, 5763, 5798, 5870,
1003, 1020, 1951, 1893, 1894, 1082, 1088,
1137, 1220, 1249, 1705, 1946, 1951, 1967,
5001, 5006, 5008, 5034, 5039, 5051, 5064,
5164, 5148, 5156, 5229, 5230, 5240, 5255,
5485, 5486, 5487, 5578, 5657, 5763, 5798,
5870, 1003, 1020, 1951, 1893, 1894, 3950,
5029, 1014, 1726, 1727, 1937, 1938, 1976,
1978, 1979, 5198, 5074, 5106, 5109, 1935,
5292, 5182, 5002, 5003, 5004, 5005, 5006,
5049, 5061, 5076, 5078, 5107, 5113, 5126,
5132, 5135, 5136, 5138, 5139, 5145, 5146,
5174, 5180, 5193, 5194, 5200, 5204, 5205,
5473, 5498, 5505, 5516, 5518, 5572, 5575,
5581, 5582, 5609, 5610, 5611, 5612, 5613,
5614, 5615, 5616, 5618, 5619, 5621, 5625,
5626, 5627, 5722, 5743, 5745, 5822, 5823,
5824, 5998 , 5050, 5075], "SMT_USER": 0, "values":
{ "5074": "024d", "5106": "0000", "5109": "0000" } }
action: mqtt.publish
mode: single
alias: MQTT User Trigger 2
sequence:
- data:
topic: V04P26/SMTID/CLIENT2PORTAL
payload: >-
{ "CLIENT_ID": "SMT076I0000000000000000", "SMT_ID":
"dce5332009d70000", "DEVID": "DCE53321B1FA" }
action: mqtt.publish
mode: single
Hier müsst ihr die IDs dementsprechend auf die jenigen anpassen die ihr abfragen wollt.