Installed your module and it’s working perfectly, thank you! Though I would love to see some more configuration options. It would be great if preferred roads could be specified for jams, and another preferred roads for speed traps. I would love to add more roads for speed traps, but can’t if it does it also for jams. That way, it results in too much data to show on my mirror.
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
C
Posts
-
RE: MMM-MyTraffic
-
RE: MMM-HomeKit | Control your MagicMirror with Apple HomeKit
@Niggich Making connection to the other pi through ssh to send commands? Or if your using a module which allows to give commands through a url u can use curl… In this example I use both…
{ "name" : "Magic Mirror", "on_cmd": "curl -s 'http://192.168.X.XX:8080/remote?action=MONITORON'", "off_cmd": "curl -s 'http://192.168.X.XX:8080/remote?action=MONITOROFF'", "state_cmd": "sshpass -p 'sshpassword' ssh -oStrictHostKeyChecking=no pi@192.168.X.XX vcgencmd display_power | grep -q '1' && echo '1'", "polling": true, "interval": 10, "manufacturer": "XXX", "model": "v 1.0.0" }
You might need to install sshpass: apt-get install sshpass, which allows you to connect through ssh with password without being prompted on the command line for the password.