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
Read the statement by Michael Teeuw here.
Brian
@tosti007
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 :)
Best posts made by tosti007
-
RE: Updating modules
-
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. -
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
-
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”
Horizontal layout (row), symbol top, minimum width 65px, current “default” (no text set so only symbol shown)
Vertical layout (column), symbol right, current “Lisa” (no symbol set so only text shown)
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 topicturePlacement
in the configuration options!
The css classnavigation-symbol
is renamed tonavigation-picture
Version 2.1
After MagicMirror framework update 2.1.1
- Removed
fullscreen
region’sz-index
in the css - Fullscreen position works!
-
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
Horizontal layout (row), symbol top, minimum width 65px
Vertical layout (column), symbol right
Version 1
- First version and implementation
Version 2
- Added fading
- Added notification and fading shortcuts
- profile - notification and fade
- click - fade only
-
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).
-
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 -
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 );
-
RE: Need help from an CSS expert!
@Mr.Sponti Good to hear that you have what you were looking for :D Looks nice!
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 strangeNOTIFICATION¬ification
that part especially. Does it work when you go to the link manually? -
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 -
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" }
-
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? -
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 thedefaultClass
value to"Radio"
or change"Radio"
to"default"
@cowboysdude ty for answering aswell -
RE: MMM-TouchNavigation, A Touch Activated Profile/Layout Changer
Hello @Binog,
As fully described here you do not need to set something likeprofilename
. The profile name is defined in the string before the:
(like the first"me"
afterbuttons
).It’s not possible to have a custom notification. For that you would have to look at this module.
-
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 :) -
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 typerm -f .git/index.lock
, this removes the file that causes problems. After that you should be able to do yourgit pull
without a problem :D -
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