i have been trying to store the ultrasonic sensor values to Grafana with Influxdb, But its not storing some particular tag values, Rest of the values are storing fine…why is this happening ? See in this below pic Ground Tank Level item which is manipulated value of tanklevel item is only shown. No value change of tanklevel is seen.
Number GroundTanklevel "Ground Tank Water Level [%.2f %%]"
Number tanklevel "Distance [%s CM]" {mqtt="<[broker:tele/ultrasonic/SENSOR:state:JSONPATH($.SR04.Distance)]"}
Rule File
rule "Final level"
when
Item tanklevel received update
then
if(tanklevel.state instanceof DecimalType)
{
GroundTanklevel.postUpdate((0.645 * (195 - (tanklevel.state as DecimalType))) + 0.025) // y == mx+c equation
}
end
Maybe the question is a little stupid, but on the time interval, the grafana screenshot seems to show the same (constant) value as your rrd4j screenshot… are you sure you don’t just look at the wrong interval?
Because you obviously have some (really small) changes in value.
After Restarting… i am able to see some positive… atleasdt sensor raw value text is visible with reading. Fingers…crossed…until value actual fluctuates…