Read the statement by Michael Teeuw here.
Different layout...
-
because there is only on instance running, we can’t make a configurable option, but I thought about creating media querys in custom.css to hide all other modules on the small screens
-
@strawberry-3.141 do you think it be possible to use something like node-ipware to detect the IP address of the device requesting the magicmirror pages within a modified version of MMM-Facial-Recognition so the module config can be varied?
-
do you mean something like that?
config: { layouts: { '192.168.2.1': 'big', '192.168.2.2': 'small' } }
-
@strawberry-3.141 yes,
Though I was thinking aliasing the IP addresses with distinct device config labels such as
rpi2
andrpi3
and evenmy_ipad
andlounge_tv
However, there’s is a use case to allow one device configuration to be applied to multiple devices so the tv’s IP address would be assigned
large
, iPad would bemedium
and rpi’s could besmall
-
Just use the
css/custom.css
to change any font sizes an layout options. And Use media Queries to change it according to the resolution of your screen. This does not require any modification to the core of MagicMirror² and allows you to update in the future.