@mykle1
Just found your guide: https://forum.magicmirror.builders/topic/5274/how-to-manually-install-mm-on-your-pi-for-absolute-beginners
Going at it now and see if it works - thanks for the patience and writing that guide!
@mykle1
Just found your guide: https://forum.magicmirror.builders/topic/5274/how-to-manually-install-mm-on-your-pi-for-absolute-beginners
Going at it now and see if it works - thanks for the patience and writing that guide!
{
module: "weather",
position: "top_right",
config: {
type: "forecast",
units: "metric",
roundTemp: "true",
degreeLabel: "true",
showPrecipitationProbability: "true",
colored: "true",
apiVersion: "3.0",
lat: "123.123123",
lon: "321.321312",
apiKey: "abcdefg",
},
},
That still results in no display of the weather module :/
Can you please write me the code? I am seriously going mental over “not having anything loading” to “no config file” to just partially loading things…
This is really frustrating when you got 0 clue about coding to not figure out where the heck the issue is… ._.
This code doesnt create a missing config file but doesnt load the module. If i just enter the weather module (without config) it loads but only shows the current weather, but i would like to get the forecast for my region with the current API Version which is apparently 3.0
{
module: "weather",
position: "top_right",
config: {
// See 'Configuration options' for more information.
type: "forecast",
units: "metric",
roundTemp: true,
degreeLabel: true,
showPrecipitationProbability: true,
colored: true,
apiVersion: 3.0,
lat: 123123,
lon: 312321,
apiKey: "asdasdasd123123asedasd123",
},
},
@sdetweil @mumblebaj
Thanks to both of you. i used the command in the cd and it works.
Just as a question: how am i able to adjust from when to when the module gets suspendend?
i found the coding but not sure how i enter the values in the config file
suspend: function() {
clearInterval(this.timerHandle)
this.timerHandle = null
},
resume: function() {
this.startTimer()
}
Also - do i need aditional modules for the suspend / resume feature?
i got the modules via the comands you send, however the “git checkout withsuspend” comes back with
“error: pathspec ‘withsuspend’ did not match any file(s) known to git”
@sdetweil i am setting it up today and will run some tests. Will get back to you asap :)
@sdetweil Awefully sorry for not replying till now - didnt see the message about a new reply.
Thanks alot for adjusting the module!
@sdetweil
Okay that makes sense to stop and resume them but i am guessing i would need to somehow code the hide and show into the module as well.
Since i got no clue on coding i am not sure if that will help me unforunately
Hey everyone,
I got the MM-TomTomCalculateRouteTraffic module and it is making calls with a TomTom API - now i would like to have really high amount of calls in the morning (about once every 30s) and non after a certain time.
Is it possible to config a module to be deactivated after a certain time? e.g. run it from 7-8am and then not?
@sdetweil
Just tried it with another pin (pin 20) and the results are completly different. So i am not sure what to make out of the infos i get from the script.
Gosh this is such a bummer that the sensor for some reason decided to quit…
Guess i will have to build in a switch or something to turn on the mirror for X minutes and use the existing script for it
@sdetweil
Thanks for the links. I ran the 2nd script and it came back with constant “motion detected” and “motion stopped” while there was I wasnt moving.
Which is a bit strange as the only thing i did was reconnect the existing cable to pin 17… (the soldering came off)
Hello everyone,
I just repaired my connection of the PIR Sensor and the Pi. Doing so i thought this should be it and the sensor work again.
However: For some reason the Module is not working as intended.
Intention:
Monitor being on for 20s when movement has been registered
Current behavior:
Either being ONLY when movement is detected or CONSTANTLY on
Status Quo:
The old code i have used and worked is as follows:
{
module: 'MMM-PIR-Sensor',
config: {
sensorPin: 14,
powerSaving: true,
OffDelay: 20000,
}
Doing so will have the monitor turned off instantly unless i move.
{
module: 'MMM-PIR-Sensor',
config: {
sensorPin: 14,
powerSaving: true,
powerSavingDelay: 15,
}
this code will have the MM on “forever” (well i havent been standing infront of the mirror for minutes… so i cant tell if forever…) at least not after 15s
I am a bit at a loss as to what has changed… i have not updated any modules or the MM… reconecting the pin 17 to the sensor was all I did…
Any help is highly appreciated
@BKeyport
Hey Keyport - thanks for the reply.
I was just reeeeally confused since i had a connector on the first pins and that didnt make any sense.
I will def. get one of these boards for my new Mirror as that just makes it so much easier to wire it up and it looks clean!