Updating c8y_RequiredAvailability using MQTT Templates

98 Views Asked by At

We have MQTT devices that can change how often they send data, so we want to be able to have the device change its c8y_RequiredAvailability value.

I have tried using static template 117, but that only works for the initial creation, not for updating. I am currently trying to create a SmartREST Template but I keep getting the following error:

50,,Error of type: ClassCastException with message: java.math.BigInteger cannot be cast to java.lang.Long

when sending the following publish:

800,MQTT_FX_Client3,8

Any ideas what I am missing?

0

There are 0 best solutions below