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.


 

193
Online

8.6k
Users

9.4k
Topics

99.0k
Posts