MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Display Fahrenheit using DS18B20 and MQTT from remote Pi

    Troubleshooting
    1
    2
    105
    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
      hengy last edited by

      I’ve got one Pi with the DS18B20 sensor and am sending the values using MQTT to another Pi running Magic Mirror. Thanks everyone who provide these great modules. I’d really like it to display fahrenheit instead of celsius. Any help would be appreciated. And my coding skills are rudimentary!

      1 Reply Last reply Reply Quote 0
      • H
        hengy last edited by

        I did find it could be done when a template was available, something like this one for Home Assistant

        code_text
        ```climate:
           platform: mqtt
            name: "Master Bedroom"
            current_temperature_topic: "homeassistant/sensors/flair/puck/Master Bedroom-30f/Temperature"
            current_temperature_template: "{{(value * 9/5)+32}}"
            precision: 0.1
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy