Read the statement by Michael Teeuw here.
MagicMirror Pimatic (Home Automation) Dashboard
-
@Mr.Sponti thanks!
Would be great!
Peter -
@Peter Here you can find the latest version of my MMM-Pimatic module. The README isn’t yet covering all features but should be sufficient for the installation and basic configuration of the module.
Please feel free to contact me if you need help to get it running. -
@Mr.Sponti thanks!
I will try it as soon as possible.
I will let you know the results!
Peter -
pi@magicrpi:~/MagicMirror/modules/MMM-Pimatic $ npm install npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/package.json' npm WARN enoent ENOENT: no such file or directory, open '/home/pi/MagicMirror/modules/node_modules/node_helper/package.json' npm WARN modules No description npm WARN modules No repository field. npm WARN modules No README data npm WARN modules No license field.And I have no idea what to do (how to install) socket.io-client.
Peter -
@Peter , you can ignore these Warnings, but you need to install the socket.io-client modul:
cd ~/MagicMirror/modules/MMM-Pimatic npm install socket.io-client -
Hello,
I also installed your great module to observe the pimatic-sensor data on my MM.
The normal systemsensor-temps are perfectly shown. But how can I get the values of my dht22-sensor because the class dhtsensor has no attributes. It delivers 2 values (Temp and humidity).Is there any solution?
Thanks a lot.
Sandy -
@ganther said in MagicMirror Pimatic (Home Automation) Dashboard:
dhtsensor
Hi Sandy, how is your dht22-sensor connected? Is the sensor direct connected to the Rasperry GPIO pins and you use the plugin “dht-sensors”?
What shows up for the sensor if you create a listing of “variables” from your pimatic menu? -
@Mr.Sponti
Thanks for your response.
Yes, i use the dht-sensors plugin. It is directly connected to GPIO-Pin22Here is a Screenshot of a part of the device-config. Perhaps it‘s helpful.

Thank you
Sandy -
And the second menu area:

-
Oh sorry, I didn‘t recognize the variables menue entry before oO🤦♂️
It shows $dht22.temperature and .humidity
I will try these ones in config.
-
Yes, Temperatur is shown.
But with 13 digits behind ‚.‘ just like 24.1234567890123Is there a way to cut after 1 or 2 digits behind ‚.‘?
And a way to select another unit (% instead of degree) or do i have to move it to the notification board?Thanks again
Sandy -
Rounding of the values is not a big issue as there is a method '.toFixed(2) ’ available. At the moment the unit specified in the config file is assigned to all values in the table. To implement the value rounding and a individual unit for every value I need to enhance the code. I will put it on my action list for the next version.
-
@Mr.Sponti said in MagicMirror Pimatic (Home Automation) Dashboard:
Rounding of the values is not a big issue as there is a method '.toFixed(2) ’ available. At the moment the unit specified in the config file is assigned to all values in the table. To implement the value rounding and a individual unit for every value I need to enhance the code. I will put it on my action list for the next version.
Thank you very much!
-
One last thought:
If you add this feature in one of the next versions, it would be fantastic, if you could implement it on notification-board too (rounding and unit).
Then one module would be enough, it looks very nice and I would save one module-space.Sandy
-
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?

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login