MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Display Fahrenheit using DS18B20 and MQTT from remote Pi



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



  • 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

Log in to reply