I want to put a graphic about the temperature measured with a DT11.
I’m using a arduino connected by wifi using a ESP01 card. ( I know that’s not a very good hardware choice but it’s economicaly very good. )
It’s just to inform that there is a bug with the graphic with temperature sensor because the convertion in celsius doesn’t work.
My sensor send a value in fareinheit, if I select to show a value with the unit in celsius the value shown on the display is well converted in celsius. But if I select a graphic, even if I select the unit in celsius, it’ a graphic with fareinheit units.
No worries about the hardware choice here, for this sort of issue that shouldn’t matter. Thanks for the bug report, I do apologize for the trouble.
Would you mind sharing the sketch code you’re using to publish the temperature value to Cayenne so I can try to reproduce this error on our side? You can blank out your Cayenne Token or any other personal information.
I can reproduce on my side now, thank you for the detailed information. Until we get this bug squashed, you might want to consider doing the conversion from F to C in your sketch code so you aren’t relying on the one internal to Cayenne.
I steel use the DH11 sensor .
On my dashboard I select to show the temperature in celsius as a value.
it’s ok but if I open this dash board in the cayenne application on my android phone,
the conversion isn’t done. the value steel in Fahreinheit.
there is no parameter to select celsius or fahreinheit.
it’s righten celsius but the value is in fahreihneit.
I see this issue as well, thank you for pointing it out. The unit label selected on web syncs to the mobile app, but the units pass across unconverted. Definitely something we’ll need to sort out. Until then, it looks like you’ll have an easier time if you convert to the desired units in your client code and just publish the value that way so it doesn’t need any conversion on the Cayenne side.