Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    1. Home
    2. evroom
    MagicMirror² v2.15.0 is available! For more information about this release, check out this topic.
    • Profile
    • Following 0
    • Followers 2
    • Topics 10
    • Posts 388
    • Best 29
    • Groups 1

    Erik Jan

    @evroom

    31
    Reputation
    2706
    Profile views
    388
    Posts
    2
    Followers
    0
    Following
    Joined Last Online

    evroom Follow
    Project Sponsor

    Best posts made by evroom

    • RE: I am stuck need help

      @dcarls91
      I understand that in the beginning the amount information can be overwhelming, but how are you going to find out what you are doing when you scrape your project?
      Especially when you are so close in getting the ‘Mirror’ started; just a few characters are missing in the config file.
      The community here is very active and very helpful and can step down a nodge when it is getting too technical.
      Of course it is expected that you have a certain level of knowledge or that you are willing to obtain that level.

      Besides spending several hours, did you spend any money on equipment, etc?

      If you decide to give it a last effort, then it would help to tell us on what platform your Mirror is running (Raspberry, PC, Ubuntu, etc) and it would help to report back with a bit more details (other than I tried and it did not work).
      And if someone tells you to perform action XYZ and you have no idea what the heck XYZ is or how to execute, then don’t be afraid to say so.

      The suggestions given, like try it module by module and the config check are very useful (I guess everyone was in this position, I know I was) and will solve your issues.

      If you decide to move away from Magic Mirror, then I respect that, but perhaps you will reconsider.

      Disclaimer: I do not have any shares in the project and am by no means an expert. Just reaching out. 🙂

      posted in Troubleshooting
      evroom
      evroom
    • RE: CANNOT ADD MODULES

      Hi,

      For beginners, the catchphrase is “JSON syntax”.
      There are many articles to be found, both short and lengthy.
      A small article would be:
      https://restfulapi.net/json-syntax/

      The main things to look for in your config.js file are:

      • does every [ have a matching ]
      • are all arrays separated by a , (the last array does not need a ,)
      • does every { have a matching }
      • are all objects separated by a , (the last object does not need a ,)
      • is every name value pair separated by a ,

      The syntax checker will try to find out if this syntax is correct and tries to predict where the error could be.
      So, when it says it saw a [ and it cannot find a matching ] it tells you what was expected and what it saw.

      Try to format you config.js to make it more visible.
      For example this:

      [{},{}],[{},{[]}]
      

      is better written like this:

      [
        {},
        {}
      ],
      [
        {
        },
        {
          [
          ]
        }
      ]
      

      Pairs of [ ]and { } are better visible like this.

      Good luck 🙂

      posted in Troubleshooting
      evroom
      evroom
    • RE: Cronjob

      @CyruS1337 said in Cronjob:

      I have always used the command sudo crontab -e and with this it did not work.

      Just to clarify.

      Normally you are user pi: $ who am I

      So crontab -e will work for the pi user.
      Using sudo crontab -e will change the crontab for the root user.

      Now how can you tell what is what ?

      For the user pi:
      $ sudo crontab -l -u pi
      which is the same as
      $ crontab -l
      For the user root:
      $ sudo crontab -l -u root

      Furthermore, when you have activated the root crontab, then the command will run as root, in the root (/) directory.
      In this case pm2 reload command will search for the mm.sh script under / and will not find it.
      Whereas when activated the pi crontab, the mm.sh script will be searched in the /home/pi directory, where it should be, and it will work.

      Use pm2 show mmto show the details on mm under pm2.
      Then you will understand it better.

      Cron messages normally are directed to /var/log/cron.log, but on my system it is not directed:

      $ grep cron /etc/rsyslog.conf
      #cron.*				/var/log/cron.log
      

      To see the cron messages, when not in cron.log:

      $ tail -F /var/log/syslog | grep CRON
      

      [ On my system I see CRON messages for root, although I do not have root crontab entries. There is a crond running that runs alongside $ systemctl status cron.]

      Have fun 🙂

      posted in Troubleshooting
      evroom
      evroom
    • RE: TV Tuner

      I got streaming from a Linux SAT receiver with enigma2 working, using the module MMM-RTSPStream-
      But you will need to supply a bit more information than rather ‘a TV tuner’.

      posted in Requests
      evroom
      evroom
    • RE: Portrait Mode

      See this thread:
      https://forum.magicmirror.builders/topic/9730/led-monitor-vertical-setup-how?_=1591998940597

      In your case I would try

      display_hdmi_rotate=1

      posted in General Discussion
      evroom
      evroom
    • RE: Calendar issue 2.8.0 - Repeating events

      @Clubjack and others,

      I noticed this problem too.
      For instance my birthday lasted 2 days ( only got presents once though) and my wedding-day is one day forward (which will upset my wife).
      The entries were made using Google Calendar (so not a calendar app that synchronizes with Google).
      I notice this since 2020, but that does not mean it did not happen before, could have overlooked it.
      When I ran a test with a dummy entry, it worked fine.
      When I toggle a „faulty“ entry from repeating to not repeating and then back to repeating, the entry is shown correct.
      I collected some data and will post it when I sorted it out a bit.

      posted in Bug Hunt
      evroom
      evroom
    • RE: show info from a webpage

      Probably there are better and possible simpler ways to get it done, but I do something similar using a Perl script and this module:
      https://github.com/eouia/MMM-HTMLBox
      The Perl script reads values and builds a HTML page.
      The module displays it on the Magic Mirror.
      A cron job makes it semi-static as it runs the script regularly.

      posted in Troubleshooting
      evroom
      evroom
    • RE: HomeKit or HomeBridge integration to readout room temperatures

      Okay, got it working.

      In ioBroker I needed to activate the "Build-in Simple-API in web.0.

      Then this works:

      http://[ioBroker_IP]:8082/help
      

      And this works:

      http://[ioBroker_IP]:8082/getPlainValue/hm-rpc.0.xxxxxxxxx.1.ACTUAL_TEMPERATURE
      
      posted in Requests
      evroom
      evroom
    • RE: Fresh Install

      @johnnyboy said in Fresh Install:

      Fingers x there is a Portrait fix going about, as cannot afford another build in Landscape mode

      Hi,

      Please read this thread:

      https://forum.magicmirror.builders/topic/9730/led-monitor-vertical-setup-how?_=1591998940597

      Perhaps it helps .

      posted in General Discussion
      evroom
      evroom
    • RE: pm2 Autostart invert issue

      @sdetweil said in pm2 Autostart invert issue:

      @Ethyx r u running buster?

      try this
      https://pimylifeup.com/raspberry-pi-rotate-screen/

      @Ethyx

      Did you try this?

      display_hdmi_rotate=2
      

      Make sure you only have one of the options active; not that you rotate a rotated screen. 🙂

      posted in Bug Hunt
      evroom
      evroom

    Latest posts made by evroom

    • RE: MMM-HomeConnect - Show the status of your Home Connect appliances (Bosch Group)

      Okay, understood.
      It means my oven is not on 🙂
      When I put on the oven, I see the Oven and the oven graphic.
      Neat !

      posted in Utilities
      evroom
      evroom
    • RE: MMM-HomeConnect - Show the status of your Home Connect appliances (Bosch Group)

      @djerik

      Hi,

      I finally managed to have the password stuff sorted out and can login again.
      After restarting MM, the login screen came up and I was able to login and accept the settings.

      Now the MMM-HomeConnect shows: “No active devices”.
      In my Home Connect app I have the Oven Appliance (from Neff) and I can control the appliance.

      Perhaps I have registered the wrong application ?
      Is application on the developer site the same as appliance ?
      Any extra steps I might need to take ?

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @djerik
      The problem at this moment is not related to your module.
      It is related to the home-connect accounts; the standard one and the developer one.
      I cannot login into both accounts; I cannot login into the account using the app.
      Password reset does not work; I do not get any mail.
      Even setup a new account and here too no mail to activate the account.
      I will need to contact the home-connect support, but could not find any time yet; hopefully this weekend.

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @djerik said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

      it will start a browser and show the authorization screen using this URI.

      It will not take my password 😞
      I have the same login name (email address) as the home-connect account, perhaps that is the reason.
      I am trying to delete the account, but till now no luck.
      Will keep trying and will report back.

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @djerik said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

      Inspired by the good work of @ViDiBi, I have created a version for Home Connect: https://github.com/djerik/MMM-HomeConnect

      Hi,

      I am having difficulties in registering an application in order to get a client ID and a client_secret.

      In the Register Application form, what do I use for example for the Redirect URI ?

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @warrendt

      Can you check following ?

      Process omx_stream1 present:

      $ pm2 status
      
      $ ps -eaf | grep -v grep | grep omxplayer
      

      Entries in pm2 log:

      $ pm2 logs --lines 100
      

      Might need to flush the logs and restart MM in order to show new RTSPStream log entries:

      $ pm2 flush
      $ pm2 restart MagicMirror
      
      $ pm2 logs --lines 100
      

      omxplayer version:

      $ omxplayer -version
      

      MMM-RTSPStream git status

      $ cd ~/MagicMirror/modules/MMM-RTSPStream
      $ git status
      

      I am on the develop branch, you might need o switch to that too.

      $ cd ~/MagicMirror/modules/MMM-RTSPStream
      $ git checkout develop
      $ npm install
      
      posted in Utilities
      evroom
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @Hram2008 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      Please see below.

      Hi,

      I would first disable the module (disabled: true,) and restart MM.
      Check if there are no omx_streams running (pm2 status).
      Stop them when present (pm2 stop omx_stream1 / pm2 delete omx_stream1).

      Then verify if omxplayer works standalone (use your own user & password & IP address).
      If it does not work standalone, then there is no need to continue trying the module.

      $ omxplayer --avdict rtsp_transport:tcp --win 85,65,725,425 --live --video_queue 4 --fps 30 --no-osd rtsp://user:password@192.168.178.55/axis-media/media.amp?resolution=640x360
      

      If that works you can try this verified config (use your own user & password & IP address):

      $ vi ~/MagicMirror/config/config.js
      
        {
          module: "MMM-RTSPStream",
          //disabled: false,
          disabled: true,
          position: "middle_center",
          header: "Axis Security Monitor",
          config: {
            autoStart: true,
            rotateStreams: false,
            moduleWidth: 640,
            moduleHeight: 360,
            localPlayer: 'omxplayer',
            remotePlayer: 'none',
            showSnapWhenPaused: false,
            remoteSnaps: false,
            stream1: {
              name: 'Axis_P1448_LE',
              url: 'rtsp://user:password@192.168.178.55/axis-media/media.amp?resolution=640x360',
              frameRate: "30",
              protocol: "tcp",
              width: 640,
              height: 360,
              omxRestart: 1,
              hwAccel: true,
            }
          }
        },
      

      This works for Axis P1448-LE, M2026-LE Mk II and M1125-E.

      Good luck.

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

      @Hram2008 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

      Any thoughts would be appreciated.

      I am not able to respond to your settings right now, please remind me when I do not answer in a few days.

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      @ViDiBi said in [MMM-MieleAtHome] - Show the status of your Miele@Home Devices:

      just uploaded some screenshots

      Nice!
      I do not have Miele, but Neff and that makes use of Home Connect.
      I see that Bosch, Siemens and Neff are listed, but not Miele.
      Still a nice module for MM, well done.

      posted in Utilities
      evroom
      evroom
    • RE: [MMM-MieleAtHome] - Show the status of your Miele@Home Devices

      Hi @ViDiBi

      Could you add one or more pictures?
      “Geräte werden geladen…“ is not vey exciting 🙂

      And does it work with Home Connect, or is it for Miele only?

      posted in Utilities
      evroom
      evroom