Page 1 of 1

Mqtt sending setpoint

PostPosted: Sun Jan 07, 2018 6:56 pm
by arnoldg
Hello,

Can’t send data to my mqtt broker.
What could be wrong.

My setup is:
Pi with openhab2 and mosquito as broker.

For recieving i have the follow topic

States/otg/otg/setpoint, this works perfect
For sending i use
Actions/otg/otg/setpoint

What is wrong, can’t find info on how to use mqtt.

Re: Mqtt sending setpoint

PostPosted: Mon Jan 08, 2018 10:42 pm
by arnoldg
Hello,

finaly solved it.

for sending you need to build the string like this.

actions/otg/setpoint

where otg correspondend Device identifier: from the settingsscreen within openthem monitor.