I’ve tried
address: "Localhost",
already without luck, but
address: "0.0.0.0",
is working for me!
You made my day! Thank you!
I’ve tried
address: "Localhost",
already without luck, but
address: "0.0.0.0",
is working for me!
You made my day! Thank you!
Sometimes a pictures tells you more than words…
You did it! Great job! Thank you! :-)
Next step are to integrate te Yeelights ;-)
I would be interested in this module as well. Am not able to code, but at least am able test.
Is this module still working? The only one I found was this one: https://github.com/joseska/MMM-Xiaomi-Vacuum
This looks more like Romba than Xiaomi. I didn’t tried out.
Found the right one: https://github.com/poketcalulator/MMM-XiaomiVacuum
it’s working like a charm with a Roborock V1 on lates FW. Thank you for your work!
I love this! I was waiting all the time for a module like this! Thank you!
I’ve installed without any errors but I get only a “loading” screen.
No errors in my MM-out or my MM-error-log
Any Idea?
My config:
{
module: 'MMM-FlightsAbove',
header: 'Flights Above',
position: 'middle_center',
config: {
header: "Flights Above", // The module header text, if any. Use: "" to remove.
compassHeading: true, // Use a compass direction (NSWE) for the of heading indicator ("45" vs "NE")
updateInterval: 180, // [s] Radar scan/ping/update period in secodns [default 3 min]
maxItems: 10, // MAX Number of planes to display [default is 10]
// The geographical (map) Boundary-Box (BB), from within planes will be shown are given by:
// the maximim Lat/Lon edges of: [N-lat, W-lon, S-lat, E-lon] - all in decimal degrees.
radarBBox: [52.43677263,9.71449553,52.24300914,9.89569576], // "HAJ" (Hannover Airport)
//radarLocation: "23.2,54.2", // [Lat,Lon] - The location of radar center in decimal degrees
//radarRadius: 60, // [km] - The maximum distance of planes shown.
//watchList: "", // Alert or Highlight planes/flights/types on this watch list
}
},
There is no location in your config, or did you replaced the location with the *** ?
Da ist keine location in deiner config angegeben, es sei denn, du hast die id durch die *** ersetzt.
Just to let you know: In my case it was the MMM-iHaveBeenThere module which caused the trouble.
Is USB debug enabled on your Mobile? You only need to hit the Button “Token auslesen”
I remember that I had this error as well, but I can not remember what I did to solve it. But usually i would try this:
A different version of Mi Home, or / and a different device.
I’ve tried it right now and it was working for me with Java 8 Update 151 MiToolkit 1.5, Mi Home 4.3.15 ( Yes i know its outdated but the 5.x I don’t like) on a Samsung with Android 6.0.1
@Mykle1 said in Rpi3 freezes after a few houres:
Have you tried running only the default modules to see if the problem still occurs? If it does not, add them one by one, or in pairs, until you experience a problem so you can isolate the issue.
Ok, this is what I try now. Thank you for your help!
I checked this, unfortunately I’m not running two instances. The second one is a service needed by the Sonos Module.
It seams to me that there a few people which having problems since 2.2.2?
pi@MagicMirror:~ $ pm2 status
??????????????????????????????????????????????
? Name ? mode ? status ? ? ? cpu ? memory ?
??????????????????????????????????????????????
? mm ? fork ? online ? 0 ? 0% ? 1.3 MB ?
? sonos ? fork ? online ? 0 ? 0% ? 1.3 MB ?
??????????????????????????????????????????????
Use `pm2 show ` to get more details about an app
pi@MagicMirror:~ $
Hi there,
I have a strange problem with my MM. After a few hours the MM is complete frozen. No ssh, no ftp and a frozen screen as well.
I’ve updated to MM 2.2.2 with a fresh install on the same Rasbian as MM 2.2.1 was running. After installing I was coping over from the old MM directory those modules I wanted keep in my new MM - without npm install them. Its running well. I used my old config.js too.
A fresh rebooted system is running down from 37% free memory to 0% and freezes.
I have seen, that there are 4 tasks of electron are running which are taking all the memory.
I have no errors in the logs!
Any idea what to do?
My config.js:
/* Magic Mirror Config Sample
*
* By Michael Teeuw http://michaelteeuw.nl
* MIT Licensed.
*/
var config = {
port: 8080,
address: "0.0.0.0",
language: 'de',
timeFormat: 24,
units: 'metric',
modules: [
{
module: 'alert',
},
{
module: 'clock',
position: 'top_left'
},
{
module: 'calendar',
header: 'Mein Kalender',
position: 'top_left',
config: {
calendars: [
{
symbol: 'calendar-check-o ',
url: 'webcal://www.ifeiertage.de/ni-.ics'
},
{
symbol: 'calendar-o',
url: 'https://calendar.google.com/calendar/ical/private-basic.ics'
},
]
}
},
{
module: 'currentweather',
position: 'top_right',
config: {
location: 'Langenhagen',
locationID: '2881062', //ID from http://www.openweathermap.org
appid: '
}
},
{
module: 'weatherforecast',
position: 'top_right',
header: 'Wettervorschau',
config: {
location: 'Langenhagen',
locationID: '2881062', //ID from http://www.openweathermap.org
appid: '
}
},
{
module: 'MMM-Remote-Control',
// uncomment the following line to show the URL of the remote control on the mirror
//position: 'bottom_left'
// you can hide this module afterwards from the remote control itself
},
{
module: 'MMM-PNews',
position: 'bottom_bar',
config: {
key: "",
maxWidth: "100%",
newsSource: "der-tagesspiegel", // "der-tagesspiegel", "die-zeit", "gruenderszene", "spiegel-online", "t3n", "wired-de",
}
},
{
module: 'newsfeed',
position: 'bottom_bar',
config: {
feeds: [
{
title: "HAZ Schlagzeilen",
url: "http://www.haz.de/rss/feed/haz_schlagzeilen",
},
{
title: "SPIEGEL Schlagzeilen",
url: "http://www.spiegel.de/schlagzeilen/index.rss",
},
],
showSourceTitle: true,
showPublishDate: true,
showDescription: true,
updateInterval: 20 * 1000,
animationSpeed: 3.5 * 1000
}
},
{
module: 'internet-monitor',
position: 'top_center',
header: '',
config:{
type: 'minimal',
maxTime: 1,
updateInterval: 9000000,
verbose: false,
displayStrength: true,
displaySpeed: true,
strengthIconSize: 80,
maxGaugeScale: 1,
wifiSymbol:{
size: 20,
fullColor: '#3afc25',
almostColor: '#ffff0c',
halfColor: '#ff8c00',
noneColor: '#ff1111'
},
},
},
{
module: 'MMM-MovieListings',
position: 'bottom_right',
header: '',
config: {
includeMoviePlot: true,
apiKey : "",
interface: 'poster', //'list', 'poster', 'detailed'
//moviesPerPage : 5,
pageChangeInterval : 20 * 1000, // = 30 seconds
refreshInterval : 1000 * 60 * 60 * 24, // = Once a day
}
},
{
module: 'MMM-Fuel',
position: 'top_left',
config: {
api_key: "",
lat: 52.429327,
lng: 9.726591,
sortBy: "e5",
types: ["e5", "diesel"],
rotate: false,
open: true
}
},
{
module: 'MMM-nasaastropic',
position: 'top_left',
config: {
updateInterval: 6*60*60*1000,
animationSpeed: 0,
header: 'NASA - Bild des Tages',
maxlongedge: 1300
}
},
{
module: 'MMM-SystemStats',
position: 'top_left', // This can be any of the regions.
classes: 'small dimmed', // Add your own styling. Optional.
config: {
updateInterval: 10000,
animationSpeed: 0,
align: 'left', // align labels
//header: 'System Stats', // This is optionaL
},
},
},*/
{
module: 'MMM-Carousel',
config: {
transitionInterval: 20000,
ignoreModules: ['clock', 'alert', 'internet-monitor', 'currentweather', 'MMM-Remote-Control',],
mode: 'slides',
slides: [
['calendar', 'MMM-PNews', 'MMM-MovieListings', 'MMM-Sonos',],
['MMM-nasaastropic', 'weatherforecast',],
['MMM-Fuel', 'newsfeed', 'MMM-MovieListings', 'MMM-Sonos',],
['MMM-Events','MMM-SystemStats', 'MMM-MovieListings', 'MMM-PNews', 'MMM-Sonos',],
['MMM-xiaomi', 'MMM-SystemStats', 'weatherforecast', 'MMM-Sonos',],
['MMM-iHaveBeenThere']
]
}
},
{
module: 'MMM-Events',
position: 'top_left',
config: {
city: "Hannover", // Your City
eventType: "performing_arts", // Choose from Events List below
when: "Next week", // "All", "Future", "Past", "Today", "Last Week", "This Week", "Next week", and months by name, e.g. "October"
mode: "noFrame", // "Frame" or "noFrame" (around picture)
apikey: "",
rotateInterval: 1 * 60 * 1000, // New Event Appears every 3 minutes
useHeader: false, // Set to true if you want a header
header: "",
animationSpeed: 3000, // Event fades in and out
picture: true, // true, false = no image
}
},
{
module: 'MMM-xiaomi',
position: 'bottom_left',
header: 'Temperatur / Feuchtigkeit', // This is optional
config: {
gatewayIP: '192.168.2.160',
gatewayToken: '6ebf9b84e5c615c09268166a99b95f0a',
showWindow: true,
showVentilation: false,
minTemperature: false,
maxHumidity: false,
showTrend: true,
showNotifications: false,
outsideSensorId: '158d0001b920bd',
rooms: [
{ name: 'Wohnzimmer', sortOrder: 30, devices : ['158d00015736a8', '158d000119fcb2'] },
{ name: 'Bad', sortOrder: 30, devices : ['158d0001b911b9'] },
{ name: 'Schlafzimmer', sortOrder: 30, devices : ['158d0001b91177', '158d00011919a3', '56234267'] },
{ name: 'Arbeitszimmer', sortOrder: 30, devices : ['158d0001b9035b'] },
{ name: 'Draußen', sortOrder: 30, devices : ['158d0001b920bd'] },
],
}
},
{
module: 'MMM-iHaveBeenThere',
position: 'middle_center', // bigger place is recommended.
config: {
zoomLevel: 1.0,
home_desc: "Langenhagen",
home_lat: 52.436972,
home_lon: 9.714468,
away_lat: [8.077707, -4.251792, 43.653226, 13.062883, 35.902819, 23.089880, 7.934206, 11.199286, 20.629559, 45.440847, 36.543312, 56.949649, 47.497912, 41.385064, 40.416775, 30.388870, 6.451360, 47.582370, 46.776085, 3.157764, 45.438845, 50.075538, 36.405267, 38.966901, ],
away_lon: [77.531977, 39.598932, -79.383184, -59.542683, 14.487007, -82.361938, 98.371216, -60.789940, -87.073885, 12.315515, 32.008322, 24.105186, 19.040235, 2.173403, -3.703790, -9.600254, 79.978741, 12.162750, 9.676668, 101.711860, 17.191742, 14.437800, 10.622360, 1.551727, ],
away_desc: ["Indien", "Kenja", "Kanada", "Barbados", "Malta", "Cuba", "Thailand", "Trinidad & Tobago", "Mexico", "Venedig", "Türkei", "Letland", "Budapest", "Barcelona", "Madrid", "Marokko", "Sri Lanka", "Österreich", "Schweiz", "Malaysia", "Kroatien", "Prag", "Tunesien", "Ibiza"],
trip: [false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false]
}
},
{
module: 'MMM-Sonos',
position: 'middle_center', // you may choose any location
config: {}
}
]
};