I am importing data from mqtt in Home Assistant of a DHT22 sensor to a EspEasy node and i need to format value and show in a oled display, for example 3130 to 31.3, can anyone help me whats wrong in the formula?
https://photos.google.com/share/AF1QipN ... 9neW14dzhB
https://photos.google.com/share/AF1QipN ... 9neW14dzhB
I hope you see the pictures
thanks
Format data from mqtt
Moderators: grovkillen, Stuntteam, TD-er
Re: Format data from mqtt
Perhaps use as formula:
Code: Select all
%value%/100
Re: Format data from mqtt
I`m still having de problem with de format from mqtt,
In the example I need to format from mqtt value 2820 to 28.2 and show in the oled display
I use de formula: %value%/100 but nothing change.
In the example I need to format from mqtt value 2820 to 28.2 and show in the oled display
I use de formula: %value%/100 but nothing change.
- Attachments
-
- IMG_20180307_213957362_LL.jpg (35.58 KiB) Viewed 3928 times
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Format data from mqtt
I think it could be a bug that formula isn't working for the mqtt import plugin..? You might want to report it on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Format data from mqtt
You should see the computed value (after processing by formula) in the device overview tab.
And can you use real screenshots for the web-interface images, these photo's are too small and too unclear to see.
And can you use real screenshots for the web-interface images, these photo's are too small and too unclear to see.
Re: Format data from mqtt
sorry for the bad photos before, the forum don't have a good image loader
I am still having problems formating the mqtt value
I am still having problems formating the mqtt value
- Attachments
-
- IMG_20180318_024315112.jpg (3.33 MiB) Viewed 3777 times
-
- IMG_20180318_024217214_LL.jpg (351.61 KiB) Viewed 3777 times
-
- IMG_20180318_023952514.jpg (1.94 MiB) Viewed 3777 times
Who is online
Users browsing this forum: No registered users and 62 guests