Hello,
I’m running a MagicMirror2 Instance as server only on a Raspberry Pi now for ~2 years without any big problems. Today I wanted to display the states of my 4 Bose Soundtouch devices. At first it worked fine, the status informations were displayed correctly. Then, I don’t know what I did while configurating, the load on my Pi kept rising till freeze. I couldn’t find a reason in the system logs. My MagicMirror instances doesn’t log anything or at least I don’t know where by default.
Now, after reboot, the Bose-Module doesn’t work correctly anymore. I keeps flashing and jumps between displaying the status information to the way the module looks, when the speakers are turned off.
I can see the html switching in irregular intervals to an empty “module-content”-div.
The startup doesn’t throw any errors:
user@host: node serveronly
Starting MagicMirror: v2.1.2
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
Initializing new module helper ...
Module helper loaded: MMM-CalendarExt
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
Module helper loaded: MMM-Bose-Soundtouch
All module helpers loaded.
Starting server on port 8081 ...
Server started ...
Connecting socket for: MMM-CalendarExt
Connecting socket for: MMM-Bose-Soundtouch
Bose helper started ...
Sockets connected & modules started ...
Ready to go! Please point your browser to: http://localhost:8081
My config.js
{
module: "MMM-Bose-Soundtouch",
position: "top_right",
config: {
updateInterval: 5, // every 5 seconds
apiBase: '192.168.24.46', //bathroom1
hideImage: true
}
},
{
module: "MMM-Bose-Soundtouch",
position: "top_right",
config: {
updateInterval: 5, // every 5 seconds
apiBase: '192.168.24.44', //office1
hideImage: true
}
},
{
module: "MMM-Bose-Soundtouch",
position: "top_right",
config: {
updateInterval: 5, // every 5 seconds
apiBase: '192.168.24.32', //kitchen1
hideImage: true
}
},
{
module: "MMM-Bose-Soundtouch",
position: "top_right",
config: {
updateInterval: 5, // every 5 seconds
apiBase: '192.168.24.36', //bedroom1
hideImage: true
}
},
Module: https://github.com/SpoturDeal/MMM-Bose-Soundtouch
The other modules (clock, currentweather, weatherforecast, MMM-CalendarExt) work fine. The problem is server-side. Clearing the clients cache or using different browser for testing didn’t pay off.
It seems like there is something wrong stuck in the cache or something. Any help to debug and solve this issue would be great. Thanks!