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 requestTimeI´m using MQTT gateway with OpenHab
Should I do something on Openhab?
-
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 ClockMyMQTT/25/255/V_SKETCH_VERSION
1.0MyMQTT/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.
-
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.