MQTT Gw - Request time



  • Hi, I´m planning using request time to display some info and current date time
    But I can get response from gateway about requestTime

    I´m using MQTT gateway with OpenHab

    Should I do something on Openhab?


  • Admin

    You have to answer the time request from the node in OpenHab or some broker in between..

    I have too little knowledge of OH to know if this is possible or have been done by someone already.



  • Hi.
    When I use MQTTFx to see that the gateway is asking to OpenHab I see this.

    MyMQTT/25/255/V_SKETCH_NAME
    RTC Clock

    MyMQTT/25/255/V_SKETCH_VERSION
    1.0

    MyMQTT/25/255/V_
    (no data)

    I saw in the library API that the time request is an internal command, maybe I´m wrong, but shouldn´t I expect a I_TIME instead

    Does anyone know how to respond to this request?

    Thank you.


  • Admin

    You should probably try to use the MQTT client Gateway in the dev-branch. It forwards internal commands as well unlike the gateway in 1.5 which on do some forwards and rewrites of internal commands.


Log in to reply
 

Suggested Topics

  • 3
  • 2
  • 1
  • 8
  • 5

51
Online

11.4k
Users

11.1k
Topics

112.7k
Posts