Hello,
i grap the temperaturevalues and illuminanace from my Mobotix M16B via plattform rest, but in the values smaller then 10°C are not shown in the graph.
have someone an idea?
Does the response from the REST resource include the “+” for temperatures below 10°C but not above?
Perhaps try including this in the sensor definition:
value_template: "{{ value|float }}"
If that doesn’t work, please paste the response you’re getting from your resource. When pasting code (like your sensor definition above), please use the </> button to format it correctly.
OK, I think I’ve got it. You didn’t post the response like I asked, but looking closely at your 4.2°C example above, it looks like “+ 4.2” with a space. Putting that through float gives 0, whereas “+4.2” gives 4.2.
Hello Troon,
thank you now it works… the + symbol is not shown any more. What happened when we get negative temperatures outside?
Hier the output from the CAM direct: