Grandstream GDS3710- MQTT Befehl für richtige Codeeingabe

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • FRECH
    LoxBus Spammer
    • 07.08.2017
    • 262

    #1

    Grandstream GDS3710- MQTT Befehl für richtige Codeeingabe

    Hallo!

    Im Forum habe ich schon das eine oder andere gefunden für MQTT Befehle bei der Grandstream GDS3710.

    Leider nichts Konkretes.

    Weiß jemand wie ich bei einer richtigen Codeeingabe eine "Info" in die Loxone bekomme?

    Das Läuten habe ich schon. Jedoch geht es mir um das Öffnen des Türöffners (welcher an der Loxone hängt), wenn ich den richtigen Code eingebe.

    Am Loxberry läuft schon ein Mqtt- Server.

    Beste Grüße

  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11234

    #2
    Ich könnte mir vorstellen, dass das gemeint ist:



    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:

    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar


    • Gast
      Gast kommentierte
      Kommentar bearbeiten
      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:

      >>>MQTT: rcvr/192.168.1.102/loxtime=385393404 rcvr/192.168.1.102/POST_date=2021-03-19 12:43:26

      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.

      Thanks

      Hope this can help out people out there.
      Zuletzt geändert von Gast; 19.03.2021, 03:57.

    • Christian Fenzl
      Christian Fenzl kommentierte
      Kommentar bearbeiten
      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“.
      Zuletzt geändert von Christian Fenzl; 19.03.2021, 08:12.

    • Gast
      Gast kommentierte
      Kommentar bearbeiten
      thanks Cristian,
      "Incoming Overview->Show Details and Advanced Settings->Reset-After-Send" did the trick!
Lädt...