• 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.

MMM-FHEM no Fhem statusdisplay

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 5 Posters 7.2k Views 5 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.
  • H Offline
    Hotstepper
    last edited by Nov 23, 2017, 5:04 PM

    Hello,

    it seems to be a problem with fhem’s security mechanism “csrfToken”.

    You can define a new Web in fhem with a different port and set this up as follws:

    fhem.cfg:
    define MagicM FHEMWEB 8086 global
    attr MagicM allowfrom 192.168.1.14
    attr MagicM csrfToken none

    Explanation:

    • This define’s a new listening port at your fhem server on port 8086
    • The only allowed ip is 192.168.1.14 This is the ip of your MagicMirror Device. Choose your ip.
    • Disable the use of csrfToken. https://fhem.de/commandref.html or https://wiki.fhem.de/wiki/CsrfToken-HowTo

    After fhem restart your readings will be shown at your MagicMirror.

    Hope it helps.

    Greetz, Hotstepper.

    1 Reply Last reply Reply Quote 0
    • 1
    • 2
    • 2 / 2
    2 / 2
    • First post
      11/11
      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