Read the statement by Michael Teeuw here.
MagicMirror Pimatic (Home Automation) Dashboard
-
@Mr.Sponti - thank you for your answer.
I now setup a second PI and installed Pimatic.
On both PI´s i installd socket.io and socket.io-Client.
My second pi works fine with pimatic and my first Pi works with MagicMirror.
I installed your modul as you described.If i run a test on my MagicMirror-PI:
pi@raspberrypi3:~ $ node testpim.js connected [ { id: 'temperatur', name: 'Temperatur', template: 'device', attributes: [ [Object], [Object] ], actions: [], config: { class: 'HomeduinoRFWeatherStation', protocols: [Object], values: [Object], processingTemp: '$value', processingHum: '$value', xAttributeOptions: [], id: 'temperatur', name: 'Temperatur' }, ...``` i see, that socket works too. But on my MagicMirror is only get the message "Connecting to pimatic ..." config.js: *{ module: 'MMM-M1-Pimatic', position: 'bottom_center', header: 'PIMATIC', host : 'xxx.xxx.xxx.xx', port : 80, user : 'user', passwd : 'passwort', config: { device: [ { name: 'Schrankschalter', icon: 'icon-Default', attributeName: 'schrankschalter.state', defaultValue: false, notification : 'Eingeschaltet' }, ], }, },* What am i doing wrong?? Thanks P.S. are you german, because than it´s easier to talk about :-)
-
Ich weiß, dass github in der Readme genau das zeigt, was du probierst, aber meiner Meinung nach ist das falsch.
{ module: 'MMM-M1-Pimatic', position: 'bottom_center', header: 'PIMATIC', config: { host : 'xxx.xxx.xxx.xx', port : 80, user : 'user', passwd : 'passwort', device: [ { name: 'Schrankschalter', icon: 'icon-Default', attributeName: 'schrankschalter.state', defaultValue: false, notification : 'Eingeschaltet' }, ], }, }
Meiner Meinung nach müssen
host
,port
,user
undpasswd
in denconfig
Bereich. -
@yawns
Vielen Dank !!
Genau das war das Problem, jetzt klappte es :-) -
Who can help me with this?
I am running MM on one RPI and Pimatic on another one.
But I have no idea how to get the information of Pimatic on the MM screen.
If somebody can tell me what to install where …
Thanks in advance!
Peter -
@Peter
I’ve reworked my MMM-Pimatic modul but need now to adjust the description on gihub. The modul connects to a pimatic server to listen on device attribute changes and displays changes as notifications on the MagicMirror screen. Temperature values can be displayed in a separate table. As soon as I’ve completed the Readme, I will send you a message. -
@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