Willkommen im Loxone Community Forum. Um alle Funktionen nutzen und sehen zu können, registriere dich bitte zuerst. Dies gilt auch für das herunterladen von Dateien.
Grandstream GDS3710- MQTT Befehl für richtige Codeeingabe
Bei der URL wirst du vermutlich die vom MQTT Gateway angeben müssen (wie‘s hier unten, aber nicht im Detail, steht): https://www.loxwiki.eu/pages/viewpag...ageId=39356199), dann werden am MQTT Gateway die JSON-Daten aufgelöst und weitergeleitet:
Hi Here
I had a look into this matter, so I think by event notification with the Loxberry MQTT plugin is the way. However, I just wanted to address the potential issues, as follows:
When using the UDP monitor at Miniserver side and every time you restart the MQTT plugin you get this message:
>>>MQTT: KEEP IN MIND: LoxBerry MQTT only sends CHANGED values to the Miniserver
So I took some time to test different scenarios and found out:
If you press for the first time the RING BELL button, then you get all the variables included in the grandstream Notification Event template.
In my case:
>>>MQTT: rcvr/192.168.1.102/POST_message=Call Log(Door Bell Call) rcvr/192.168.1.102/REMOTEADDR=192.168.1.102 rcvr/192.168.1.102/POST_date=2021-03-19 12:38:52 rcvr/192.168.1.102/POST_sip=192.168.1.100:7000
However, if you press again the Ring Bell button, you don't get anything (unless you include ${DATE} into the notification template), in my case I get:
As we can see, variables POST_message, POST_sip have not changed, as expected POST_date, loxtime change every time, so as stated above the MQTT won't send them to the miniserver.
- Using the numeric panel, comes down to he same scenario, nevertheless pressing the key "#" may solve the problem...
- RFID cards, got the issue, so if same card is used over and over without alternation, then MQTT won't forward the POST_XX variable into the UDP package to the miniserver.
If THE SAME values need to be resent every time, use the „Reset-After-Send“ flag in der MQTT Incoming Overview. It resets the value to 0 after a short delay (20ms). You won’t see the value in the LiveView, but it can be used in logic (e.g. Status block to differentiate different cards).
With „Reset-After-Send“ you‘ll get
CARD2
0
CARD2
0
CARD1
0
In logic, if CARD2 appears (or Input != 0), something happens. Use this in logic.
Same values usually aren’t resent, as they are the same. Even with „Disable cache“ you wouldn’t recognize in Loxone logic that the same value has been sent again. That’s the reason for the function „Reset-After-Send“.
Wir verarbeiten personenbezogene Daten über Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen, Werbung zu personalisieren und Websiteaktivitäten zu analysieren. Wir können bestimmte Informationen über unsere Nutzer mit unseren Werbe- und Analysepartnern teilen. Weitere Einzelheiten finden Sie in unserer Datenschutzrichtlinie.
Wenn Sie unten auf "Einverstanden" klicken, stimmen Sie unserer Datenschutzrichtlinie und unseren Datenverarbeitungs- und Cookie-Praktiken wie dort beschrieben zu. Sie erkennen außerdem an, dass dieses Forum möglicherweise außerhalb Ihres Landes gehostet wird und Sie der Erhebung, Speicherung und Verarbeitung Ihrer Daten in dem Land, in dem dieses Forum gehostet wird, zustimmen.
Kommentar