MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. open_book
    O
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 24
    • Best 6
    • Controversial 0
    • Groups 0

    open_book

    @open_book

    Once spent a month trying to make a machine to ignite wire wool at the press of a button. It really shouldn't have taken that long.

    7
    Reputation
    1221
    Profile views
    24
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.wordy.no Location oslo

    open_book Unfollow Follow

    Best posts made by open_book

    • RE: MMM-Pnews

      Hey @cowboysdude, thanks for another great module!

      You should update the readme with the correct link for cloning:

      git clone https://github.com/cowboysdude/MMM-PNews.git

      This will save precious seconds for us copy-pasters 😉

      posted in Utilities
      O
      open_book
    • RE: MMM-PIR-Sensor tuning

      @jc21 just for closure here I found the issue. After running the python script again I realised that the PIR was always HIGH even with the sensitivty dialled right down.

      So I checked the leads going into the pi and found that, despite checking it many times, I’d mixed up GND and VCC 😞

      The lesson for any other idiots out there when testing is, run this Python script and make sure that the PIR stops broadcasting “Motion Detected!” when you cover it with something:

      from gpiozero import MotionSensor
      import os
      
      pir= MotionSensor(22) //the gpio pin PIR OUT is connected to
      while True:
                     if pir.motion_detected:
                     print (“Motion Detected!”)
      

      Code from this site

      With some further adjustments for sensitivity it’s now working great!

      posted in Troubleshooting
      O
      open_book
    • RE: Where are you from?

      @Mitchfarino I grew up in Penwortham.

      posted in General Discussion
      O
      open_book
    • RE: Today's weather [default module] not correct. Rest of the week is fine.

      You’re right! An area around Oslo and to the North of the city is showing an incorrect temprature on the site.

      I’ve submitted an issue to them. Hopefully they’ll fix it soon.

      posted in Troubleshooting
      O
      open_book
    • RE: Where are you from?

      I’m currently in Oslo, Norway.

      posted in General Discussion
      O
      open_book
    • RE: Update Error of v.2.2.0 :(

      @bhepler @fox I had the same problem and followed the steps here to reinstall electron. It worked for me without further changes.

      Thanks!

      posted in Troubleshooting
      O
      open_book

    Latest posts made by open_book

    • RE: Microsoft To-Do (wunderlist replacement?)

      @thobach thanks for your effort. Just got this up and running from your instructions in the README. Very pleased. 👍

      posted in Requests
      O
      open_book
    • RE: MMM-Wunderlist

      Two things from your config:

      You’ve written “accessTOKEN:” instead of “accessToken:”

      And you have a comma after “clientID:‘2cxxxxxxxxxxxx49’,”
      This is the last line in this bracket and therefore shouldn’t have a comma.

      posted in Troubleshooting
      O
      open_book
    • RE: MMM-Ruter (for Oslo and Akershus in Norway)

      @simonhh can you post the Ruter section of your config file?

      Here’s mine which is working fine for comparisson:

                   {
                              module: 'MMM-Ruter',
                              header: 'Ruter',
                              position: 'bottom_left',
                              config: {
                                      showPlatform: false,
                                      maxItems: 10,
                                      stops: [
                                              {
                                                      stopId: "3010430",
                                                      platforms: [ ],
                                                      timeToThere: 1
                                              }
                                              ]
                                      }
                      },
      
      posted in Transport
      O
      open_book
    • RE: Update Error of v.2.2.0 :(

      @bhepler @fox I had the same problem and followed the steps here to reinstall electron. It worked for me without further changes.

      Thanks!

      posted in Troubleshooting
      O
      open_book
    • RE: ipWhitelist HowTo

      @mochman sorry for the slow reply. I’ve been on holiday.

      Wanted to let you know that your suggestion fixed my problem. I added your suggested IPs and now I can both access through SSH and through a mobile device/browser.

      Thanks for your replies!

      posted in Tutorials
      O
      open_book
    • RE: ipWhitelist HowTo

      Hi @mochman thanks for your reply!

      You’re correct that I’m SSH’ing to the mirror from within my home network. I use putty from a laptop that is connected to my wireless router and uses an IPv4 address. The setup looks like this if I run ipconfig from the laptop:

      Link-local IPv6 Address . . . . . : XXXX::XXXXX:XXXX:XXXX:XXXX%XX
      IPv4 Address. . . . . . . . . . . : 192.168.X.XX
      Subnet Mask . . . . . . . . . . . : 255.255.255.0
      Default Gateway . . . . . . . . . : 192.168.X.X

      I can gain access through my mobile and laptop as long as I open for all devices. But as soon as I limit it to even a broad range of ip addresses - they get shut out.

      Here’s the setup on the mirror:

      wlan0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
      link/ether XX:XX:XX:XX:XX:XX XXX ff:ff:ff:ff:ff:ff
      inet 192.168.0.19/24 brd 192.168.0.255 scope global wlan0
      valid_lft forever preferred_lft forever
      inet6 XXXX::XXXX:XXXX:XXXX:XXXX/XX scope link
      valid_lft forever preferred_lft forever

      Here’s the full ipWhitelist I’m trying at the moment:

      [“127.0.0.1”, “::ffff:127.0.0.1”, “::fff:192.168.1.1/112”, “::1”, “::ffff:192.168.1.1/120”, “::ffff:192.168.0.14”, “::ffff:192.168.0.16”]

      Any tips, or anything else I can supply to help?

      EDIT: mobile ip config looks the same as the laptop ip config.

      posted in Tutorials
      O
      open_book
    • RE: ipWhitelist HowTo

      @mochman I’m experiencing a similar problem to the one @looolz describes above.

      I can access through SSH (putty) no problem. I’ve seen the logs “Access denied to …” and added the two addresses (my laptop and mobile) to the ipWhitelist.

      I’ve also added the “…1.1/120” and “…1.1/112” to the list but I still get access denied.

      I did get both devices working for a while - but was then denied access through putty! I’d really like to be able to access through mobilebrowser for MMM-remotecontrol AND SSH for other work.

      The reason for this comment is that I checked wlan0 and I have an inett6 addr listed.

      You mention this above but don’t say what to consider next. If you’re still around and have any thoughts about this I’d appreciate it!

      resulted in me being able to connect from mobile/laptop but meant that SSH stopped working.

      posted in Tutorials
      O
      open_book
    • RE: MMM-Pnews

      Hey @cowboysdude, thanks for another great module!

      You should update the readme with the correct link for cloning:

      git clone https://github.com/cowboysdude/MMM-PNews.git

      This will save precious seconds for us copy-pasters 😉

      posted in Utilities
      O
      open_book
    • RE: [Remote-Control] Shutdown, Configure and Update your MagicMirror

      Well done for getting the update out!

      Can’t wait to give it a try.

      posted in System
      O
      open_book
    • RE: My Mirror

      @planet4 I got some cheap heat sinks for the RPi 3 I’m using just for safety, but my mounting solution avoids boxing the thing in. It’s open around the sides and looks as though it’s floating 4cm from the wall. This effect works fine for where I’m hanging my mirror - no one can see the sides!

      posted in Show your Mirror
      O
      open_book