Definitely having the same issue. Subscribing to a topic works just fine, but trying to edit/publish and alter that topic from ignition is not working.
In the Gateway configuration, under MQTT Distributor at the bottom of the page check “Show Advanced”
then check mark “Enable anonymous MQTT connections”.
Now I use the Cirrus Link MQTT 3rd party module setup with “Sparkplug B” protocol and everythings works as expected.
@dcamp1 thanks for the advice, but did not change the outcome. Still getting Access Denied. I will try and set up everything through Cirrus components and see if that corrects it…
Ok. Here is some problem what i find out.
You can connect your device to MQTT. and Ignition will read all the data. But, while your device does not supports SparkPlug, you CAN’T do any changes on these tags or do publish via change tag.
Here is a possible solution for now,
You can setup memory tag and on action “ValueChange” use
system.cirruslink.engine.publish(String serverName, String mqttTopic, byte[] payload, int qos, boolean retain)
Talk with Cirrus Link guys, I hope in future we will have some option to use or not SparkPlug for talk to the device.