The use of the ESP8266 in the world of IoT

User avatar
By 4refr0nt
#39597
mariuszb wrote:--> display-value
"digits_count": 10 and "digits_count": "10",
Only the first work (JSON allows for both, in the sample config in Whats new You have "digits_count": "10").

Thanks, guide will be fixed.
mariuszb wrote:Under 6 digits do not want to work.
A comma is always in position 4 of the left

You must send float values as formatted string, comma position not changed by IoT Manager. Try format, like this:
"12345678"
"1234567.8"
"123456.78"
and so on.
User avatar
By mariuszb
#39600
4refr0nt wrote:
mariuszb wrote:--> display-value
"digits_count": 10 and "digits_count": "10",
Only the first work (JSON allows for both, in the sample config in Whats new You have "digits_count": "10").

Thanks, guide will be fixed.


I suggest that both work, otherwise it will have to be careful when you enter "5", and when 5 eg. "height": "5" and "digits_count":5