Publish attribute value via MQTT not working

Hi all,

I’m new to openremote and I’m trying to publish a simple boolean value via MQTT.
I followed the tutorial “Connect your MQTT Client” and added a simple on/off sensor using the Thing asset type.
I can connect to my openremote setup using MQTTX and publish the value.
The value in the attribute is not updated however.

The response I get is:
Topic: master/client123/writeattributevalue/bel/41c4ZbpuOkejGhptk7Aaa7QoS: 0
true

I also tried 1 as value.

The attribute configuration is:

I also connected the attribute to the service user.
The service user is a non-restricted user with read and write access.

Can someone please help me with getting this to work?
Thanks in advance,

Hello and welcome @j.blaauw!

It should be possible to publish using MQTTX.
I just gave it a try with a boolean attribute named “working” and it accepts both 1/0 and and true/false values for me:

Do you see attribute value changes whenever you subscribe to this topic?

master/client123/attribute/+/#

Did you check the (container) logs to see if any warnings/errors or exceptions occur that might help explaining why it doesn’t work for you?

Hi Wouter,

Thank you for your replies!
I think that you are right that the problem is in the setup.
I will look at this tomorrow evening.

Kind regards,
Johan