Coder Social home page Coder Social logo

homebridge-intesisbox's Introduction

homebridge-intesisbox

Homebridge plugin for Intesisbox devices including ASCII and WMP/Wi-Fi gateways, integrating various reverse-cycle air conditioners by Daikin, Fujitsu, Mitsubishi, Panasonic, Toshiba, and others with Apple HomeKit for control from iPhones and other Apple devices

I use an Intesisbox FJ-RC-WMP-1 connected to a Fujitsu ducted unit (ARTG24LMLC) and this works great.

Installation

  1. Install homebridge:

    npm install -g homebridge
    
  2. Install this plugin:

    npm install -g homebridge-intesisbox
    
  3. Update your configuration file. See configuration options below.

  4. Restart homebridge.

Configuration

Add an accessory to your homebridge config.json, like:

{
  "accessories": [
    {
      "accessory": "Intesisbox",
      "name": "Air Conditioner",
      "host": "192.168.0.10"
    }
  ]
}

Fields:

  • accessory must always be Intesisbox
  • name defaults to Intesisbox but can be set to whatever your device to be called, like Air Conditioner
  • host must be the IP address of your device
  • port defaults to 3310 but can be overriden
  • number defaults to 1 but can be set to your unit number if you have multiple units connected to the same device

TODO

  • Turn into a platform plugin
  • Add device auto-discovery (DISCOVER command over UDP)

References

Acknowledgements

This package was originally forked from zylantha's first attempt but then completely rewritten, with reference to wailuen's homebridge-sensibo-sky plugin.

homebridge-intesisbox's People

Contributors

sj26 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebridge-intesisbox's Issues

On/Off

Great plug in - thanks!
Is it possible to turn on and off (based on existing heat/cool/auto mode) by single tap of homekit icon without having to the scroll to heat/cool/auto each time? I think a long press of the icon opens the mode and temperature setting.

This is the behavior of the intesisweb plugin. I have switched from intesisweb to intesisbox as I was having connection issues to the intesisweb cloud.

thanks

Connection Keeps Closing

Hello, my bridge keeps closing the connection and it messes around with some automations I have how can I stop the connection from closing.
[23/01/2021, 18:17:29] [Thermostat] Connection closed, reconnecting in 5 seconds
[23/01/2021, 18:17:34] [Thermostat] Connecting to Intesisbox at 10.0.1.120:3310
[23/01/2021, 18:17:34] [Thermostat] Device turned ON
[23/01/2021, 18:17:34] [Thermostat] Device set to COOL mode
[23/01/2021, 18:17:34] [Thermostat] Device fanspeed set to: AUTO
[23/01/2021, 18:17:34] [Thermostat] Device vertical vane set to: 2
[23/01/2021, 18:17:34] [Thermostat] Device target temperature set to: 240
[23/01/2021, 18:17:34] [Thermostat] Device ambient temperature now: 270
[23/01/2021, 18:17:34] [Thermostat] Device error status: OK
[23/01/2021, 18:17:34] [Thermostat] Device error code: 0

Thanks,
KAV

Connection Error

Anyone know why this is happening? Haven’t made any changes and it switched to Celsius and is no longer responsive

[8/10/2022, 8:40:41 PM] [homebridge-intesisbox] This plugin generated a warning from the characteristic 'Target Temperature': characteristic value expected valid finite number and received "NaN" (number). See https://homebridge.io/w/JtMGR for more info.
[8/10/2022, 8:40:42 PM] [Intesisbox] Connecting to Intesisbox at 192.170.50.101:3310
[8/10/2022, 8:40:42 PM] [IntesisboxLower] Connecting to Intesisbox at 192.170.50.49:3310
[8/10/2022, 8:40:45 PM] [Intesisbox] Connection error: Error: connect EHOSTUNREACH 192.170.50.101:3310
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.50.101',
port: 3310
}
[8/10/2022, 8:40:45 PM] [Intesisbox] Connection closed, reconnecting in 5 seconds
[8/10/2022, 8:40:45 PM] [IntesisboxLower] Connection error: Error: connect EHOSTUNREACH 192.170.50.49:3310
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1161:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.170.50.49',
port: 3310

characteristic Number instead of finite number

This plugin generated a warning from the characteristic 'Target Temperature': characteristic value expected valid finite number and received "NaN" (number).

Is this because of being on Celsius maybe rather than Fahrenheit?

Connection error: Error: This socket has been ended by the other party

Hello! Periodically I got the following errors in Homebridge:
0|homebrid | [7/22/2020, 19:34:01] [Air Conditioner] Connection error: Error: This socket has been ended by the other party
0|homebrid | at Socket.writeAfterFIN [as write] (net.js:454:14)
0|homebrid | at Intesisbox.send (/usr/local/lib/node_modules/homebridge-intesisbox/index.js:317:17)
0|homebrid | at Intesisbox.sendSET (/usr/local/lib/node_modules/homebridge-intesisbox/index.js:345:10)
0|homebrid | at Intesisbox. (/usr/local/lib/node_modules/homebridge-intesisbox/index.js:104:16)
0|homebrid | at TargetHeatingCoolingState.emit (events.js:315:20)
0|homebrid | at TargetHeatingCoolingState.EventEmitter.emit (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/EventEmitter.ts:42:22)
0|homebrid | at TargetHeatingCoolingState.Characteristic._this.setValue (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:625:12)
0|homebrid | at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1437:24
0|homebrid | at Array.forEach ()
0|homebrid | at Bridge.Accessory._this._handleSetCharacteristics (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Accessory.ts:1279:10) {
0|homebrid | code: 'EPIPE'
0|homebrid | }

I am using the updated version of index.js

Could you please help to identify the root cause?

Best regards,
Konstantin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.