MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Egnos
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    E
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 29
    • Posts 269
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Start or not...?

      How can I activate it with the H / W keys?
      Only for test…

      @sean said in Start or not...?:

      You can activate with other module which can emit notification. (Yes, Even default calendar module can activate this)

      This function be done directly with “MMM-assistantmk2” or should I always install “MMM-Hotword”?

      posted in General Discussion
      E
      Egnos
    • RE: syntax errors

      Sorry @ganget, but I’m not sure that the configuration you propose can work, because after opening a “{” is closed with a “},” and the “},” is used only for the closure of the entire module and not the single configurations. Correct?

      Is it possible that the problem is on the comma after “mpg321”?

      play: { // Full values are in `FOR EXPERTS` section.
            playProgram: "mpg321", // recommended.
      

      Thank you all!

      posted in Troubleshooting
      E
      Egnos
    • RE: Start or not...?

      @sean said in Start or not...?:

      @egnos
      MMM-Hotword is needed if you want to activate it with voice hotword.

      Thanks Sean!
      So if I only install the module “MMM-assistantmk2” how can I use it?
      So if I only install the module “MMM-assistantmk2” I can not do anything … correct?

      posted in General Discussion
      E
      Egnos
    • RE: Start or not...?

      Hello everyone and happy new year!
      I returned the “Sonoff 4ch pro r2” because it was not for me!

      During the Christmas holidays I started the installation of the Magic Mirror with all its modules.
      These days I’m trying to install the module MMM-Assistantmk2 but I did not understand how to activate the assistant with my voice.
      In the configuration of MMM-Assistantmk2 module I did not find a way to insert a watchword to wake up the Assistant.

      Can you help me?
      Do you need to install modules like “MMM-Hotword” and “MMM-NotificationTrigger”?

      Thanks guys.

      posted in General Discussion
      E
      Egnos
    • RE: syntax errors

      Sorry, the config.js below:

      /* 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: "localhost", // 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: 8080,
      	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // 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",
      
      	modules: [
      		{
      		  module: "MMM-AssistantMk2",
      		  position: "top_right",
      		  config: {
      		    deviceLocation: {
      					coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
      					latitude: 45.200049, // -90.0 - +90.0
      					longitude: 7.568917, // -180.0 - +180.0					
      			
      			profiles: {
      				"default" : { // profile name.
      				profileFile: "default.json", // profile file name.
      				lang: "it-IT"
      				//currently available (estimation, not all tested):
      				//  de-DE, en-AU, en-CA, en-GB, en-US, en-IN
      				// fr-CA, fr-FR, it-IT, ja-JP, es-ES, es-MX, ko-KR, pt-BR
      				// https://developers.google.com/assistant/sdk/reference/rpc/languages
      				
      			record: { // Full values are in `FOR EXPERTS` section.
      				recordProgram: "arecord",  // Defaults to "arecord" - also supports "rec" and "sox"
      				device: null        // recording device (e.g.: "plughw:1")
      			
      			play: { // Full values are in `FOR EXPERTS` section.
      				playProgram: "mpg321", // recommended.
      											}
      										}
      								 	}
      								 }
      							}		  
      					  }
      				}
              },
      		{
      			module: "alert",
      		},
      		{
      			module: "updatenotification",
      			position: "top_bar"
      		},
      		{
      			module: "clock",
      			position: "top_left"
      		},
      		{
      			module: "calendar",
      			header: "US Holidays",
      			position: "top_left",
      			config: {
      				calendars: [
      					{
      						symbol: "calendar-check-o ",
      						url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      					}
      				]
      			}
      		},
      		{
      			module: "compliments",
      			position: "lower_third"
      		},
      		{
      			module: "currentweather",
      			position: "top_right",
      			config: {
      				location: "New York",
      				locationID: "",  //ID from http://bulk.openweathermap.org/sample/; unzip the gz file and find your city
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "New York",
      				locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
      				appid: "YOUR_OPENWEATHER_API_KEY"
      			}
      		},
      		{
      			module: "newsfeed",
      			position: "bottom_bar",
      			config: {
      				feeds: [
      					{
      						title: "New York Times",
      						url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      					}
      				],
      				showSourceTitle: true,
      				showPublishDate: true
      			}
      		},
      	]
      
      };
      
      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== "undefined") {module.exports = config;}
      
      

      Thanks.

      posted in Troubleshooting
      E
      Egnos
    • syntax errors

      Hi guys,
      I’m a beginner and I’m setting up the module MMM-AssistantMk2 but I don’t know why if I add this two configuration:

      record: { // Full values are in FOR EXPERTS section.
      recordProgram: “arecord”, // Defaults to “arecord” - also supports “rec” and “sox”
      device: null // recording device (e.g.: “plughw:1”)

      play: { // Full values are in FOR EXPERTS section.
      playProgram: “mpg321”, // recommended.

      the MM show me: WARNING! Could not validate config file. Please correct syntax errors. Starting with default configuration.

      Where am I wrong?
      I attach my config.js

      Thanks everyone.

      [0_1546719570197_config.js](Caricamento 100%)

      posted in Troubleshooting
      E
      Egnos
    • RE: Who speaks Italian? Chi parla italiano?

      Ciao a tutti, puro italiano…nella forma e nell’animo! :winking_face:
      Io sto iniziando a districarmi fra i vari moduli SW e HW.
      Se riuscissimo a formare una specie di gruppo non sarebbe male!

      A disposizione…

      posted in General Discussion
      E
      Egnos
    • RE: Start or not...?

      @j-e-f-f said in Start or not...?:

      Pi 3B has WiFi and bluetooth built-in. Pi 2B needs a USB dongle, but they’re not expensive.

      Yes, I have Raspberry PI3.

      @j-e-f-f said in Start or not...?:

      If you want to display your house temperature, you need a smart thermostat like a Nest or an Ecobee. There exists a module for Nest, but I don’t know about Ecobee. Maybe you would relay that through Home Assistant?
      If you want to display the weather outside, there are a bunch of weather modules available. I’m sure will suit your needs well.

      I would like to display the “real” outdoor temperature, if possible using a temperature sensor.
      I would like the real external and internal temperature (the internal one I will take from a smart thermostat) always be visible on my MM.
      The temperatures acquired by the various modules are estimates…correct?

      @peter said in Start or not...?:

      I use cheap Xiaomi sensors in all rooms in my house, displayed on MM.
      Peter

      Which module for MM do you use?
      Which xiaomi sensor do you use?

      I have another questions:

      • I bought the “Sonoff 4ch pro r2” but I do not understand how to make the Sonoff work together with the physical switch.
        Example:
        STEP 1: I turn on the light 1 with Sonoff
        STEP 2: I turn off the light 1 from the physical switch
        STEP 3: I turn on the light 1 with Sonoff
        It’s possible?

      • Is it possible to receive feedback from the “Sonoff”?
        Example: I would like to know if the house gate is open or closed or if the garden light is on, etc …

      • the “Sonoff 4ch pro r2” has a 433Mhz receiver (I think it is used to open the automatic gates …) and I would like to use it using a 433Mhz transmitter.
        Are there transmitters with 433Mhz for Raspberry?
        Have you tested someone?
        Could I use GA to open the gate at home?

      Thank you for your precious help!!

      posted in General Discussion
      E
      Egnos
    • RE: Start or not...?

      Sorry guys,
      exist a wireless sensor (WiFi, bluetooth,etc…) that transmits the temperature to the Raspberry?
      Maybe there is some MM module that manages the communication …

      Thanks
      Good night! :sleeping_face:

      posted in General Discussion
      E
      Egnos
    • RE: Start or not...?

      @peter thanks for your precious advice!
      I would like to start but for work I am often around Europe and time is always a little … !!
      I’ll start soon … promised!:smiling_face_with_halo:

      @peter said in Start or not...?:

      But I find it more fun to say: “Hey Google, turn on the fountain …”

      Ok, but how do you connect a sentence to GA with a command to Sonoff?

      Thanks for your patience!

      posted in General Discussion
      E
      Egnos
    • 1 / 1