• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Multiple Clients / Working with Classes?

Scheduled Pinned Locked Moved Troubleshooting
1 Posts 1 Posters 791 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    mmmmh Project Sponsor
    last edited by Nov 6, 2017, 2:13 PM

    Maybe it is too obvious and I cannot see the wood for the trees, but I don’t know how to serve different layouts/content to two different clients.

    I understand that assigning classes to individual modules in the settings is one way to differentiate what gets displayed, but how is the class determined on the client-side? I run MMM as server-only and plan to use two different Raspberry Pis to display its specific layout. Can I pass an identifying string with the URL? Or is running two separate instances from different directories the better way?

    1 Reply Last reply Reply Quote 0
    • 1 / 1
    1 / 1
    • First post
      1/1
      Last post
    Enjoying MagicMirror? Please consider a donation!
    MagicMirror created by Michael Teeuw.
    Forum managed by Sam, technical setup by Karsten.
    This forum is using NodeBB as its core | Contributors
    Contact | Privacy Policy