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.
- Navigate into your MagicMirror's
modulesfolder and executegit clone https://github.com/kymeyer/MMM-daikin.git. A new folder (MMM-daikin) will appear, navigate into it.
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
}
},
],
};| 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 |
- 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
- 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
- will need curl within the system
The current version includes some code improvements taken from the MMM-DaikinAirbase fork of the original version.
