Repository navigation
VEML60, how to change unit #15138
PROBLEM DESCRIPTIONA clear and concise description of what the problem is. REQUESTED INFORMATIONMake sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Configuration output here:
ESP32 with Tasmota:
Program Version 11.0.0.2(allsensors)
Build Date & Time 2022-02-21T22:07:30
Rule1: on tele-VEML6070#UvIndexPower do publish domoticz/in {"idx":61,"nvalue":0,"svalue":"%value%"} endon
STATUS 0 output here:
None
Console output here:
None
TO REPRODUCESteps to reproduce the behavior: EXPECTED BEHAVIOURA clear and concise description of what you expected to happen. SCREENSHOTSIf applicable, add screenshots to help explain your problem. ADDITIONAL CONTEXTAdd any other context about the problem here. (Please, remember to close the issue when the problem has been addressed) |
Replies: 4 comments 17 replies
|
You don't explain why the value is incorrect |
You can't have expression mixed with the text of a command, but instead first calculate the value in one rule, and then refer it in another. And the unit of watt per square meter is totally consistent with the norm for measuring solar irradiance. From Wikipedia:
Generally: When raising an issue do not just ignore most of the templated questions you're asked to fill in. They are there for a purpose. |
|
m2 is indeed 100x100=10.000cm2 For now I only want post processing the value. I can “distillate” the Var1 but can not "Mult1 100.000" this value and send it to Domoticz.
Thnx. Thomas |
|
=> For yet more information about this subject: See also discussion: #3844 Screen from other github 3844 discussion: Data screen from offical Dutch weatherstation "Buienradar": Although W/cm2 scientifically is right most people with sun panels on their roof talk about W/m2. This value also appeals more to the imagination of people. What I want:
Thnx. Thomas |


You can't have expression mixed with the text of a command, but instead first calculate the value in one rule, and then refer it in another.
And the unit of watt per square meter is totally consistent with the norm for measuring solar irradiance. From Wikipedia:
Generally: When raising an issue do not just ignore most of the templated questions you're asked to fill in. They are there for a purpose.