Read the statement by Michael Teeuw here.
-
@bachoo786 I had the same issue with MMM-googlemaps-route. The module was switched on at the defined time, but the map was not updated, only the travel times. Unfortunately, I had to find turn off the scheduler, but found a workaround for the route module to reduce the number of API calls.
-
@Fozi ah right well i would like to turn it on and off I have used remote control module as well but I face the same issue. I can adjust to reduce the number of API calls but thats least of my worries as I would like to have a clean MM interface hence turning off the module would be awesome provided it worked.
-
@bachoo786 MMM-ModuleScheduler (and MMM-RemoteControl) are only sending hide/show requests via the MagicMirror API, so have no control over the target modules upstream API calls.
However, it may be possible something is amiss. Can you post your config and I’ll see if I can spot anything?
-
@ianperrin thanks for the reply.
here is my config:
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ var config = { address: "0.0.0.0", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "", "0.0.0.0", "::" to listen on any interface // Default, when address config is left out, is "localhost" port: 8181, ipWhitelist: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], language: "en", timeFormat: 24, units: "metric", // customCss: 'css/custom.css', modules: [ // { // module: "alert", // }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: 'MMM-ModuleScheduler', }, { module: 'MMM-SystemStats', position: 'bottom_bar', // This can be any of the regions. // classes: 'small dimmed', // Add your own styling. OPTIONAL. // header: 'System Stats', // Set the header text OPTIONAL config: { updateInterval: 10000, // every 10 seconds align: 'right', // align labels units: 'metric', view: 'textAndIcon', }, }, { module: "currentweather", position: "top_right", config: { location: "London", locationID: "xx", //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city appid: "xx" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "xx", locationID: "xx", //ID from http://www.openweathermap.org/help/city_list.txt appid: "xx" } }, { module: 'random_quotes', position: 'lower_third', config: { updateInterval: '8', fadeSpeed: '4' } }, { module: 'MMM-homeassistant-sensors', position: 'top_left', config: { host: "xx", port: "xx", https: true, token: "xx", prettyName: false, // updateInterval: "1000", title: "Shower", stripName: false, values: [{ sensor: "sensor.shower", icons: [{ "default": "shower" } ] },{ sensor: "timer.water", icons: [{ "default": "water-pump" } ] } ] } }, { module: 'MMM-homeassistant-sensors', position: 'top_left', config: { host: "xx", port: "xx", https: true, token: "xx", prettyName: false, // updateInterval: "1000", title: "Namaaz Time", stripName: false, values: [{ sensor: "sensor.fajr", icons: [{ "default": "clock-outline" } ] },{ sensor: "sensor.zohr", icons: [{ "default": "clock-outline" } ] },{ sensor: "sensor.maghrib", icons: [{ "default": "clock-outline" } ] } ] } }, { module: 'MMM-UKNationalRail', position: 'bottom_left', header: 'Wealdstone Departures', classes: 'scheduler', config: { module_schedule: {from: '0 9 * * 3', to: '0 18 * * 3' }, stationCode: 'HRW', // CRS code for station app_id: 'xx', // TransportAPI App ID app_key: 'xx', // TransportAPI App Key updateInterval: 1 * 60 * 1000, maxResults: 5, //Optional - Maximum results to display. showOrigin: false, //Optional - Show the origin of the train in the table destination: 'EUS', to_offset: 'PT02:00:00', operator: 'LM' } }, { module: 'MMM-TFL', position: 'bottom_left', config: { updateTime: 600000, modes: ['tube'], lines: 'metropolitan' } }, //{ // module: "MMM-AssistantMk2", // position: "bottom_right", // config: { // assistantConfig: { // latitude: 51.508530, // longitude: -0.076132, // }, // micConfig: { // put there configuration generated by auto-installer // sampleRate : 16000, // audio sample rate // threshold : 0.1, // silence threshold (rec only) // thresholdStart: null, // silence threshold to start recording, overrides threshold (rec only) // thresholdEnd : null, // silence threshold to end recording, overrides threshold (rec only) // verbose : false, // log info to the console. Use this when you want to check mic working or not. // silence : 0, // recorder: "arecord", // device: "plughw:AK5371", // }, // responseConfig: { // useHTML5: true, // useScreenOutput: true, // useAudioOutput: true, // useChime: true, // timer: 2000, // myMagicWord: false, // delay: 0.5 //// playProgram: "mpg321" // }, //// recorder: "arecord", // // device: "plughw:AK5371", //// }, // recipes: [ "with-MMM-Hotword.js"], // } //}, // { // module: "MMM-Hotword", // position: "bottom_right", // config: { // useDisplay: false, // chimeOnFinish: null, // recipes: ["with-AMk2v3_smart-mirror.js"], // mic: { // recordProgram: "arecord", // device: "plughw:AK5371", // }, // }, // }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "BBC News UK", url: "http://feeds.bbci.co.uk/news/england/rss.xml" }, { title: "Sky News", url: "http://feeds.skynews.com/feeds/rss/world.xml" } ], showSourceTitle: true, showPublishDate: true, ignoreOldItems: true, ignoreOlderThan: 50400000, updateInterval: 10000 } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
-
@ianperrin hi
Did you have a chance to look at my configuration?
-
Can I configure to display a module dimmed from x to y; but turn off from y to x ?
-
Bit of a random question!
Is there anyways to use your module to turn off another module if the Raspberrypi PIR detects motion ?
What im thinking is using an image module to turn the mirror into a digital picture frame.
But when the pir sees someone step up to the mirror, it turns off the image module so the no images are displayed and its a simple mirror.
Someone walks away and the image module is restarted turning the mirror back into a digital picuture frame ?
Cheers
D