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

    Posts

    Recent Best Controversial
    • RE: WiFi drops and reconnects regularly...

      Just a short information, after changing the powersupply to 5V/2A instead 5V/1,5A it now seems stable. I now only get a rekeying-message every 10mins in the syslog, which I suppose is my FritzBox. :)

      I’m using the internal WiFi - apparently withou power saving off. But seems OK.

      posted in Troubleshooting
      binderthB
      binderth
    • RE: ipWhitelist - still not working

      @Sean said in ipWhitelist - still not working:

      0.0.0.0/0

      same error on the Laptop.
      Still no change with the netstat:

      pi@MagicMirror2:~ $ sudo netstat -lnpt
      Aktive Internetverbindungen (Nur Server)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      441/sshd
      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN      462/mosquitto
      tcp        0      0 0.0.0.0:5900            0.0.0.0:*               LISTEN      490/vncserver-x11-c
      tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      909/electron.js
      
      posted in Troubleshooting
      binderthB
      binderth
    • ipWhitelist - still not working

      I’m using MM2 (latest) with pm2.
      in my config.js I tried everything, even this latest one:

      var config = {
      	port: 8080,
      
      	language: 'de',
      	timeFormat: 24,
      	units: 'metric',
      	ipWhitelist: [], 
      

      in startup I get this in the log:

      (...)
      All module helpers loaded.
      Starting server on port 8080 ... 
      You're using a full whitelist configuration to allow for all IPs
      Server started ...
      (...)
      

      I have no iptables in place:

      pi@MagicMirror2:~ $ sudo iptables -L
      Chain INPUT (policy ACCEPT)
      target     prot opt source               destination
      
      Chain FORWARD (policy ACCEPT)
      target     prot opt source               destination
      
      Chain OUTPUT (policy ACCEPT)
      target     prot opt source               destination
      pi@MagicMirror2:~ $ 
      

      stil, if I try to reach the MagicMirror from my Laptop, I see the connection refused message:
      0_1510135311872_3eee7549-ea75-42b6-b4ae-9f0d3be55879-image.png

      I can reach the Pi without problems on SSH-port and even send him MQTT-updates. So I assume, there’s no issue with iptables (as seen above, it’s all open).
      Is there anywhere, I can have a look on to solve this?

      posted in Troubleshooting
      binderthB
      binderth
    • RE: WiFi drops and reconnects regularly...

      @barnosch hmmm… Thanks! I just replaced the 1,5A with a 2A one as I lack a 2,5A one. I’ll Keep that in mind, though!

      posted in Troubleshooting
      binderthB
      binderth
    • WiFi drops and reconnects regularly...

      Hi there,

      I happen to find some strange entries in my logs. I’m not sure, if they are MM2 related, but perhaps someone can Point me in the right direction.
      I’m running MM2 (latest) on a raspberry Pi 3 model B (Hardware BCM2835, Revision a02082) and seemingly the WiFi disconnects on a regular base (sometimes around an hour, sometimes 20min) and at times won’t reconnect:

      /var/log/messages

      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304393] usb 1-1: USB disconnect, device number 6
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304419] usb 1-1.1: USB disconnect, device number 7
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304833] smsc95xx 1-1.1:1.0 enxb827eb395566: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304927] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.554214] Indeed it is in host mode hprt0 = 00021501
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.754068] usb 1-1: new high-speed USB device number 8 using dwc_otg
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.754318] Indeed it is in host mode hprt0 = 00001101
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.984336] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.984355] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.985385] hub 1-1:1.0: USB hub found
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.985487] hub 1-1:1.0: 5 ports detected
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.324025] usb 1-1.1: new high-speed USB device number 9 using dwc_otg
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.465152] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.465186] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.469158] smsc95xx v1.0.5
      Nov  8 07:39:10 MagicMirror2 mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1"
      Nov  8 07:39:10 MagicMirror2 mtp-probe: bus: 1, device: 9 was not an MTP device
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.568590] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:39:55:66
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.600462] smsc95xx 1-1.1:1.0 enxb827eb395566: renamed from eth0
      Nov  8 07:39:11 MagicMirror2 kernel: [ 3491.976302] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup
      Nov  8 07:39:11 MagicMirror2 kernel: [ 3491.976719] IPv6: ADDRCONF(NETDEV_UP): enxb827eb395566: link is not ready
      
      ...
      
      Nov  8 08:33:09 MagicMirror2 kernel: [ 6730.310923] usb 1-1: USB disconnect, device number 8
      Nov  8 08:33:09 MagicMirror2 kernel: [ 6730.310952] usb 1-1.1: USB disconnect, device number 9
      Nov  8 08:33:09 MagicMirror2 kernel: [ 6730.311373] smsc95xx 1-1.1:1.0 enxb827eb395566: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
      Nov  8 08:33:09 MagicMirror2 kernel: [ 6730.311472] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup
      Nov  8 08:33:09 MagicMirror2 kernel: [ 6730.580643] Indeed it is in host mode hprt0 = 00021501
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6730.790635] usb 1-1: new high-speed USB device number 10 using dwc_otg
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6730.790867] Indeed it is in host mode hprt0 = 00001101
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.021176] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.021204] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.022487] hub 1-1:1.0: USB hub found
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.022594] hub 1-1:1.0: 5 ports detected
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.340631] usb 1-1.1: new high-speed USB device number 11 using dwc_otg
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.470918] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.470937] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.474357] smsc95xx v1.0.5
      Nov  8 08:33:10 MagicMirror2 mtp-probe: checking bus 1, device 11: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1"
      Nov  8 08:33:10 MagicMirror2 mtp-probe: bus: 1, device: 11 was not an MTP device
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.565397] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:39:55:66
      Nov  8 08:33:10 MagicMirror2 kernel: [ 6731.595975] smsc95xx 1-1.1:1.0 enxb827eb395566: renamed from eth0
      Nov  8 08:33:11 MagicMirror2 kernel: [ 6731.864586] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup
      Nov  8 08:33:11 MagicMirror2 kernel: [ 6731.865091] IPv6: ADDRCONF(NETDEV_UP): enxb827eb395566: link is not ready
      

      /var/log/syslog

      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304393] usb 1-1: USB disconnect, device number 6
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304419] usb 1-1.1: USB disconnect, device number 7
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304833] smsc95xx 1-1.1:1.0 enxb827eb395566: unregister 'smsc95xx' usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.304927] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup
      Nov  8 07:39:09 MagicMirror2 dhcpcd[384]: enxb827eb395566: removing interface
      Nov  8 07:39:09 MagicMirror2 kernel: [ 3490.554214] Indeed it is in host mode hprt0 = 00021501
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.754068] usb 1-1: new high-speed USB device number 8 using dwc_otg
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.754318] Indeed it is in host mode hprt0 = 00001101
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.984336] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.984355] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.985385] hub 1-1:1.0: USB hub found
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3490.985487] hub 1-1:1.0: 5 ports detected
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.324025] usb 1-1.1: new high-speed USB device number 9 using dwc_otg
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.465152] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.465186] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.469158] smsc95xx v1.0.5
      Nov  8 07:39:10 MagicMirror2 mtp-probe: checking bus 1, device 9: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1"
      Nov  8 07:39:10 MagicMirror2 mtp-probe: bus: 1, device: 9 was not an MTP device
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.568590] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:39:55:66
      Nov  8 07:39:10 MagicMirror2 kernel: [ 3491.600462] smsc95xx 1-1.1:1.0 enxb827eb395566: renamed from eth0
      Nov  8 07:39:11 MagicMirror2 dhcpcd[384]: enxb827eb395566: waiting for carrier
      Nov  8 07:39:11 MagicMirror2 dhcpcd[384]: enxb827eb395566: waiting for carrier
      Nov  8 07:39:11 MagicMirror2 kernel: [ 3491.976302] smsc95xx 1-1.1:1.0 enxb827eb395566: hardware isn't capable of remote wakeup
      Nov  8 07:39:11 MagicMirror2 kernel: [ 3491.976719] IPv6: ADDRCONF(NETDEV_UP): enxb827eb395566: link is not ready
      

      Somebody got the same errors?

      posted in Troubleshooting
      binderthB
      binderth
    • RE: MMM-Fritz-Box-Callmonitor // How to display internal calls & names?

      Did you find a solution to this one? I intend to buy a doorbell with video and I want to integrate its video also.

      posted in Troubleshooting
      binderthB
      binderth
    • RE: [MMM-iFrameReload]: iFrame won't refresh

      @binderth
      I want to solve! ;)
      see on github: https://github.com/TheBogueRat/MMM-iFrameReload/issues/2

      I also changed the “MMM-iFrameReload.js”: line 32:

      		iframe.src =  this.config.url + '&' + new Date().getTime();
      

      this way, the URL is different everytime - perhaps it is some kind of caching issue.?

      posted in Troubleshooting
      binderthB
      binderth
    • RE: [MMM-iFrameReload]: iFrame won't load

      @yawns
      did that already, even played around with the comma at the end…
      see: https://forum.magicmirror.builders/topic/2640/mmm-iframereload-iframe-won-t-refresh

      posted in Troubleshooting
      binderthB
      binderth
    • [MMM-iFrameReload]: iFrame won't refresh

      After I managed to load the iFrame at all (see https://forum.magicmirror.builders/topic/2637/mmm-iframereload-iframe-won-t-load), the iFrame (in my case the present snapshot picture of a webcam) is loaded, but not refreshed.
      I made a pull request to update the readme of https://github.com/TheBogueRat/MMM-iFrameReload, see https://github.com/TheBogueRat/MMM-iFrameReload/pull/5 , so my config.js looks like this:

      		{
      		module: 'MMM-iFrameReload',
      		position: 'top_left',	// This can be any of the regions.
      		config: {
      			// See 'Configuration options' for more information.
      				url: 'http://192.168.178.xx:xx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=USER&pwd=PASS',
      				width: '640px', // Optional. Default: 100%
      				height: '360px', //Optional. Default: 100px
      				refreshInterval: 10  //Optional. Default: 3600 = 1 hour
      			}
      		},
      

      with this, the iframe is loaded, but not refreshed after 10 seconds, I do get the following every 10 seconds in the console - so I guess principially it works?:

      attempting to update dom for iFrameReload  MMM-iFrameReload.js:52:3
      /"this/" module is: [object Object]  MMM-iFrameReload.js:53:3
      attempting to update dom for iFrameReload  MMM-iFrameReload.js:52:3
      /"this/" module is: [object Object]  MMM-iFrameReload.js:53:3
      

      what I did also is changing the last Attribute:

      				refreshInterval: '10'  //Optional. Default: 3600 = 1 hour
      

      removed and added the ’ around the 10 and added a comma at the end of the line. still the same: iframe gets loaded, but not refreshed.

      posted in Troubleshooting
      binderthB
      binderth
    • RE: [MMM-iFrameReload]: iFrame won't load

      @yawns said in [MMM-iFrameReload]: iFrame won’t load:

      The readme of the module is wrong

      that’s right!, but even after Setting the “MMM-” in front, it still doesn’t show. still the same entry in the log, but no iframe gets loaded.
      finally, after changing all " to ’ it worked:

      		{
      		module: 'MMM-iFrameReload',
      		position: 'top_left',	// This can be any of the regions.
      		config: {
      			// See 'Configuration options' for more information.
      				url: 'http://192.168.178.xx:xx/cgi-bin/CGIProxy.fcgi?cmd=snapPicture&usr=USER&pwd=PASS',
      				width: '640px', // Optional. Default: 100%
      				height: '360px', //Optional. Default: 100px
      				refreshInterval: '10'  //Optional. Default: 3600 = 1 hour
      			}
      		},
      

      … only after 10 seconds there’s no reload sadly.

      posted in Troubleshooting
      binderthB
      binderth
    • 1 / 1