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

    Brian

    @tosti007

    Module Developer

    Computer science student, will build my own mirror in the near future. Just a module maker for the time being. If I haven't been online for a few days then I am busy with school and should be online within a week :)

    34
    Reputation
    4.9k
    Profile views
    165
    Posts
    1
    Followers
    1
    Following
    Joined
    Last Online
    Age 28
    Location Netherlands

    tosti007 Unfollow Follow
    Module Developer

    Best posts made by tosti007

    • RE: Updating modules

      Hello @kurt,
      It’s an error that shouldn’t be happening often, but luckily the solution is simple.
      First go to the module folder. Then type rm -f .git/index.lock, this removes the file that causes problems. After that you should be able to do your git pull without a problem :D

      posted in Troubleshooting
      tosti007T
      tosti007
    • RE: WE WANT YOU! [New Moderators]

      @yawns, @morozgrafix and @Jopyth congratulations!

      posted in Forum
      tosti007T
      tosti007
    • MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      This Module adds the ability to have different layouts for different profiles. I noticed that other were looking for it aswell and might not want to have Paviro’s Facial Recognition Module with it.
      This module uses the configured module’s classes and hides/shows them according to the current active profile.

      Features

      • Set any number of modules per profile
      • Use module name as profile
      • Configure multiple profiles
      • Set module for every profile
      • Set multiple custom messages for each profile (randomly chosen)

      You can find it here.
      [card:tosti007/MMM-ProfileSwitcher]


      Version 1

      • First version and implementation
      • Bug fixes and minor changes
      • Added random chosen message

      Version 2

      • Added configurable timers!
      • Add the use of lockstrings (thanks to @Jopyth)
      • Support older browsers
      • Added Spanish translations (thanks to @roramirez)

      Version 2.1

      • Added possibility to set a timer on the default class
      • Added French translation (thanks to @PatriceG)

      If you have any questions or requests for future features, don’t hesitate to ask!
      Note: If you use this module in combination with Paviro’s Facial Recognition Module and you update his then don’t forget to update this module and read the line numbers again.

      posted in Utilities user switch profile layout module
      tosti007T
      tosti007
    • RE: Adjust modules size to match each other (weather/calendar)

      @l8kerjuan xsmall means extra small, xlarge means extra large. No not all the same then different font sizes won’t have any effect. Instead you should either add or subtract a certain amount from all of them

      posted in Development
      tosti007T
      tosti007
    • MMM-TouchNavigation, A Touch Activated Profile/Layout Changer

      This Module adds a menu with buttons to change between different layouts. It works together with MMM-ProfileSwitcher. This module does the actual changing of layout. However if you do not want to use this module then you can make your own/use a different module for it aswell (if you change a bit of the code).
      You can configure multiple buttons with either a symbol, some text or both. The button that is currently selected will light up a bit. Lastly you can also change the direction of the menu buttons and the placement of the symbol.

      Features

      • Custom Text
      • Custom Symbol or Own Image
      • Customisable Button Size
      • Customisable Direction
      • Customisable Symbol/Image position

      You can find it here.
      [card:tosti007/MMM-TouchNavigation]

      If you have any questions or requests for future features, don’t hesitate to ask!

      Some screenshots with different configurations:
      Horizontal layout (row), symbol left, current “Brian”
      0_1484506765195_TouchNavigationMenu.png
      Horizontal layout (row), symbol top, minimum width 65px, current “default” (no text set so only symbol shown)
      0_1484506785513_TouchNavigationMenu2.png
      Vertical layout (column), symbol right, current “Lisa” (no symbol set so only text shown)
      0_1484506806977_TouchNavigationMenu3.png


      Version 1

      • First version and implementation
      • Added config example
      • Bug fixes

      Version 2

      • Added configurable images!
      • Code cleanup/small optimisation
      • Updated readme and config example

      Important Note:
      symbolPlacement is renamed to picturePlacement in the configuration options!
      The css class navigation-symbol is renamed to navigation-picture


      Version 2.1

      After MagicMirror framework update 2.1.1

      • Removed fullscreen region’s z-index in the css
      • Fullscreen position works!
      posted in Utilities touch navigation module layout profile button switch
      tosti007T
      tosti007
    • MMM-TouchNotifications, A Touch Activated Notification Sender

      This Module adds a menu with buttons which send fully configurable notifications when clicked. I made this after a request of @Ralf.
      This is basically a rewrite of my MMM-TouchNavigation. Compared to MMM-TouchNavigation this module needs more configuration but also allows you guys to use it for different stuff (for example your own modules). I hope to replace the MMM-TouchNavigation with this one some day.

      You can configure multiple buttons with either a symbol, some text or both. When configured the buttons fade a bit as shown in the pictures. You can also change the direction of the menu buttons and the placement of the symbol.

      As with MMM-TouchNavigation this module fully supports MMM-ProfileSwitcher, but does not need it. It depends on the other modules what kind of notifications you should send. Hence this module has a bit higher learning curve than others, but does allow for more options.

      Features

      • Custom Notifications
      • Custom Text
      • Custom Symbol or Own Image
      • Customisable Button Size
      • Customisable Direction
      • Customisable Symbol/Image position
      • Configurable Fading

      You can find it here.
      [card:tosti007/MMM-TouchNotifications]

      If you have any questions or requests for future features, don’t hesitate to ask!

      Some screenshots with different configurations:

      Horizontal layout (row), symbol left
      0_1484506765195_TouchNavigationMenu.png
      Horizontal layout (row), symbol top, minimum width 65px
      0_1484506785513_TouchNavigationMenu2.png
      Vertical layout (column), symbol right
      0_1484506806977_TouchNavigationMenu3.png


      Version 1

      • First version and implementation

      Version 2

      • Added fading
      • Added notification and fading shortcuts
        • profile - notification and fade
        • click - fade only
      posted in Utilities
      tosti007T
      tosti007
    • RE: MMM-TouchNavigation, A Touch Activated Profile/Layout Changer

      Hello everybody! I made a new module that is basically a rewrite of this one, but it allows for custom notifications. You can find more info about it here. MMM-TouchNotifications has the same features as MMM-TouchNavigation (the one you are looking at now).

      posted in Utilities
      tosti007T
      tosti007
    • RE: MM to periodically run a python or JS script?

      I am not sure if you still need it, but just in case:
      As far as I know there is the “python-shell” library which lets you do exactly that.
      Paul-Vincent Roll used it in his facial recognition module, that’s how I found out.
      link: https://github.com/paviro/MMM-Facial-Recognition

      posted in Requests
      tosti007T
      tosti007
    • RE: MM-Navbar - Navigation Bar for Touchscreens to hide/show modules

      @in_a_days put the names you want in an array, like so:

      var exceptClasses = ["clock", "weather", "calendar"]; //The list of modules you want to keep.
      MM.getModules().exceptModule(this).exceptWithClass(exceptClasses).enumerate(
          // Here the other code
      );
      
      posted in System
      tosti007T
      tosti007
    • RE: Need help from an CSS expert!

      @Mr.Sponti Good to hear that you have what you were looking for :D Looks nice!

      posted in Development
      tosti007T
      tosti007

    Latest posts made by tosti007

    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @Binog To be honest I have no clue why there would be an additional /, try pulling all the new updates from the magicmirror framework (perhaps it was a bug?). The config looks fine for me except the url looks a bit strange NOTIFICATION¬ification that part especially. Does it work when you go to the link manually?

      posted in Utilities
      tosti007T
      tosti007
    • RE: not able to profileswitch/schedule LocalTransport module

      My pull request was just merged with master so you should be able to use them together out of the box now without having to modify his module! :D

      posted in Troubleshooting
      tosti007T
      tosti007
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @Blackmirror try doing it like this:

          longPress: {
            notification: "CURRENT_PROFILE",
            payload: "default"
          },
          shortPress: {
            notification: "CURRENT_PROFILE",
            payload: "Radio"
          }
      
      posted in Utilities
      tosti007T
      tosti007
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @Binog Sorry for the late reply, unfortunately I wasn’t able to find any problems with the code you submitted. Could you maybe launch your mm in servermode (node serveronly) and check the your browser’s console for any errors?

      posted in Utilities
      tosti007T
      tosti007
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      @Blackmirror That’s because when the magicmirror starts it goes to the default profile, which in your case contains no modules. So you would have to either set the defaultClass value to "Radio" or change "Radio" to "default"
      @cowboysdude ty for answering aswell

      posted in Utilities
      tosti007T
      tosti007
    • RE: MMM-TouchNavigation, A Touch Activated Profile/Layout Changer

      Hello @Binog,
      As fully described here you do not need to set something like profilename. The profile name is defined in the string before the : (like the first "me" after buttons).

      It’s not possible to have a custom notification. For that you would have to look at this module.

      posted in Utilities
      tosti007T
      tosti007
    • RE: MMM-ProfileSwitcher, A Profile/User/Layout Switching Module

      Hello @Binog,
      First of all kinda unfortunate that it doesn’t work. I have a vague idea of what might be wrong but will have to do a small test by myself. I will test it tomorrow and let you know once I have more info or fixed the problem :)

      posted in Utilities
      tosti007T
      tosti007
    • RE: Updating modules

      @kurt Good to hear!

      posted in Troubleshooting
      tosti007T
      tosti007
    • RE: Updating modules

      Hello @kurt,
      It’s an error that shouldn’t be happening often, but luckily the solution is simple.
      First go to the module folder. Then type rm -f .git/index.lock, this removes the file that causes problems. After that you should be able to do your git pull without a problem :D

      posted in Troubleshooting
      tosti007T
      tosti007
    • RE: MMM-TouchNavigation, A Touch Activated Profile/Layout Changer

      @Snille well you don’t have to, it’s just an option :P both still work. The other just allows for more possiblies but does take some more configuration than this module

      posted in Utilities
      tosti007T
      tosti007