A few things you can do:
Add your location inside the config.js under the module call. You can find this info inside the CONFIGURATION.md
i.e.
// — ESSENTIALS / modifying for your environment might be needed.
Use: https://www.mapdevelopers.com/geocode_tool.php
deviceLocation: {
coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
latitude: 00.0, // -90.0 - +90.0
longitude: -00.00, // -180.0 - +180.0
},
},
With MMM-Hotword, using USB mic (plughw:1) you need to use the following:
//Hotword Module
{
module: "MMM-Hotword",
config: {
record: {
recordProgram : "arecord",
device : "plughw:1",
},
autostart:true,
onDetected: {
notification: function (payload) {
return "ASSISTANT_ACTIVATE"
},
payload: function (payload){
return {
profile: payload.hotword
}
}
},
},
},
{
module: "MMM-AssistantMk2",
position: "bottom_bar",
config: {
record: {
recordProgram : "arecord",
device : "plughw:1",
},
notifications: {
ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
},
deviceLocation: {
coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
latitude: 00.00, // -90.0 - +90.0
longitude: -00.00, // -180.0 - +180.0
},
},
}
},
It works. Thank You! I am using the PS Eye as suggested in other forms. My audio out is still set to HDMI because im staging on my TV.
LPT: Add the following to the MK2 module config so the screens dont toggle so fast:
screenDuration: 5000, //this is milliseconds