npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@caitken-com/node-red-contrib-daikin-api

v1.1.0

Published

Daikin Control API

Downloads

36

Readme

JSON to Daikin BRP15B61 Wifi controller

Controls Daikin air-conditioner wifi controller/adaptor via Node Red. Tested with BRP15B61.

daikin-server (config node)

IP Address: [string] Local IP of your BRP15B61 Wifi adaptor. Eg: 192.168.1.123

Auto mode [int] ID of auto mode.

Fan mode: [int] ID of Fan mode.

Heat mode: [int] ID of Heating mode.

Cool mode: [int] ID of Cooling mode.

Dry mode: [int] ID of Drying.

Dehumidifier mode: [int] ID Dehumidifier mode.

Each aircon-unit maybe be setup with different IDs for the various modes. Here's some documentation on possible values, although my IDs don't match that which is why I've made it a config.

daikin-api node (command node)

On initial deploy the node will automatically sync with the wifi controller. But won't know the correct mode(s) till you set the IDs within the config node.

Commands:

General use only requires these two commands: getControlInfo setControlInfo

Get control info:

Use this to fetch the status from the wifi controller. After the initial automatic sync you'll need to do this command periodically to keep the node / your flows in sync with the wifi controller.

{
	"cmd": "getControlInfo"
}

The above payload will return something similar to this:

{"Power":false,"Mode":"Heat","TargetTemperature":22,"FanRate":"Low","FanDirection":"Disabled"}

Set control info:

Use this to send commands (set values) to the wifi controller. At least one of the following must be set: Power, Mode, TargetTemperature, FanRate, FanDirection

{
	"cmd": "setControlInfo",
	"Power": true,
	"Mode": "Heat",
	"TargetTemperature": 22
	"FanRate": "Low"
	"FanDirection": "Off"
}

Power: [bool] true|false

Mode: [string] Auto|Heat|Cool|Dry|Dehumidifier|Fan (!)

TargetTemperature: [int] 0-100 degrees celsius

FanRate: [string] Auto|Silence|Low|1|2|3|4|5|Auto low|Auto mid|Auto high| (!)

FanDirection: [string] Off|Vertical|Horizontal|3D (!)

(!) Not all options are available on every system.

Get sensor info:

Fetches temperature sensor info.

{
	"cmd": "getSensorInfo"
}

The above payload will return something similar to this:

{"OutsideTemperature":"Disabled","InsideTempature":16}

On my unit InsideTempature is measuring from a sensor within the roof space where the machine is. And OutsideTemperature is disabled. So not useful to determine indoor/outdoor temperatures.

Get raw:

Get or set raw values on the wifi controller, using json. Useful for debugging your Mode IDs for the config node.

{
	"cmd: "getRaw",
	"endpoint": "get_control_info"
	"data": null
}

Known endpoints:

  • basic_info
  • get_remote_method
  • set_remote_method
  • get_model_info
  • get_timer
  • set_timer
  • get_target
  • set_target
  • get_week_power
  • get_year_power
  • get_program
  • set_program
  • get_scdltimer
  • set_scdltimer
  • get_sensor_info
  • set_control_info
  • get_control_info

The above payload will return something similar to this. Use this documentation to determine their meaning:

{"ret":"OK","pow":"0","mode":"1","operate":"1","bk_auto":"2","stemp":"22","dt1":"22","dt2":"22","f_rate":"1","dfr1":"1","dfr2":"1","f_airside":"0","airside1":"0","airside2":"0","f_auto":"0","auto1":"0","auto2":"0","f_dir":"0","dfd1":"0","dfd2":"0","filter_sign_info":"0","cent":"0","en_cent":"0","remo":"2"}

If anyone has a unit with vents controllable via the wifi controller, or other values that need setting/getting, I'd like to work with you in extending this node: Open an Issue on github!