Read the statement by Michael Teeuw here.
MagicMirror Pimatic (Home Automation) Dashboard
-
Hi Sandy,
to display temperature and the humidity of your DST sensor in the Notification Board with rounded values and the right units should already possible. Try to use the following approach:-
In pimatic create a VariableDevice with a string variable and assign a string including your temperature and humidity Variable.attributes of your DST sensor.
(e.q. “Livingroom temperature {round($DST_Temperature,1)} °C - humidity {round($DST_Humidity,1)} %” -
Configure the new VariableDevice into the Notification Board of the MMM-Pimatic module
I didn’t test that, but it should work in that way.
-
-
Yes, Great! Both values are shown now rounded.
How can I get the unit also be shown?
In pimatic variables the units are declared and are shown.
But not in notification board.Thank you!
-
@Mr.Sponti said in MagicMirror Pimatic (Home Automation) Dashboard:
“Livingroom temperature {round($DST_Temperature,1)} °C - humidity {round($DST_Humidity,1)} %”
Sandy, I’ve tested the notification board with the following string varibale. The units of your measured values need to be part of the string defined in the field expression of your variable device.
“Livingroom temperature {round($Temperaturen.Esszimmer,1)} °C - humidity {round($Temperaturen.Esszimmer,1)} %”
-
@Mr.Sponti
Something I‘m doing wrong.
If I add the unit in expression I always get parse errors.
The only thing that works is that way:
„{round($dht22.humidity,1)}%“
gives always parse errors¯_(ツ)_/¯
-
Sandy, here is my definition for the VariableDevice:
Devices -> Add a new device… -> Class: VariableDevice --> Variables Add -->
-
In Pimatic i can see temp and humidity, but how to send these data to MMM-Pimaticfloorplan?