homebridge-globalcache-itach-flex

1.0.5 • Public • Published

homebridge-globalcache-itach

This homebridge plugin adds support for Global Cache iTach devices. Example configuration is below. Relays and IR devices are supported.

"platforms": [{
    "platform": "GlobalCacheItach",
    "name": "Global Cache Itach",
    "devices": [{
        "name": "ItachFlex",
        "host": "192.168.0.XXX",
        "enableLearnLogging": true,
        "ports": [{
            "name": "TV",
            "port": "1",
            "commands": {
                "on": "1,37091,50,1,20,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,790,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,3709",
                "off": "1,37000,4,1,32,32,32,32,32,32,64,32,32,32,32,32,32,161,32,32,32,64,32,32,64,32,32,32,32,32,32,32,32,32,32,64,64,2731,32,32,32,32,32,32,64,32,32,32,32,32,32,161,32,32,32,64,32,32,64,32,32,32,32,32,32,32,32,32,32,64,64,1200"
            }
        }, {
            "name": "Air Conditioner",
            "port": "1",
            "commands": {
                "on": "1,37091,50,1,20,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,790,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,3709",
                "off": "1,37000,4,1,32,32,32,32,32,32,64,32,32,32,32,32,32,161,32,32,32,64,32,32,64,32,32,32,32,32,32,32,32,32,32,64,64,2731,32,32,32,32,32,32,64,32,32,32,32,32,32,161,32,32,32,64,32,32,64,32,32,32,32,32,32,32,32,32,32,64,64,1200"
            }
        }, {
            "name": "Cable TV",
            "port": "2",
            "commands": {
                "on": [
                  "1,37091,5,1,20,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,790,111,39,36,112,35,112,35,112,108,39,36,112,35,112,35,100",
                  "1,36982,1,1,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,790,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,359,36,112,35,112,35,4733"
                ],
                "off": "1,36982,1,1,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,790,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,781,111,38,36,112,35,112,35,112,108,39,36,112,35,112,35,780,111,38,36,112,35,112,35,112,108,359,36,112,35,112,35,4733"
 
            }
        }]
    }]
}]

Note that IR commands besides on and off may be defined, but they will break Siri capabilities for turning the device on and off. This is because there are multiple switches defined for the accessory. Details here: https://github.com/dustindclark/homebridge-globalcache-itach/issues/4.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.52latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.52
1.0.30
1.0.20
1.0.00

Package Sidebar

Install

npm i homebridge-globalcache-itach-flex

Weekly Downloads

2

Version

1.0.5

License

MIT

Unpacked Size

20.5 kB

Total Files

5

Last publish

Collaborators

  • gardenal