Skip to content

kymeyer/MMM-daikin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-Daikin

This is a module for the MagicMirror². It pulls status information from one or more Daikin Air Conditioner devices within the network and displays it on the mirror. The Daikin Devices need to be equipped with a Daikin Wifi controller with integrated wifi. This module uses direct HTTP requests to query the devices, without relying on external libraries.

Alt text

Installation

  1. Navigate into your MagicMirror's modules folder and execute git clone https://github.com/kymeyer/MMM-daikin.git. A new folder (MMM-daikin) will appear, navigate into it.

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

var config = {
  modules: [
    {
      module: 'MMM-Daikin',
      header: 'AC Status',
      position: 'top_right',
      config: {
        devices: [
          {
            ipAddress: '192.168.100.1', // IP of AC Unit 1
            renderouttemp: true, // Optional: Show outdoor temperature
          },
          {
            ipAddress: '192.168.100.2', // IP of AC Unit 2
            renderouttemp: false, // Optional: Hide outdoor temperature
          },
          {
            ipAddress: '192.168.100.3', // IP of AC Unit 3
          },
        ],
        updateInterval: 1 * 60 * 1000, // 60 seconds
        debug: false, // Optional: Enable detailed logging
      }
    },
  ],
};

Configuration options

Option Description
devices Required Specify one or more units that you wish to monitor.
ipAddress Required Local IP address of the Daikin. Needs to be specified within the devices-object.
renderouttemp Optional Whether to display the outdoor temperature for this device.

Type: boolean
Default true
updateInterval Optional How often the content will be fetched.

Type: int(milliseconds)
Default 30000 (30 seconds)
animationSpeed Optional Speed of the update animation.

Type: int(milliseconds)
Default 1000 milliseconds (1 second)
debug Optional Enable detailed logging for troubleshooting.

Type: boolean
Default false

Changelog

  • 2020-09-30 (v0.0.1) - Initial Version, ability to monitor one AC unit
  • 2024-06-10 (v0.0.2) - Updated Version, ability to monitor more than one AC unit, better overall performance
  • 2026-02-17 (v0.0.3) - Refactored to use direct HTTP requests instead of daikin-controller library, added retries, timeouts, sequential updates, configurable logging, and outdoor temperature display option
  • 2026-02-27 (v0.0.4) - Due to reoccuring socket errors with node requests, switch to curl to query the controllers -- seems to work better

Known Issues

  • Sometimes the controller of the AC cannot be queried immediately or the connection times out at first
  • If you have socket error messages, switch to the latest version to use a different request handling with curl

Dependencies

  • will need curl within the system

Acknowledgments

The current version includes some code improvements taken from the MMM-DaikinAirbase fork of the original version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors