MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. skippy_oz
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    S
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Groups 0

    skippy_oz

    @skippy_oz

    0
    Reputation
    325
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    skippy_oz Unfollow Follow

    Latest posts made by skippy_oz

    • RE: Calendar issue 2.8.0 - Repeating events

      I’m also having the same issue as we work variable shifts we use the Calendar on MM to know when to go to work

      posted in Bug Hunt
      S
      skippy_oz
    • RE: Home Assistant Module

      I have it working with HTTPS :grinning_face:

      Change the url to match what you have for HA

      {
          module: 'MMM-homeassistant-sensors',
          position: 'bottom_right',
          config: {
                url: 'https://username.duckdns.org:8123/api/states',
                prettyName : 'true',
                stripName: 'true',
                values: ["sensor.humidity", "sensor.temperature"]
              }
        },
      

      You will need to modify the node_help.js file for this module change the below line of code /MagicMirror/modules/MMM-homeassistant-sensors/node_helper.js

      request({ url: url, method: 'GET' }, function (error, response, body) {
      

      To the following and change the api-password to what you have set in HA it’s about line 12.

        request({ url: url, headers: {'x-ha-access': 'api-password'}, method: 'GET' }, function (error, response, body) {
      

      It’s working it looks like it takes a bit longer to get the data as I think the atentication takes some time.

      Regards
      skippy_oz

      posted in Requests
      S
      skippy_oz
    • RE: Home Assistant Module

      Hi, I have it working below is the code and a screenshot. It’s taking to an AM2302 Temp/Humidity Sensor connected to a NodeMCU running Tasmota and using MQTT to talk to HomeAssistant. See Dr Zzs video for the NodeMCU/D1mini setup.

      Dr Zzs Tasmota + D1mini (or Sonoff) - Temp & Humidity, ws2812 LEDs, and Motion Detection

       {
        module: 'MMM-homeassistant-sensors',
        position: 'bottom_right',
        config: {
            		url: 'http://hassio:8123/api/states',
            		prettyName : 'true',
            		stripName: 'true',
            		values: ["sensor.humidity", "sensor.temperature"]
          		}
        },
      

      0_1526186367464_Screen Shot 2018-05-12 at 4.05.25 pm.png

      Regards
      skippy_oz

      posted in Requests
      S
      skippy_oz