Giter VIP home page Giter VIP logo

homebridge-homekit-control's People

Contributors

dependabot[bot] avatar donavanbecker avatar martinpham avatar minamoanes avatar quiqueck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

palkan

homebridge-homekit-control's Issues

Firmware Override

Getting update available for outlet, since it pulls the plugin version, can you add an option to override this?

Shelly 1 Error

/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/protocol/pairing-protocol.js:415
throw new Error('M2: Accessory LTPK not yet set');
^

Error: M2: Accessory LTPK not yet set
at PairingProtocol.parsePairVerifyM2 (/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/protocol/pairing-protocol.js:415:19)
at /usr/local/lib/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/transport/ip/http-client.js:237:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Shelly 1 HK Firmware
Version:2.11.2 Build: 20220812-225235/2.11.2-g1b146b4-master

homekitPair: command not found

Sorry for my ignorance, but I installed this plugin on Homebridge and I want to run the homekitPair command from the Hombridge terminal or from an ssh on the respberry pi and it tells me that it cannot find the command. Where am I failing?

Error: M2: Accessory LTPK not yet set

I've tried two different accessories and gotten this error for both of them. One was a lamp and the other is a tcl TV.
This is the output after I enter the pin.

/usr/lib/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/protocol/pairing-protocol.js:415
throw new Error('M2: Accessory LTPK not yet set');
^

Error: M2: Accessory LTPK not yet set
at PairingProtocol.parsePairVerifyM2 (/usr/lib/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/protocol/pairing-protocol.js:415:19)
at /usr/lib/node_modules/homebridge-homekit-control/node_modules/hap-controller/lib/transport/ip/http-client.js:237:40
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Occupancy sensors

Hi I don't seem to find information if your plugin supports occupancy sensors (which are basically motion sensors anyway).

Soon I will receive my Aqara FP2 which publishes occupancy sensors and I need to have those routed to MQTT somehow, I found your plugin which seems promising to connect it to homebridge (and then somehow report sensor states to MQTT, which most likely requires adding MQTT support to this plugin as well), but in order for that it needs to support motion sensors :)

Any info on this?

Cannot Install Plugin

Afternoon, I'm having issues just getting the plugin installed. I'm running Homebridge on an always on Intel Mac for the time being... may get a synology NAS for multiple reasons and move it there, but for now...

My error codes are below, any help would be appreciated...

homebridge-homekit-control-error-2.log

And pasted:

DIR: /usr/local
CMD: npm install -g [email protected]

[##################] / reify:googleapis: timing reifyNode:node_modules/homebridge-home

@abandonware/[email protected] install
node-gyp-build

[##################] - reify:googleapis: timing reifyNode:node_modules/homebridge-home
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.odules/homebridge-home

No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.dules/homebridge-home

No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'._modules/homebridge-home

Traceback (most recent call last):eapis: timing reifyNode:node_modules/homebridge-home
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1496, in XcodeVersion
version_list = GetStdoutQuiet(["xcodebuild", "-version"]).splitlines()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1557, in GetStdoutQuiet
raise GypError("Error %d running %s" % (job.returncode, cmdlist[0]))
gyp.common.GypError: Error 1 running xcodebuild

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/gyp_main.py", line 45, in
sys.exit(gyp.script_main())
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 688, in script_main
return main(sys.argv[1:])
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 680, in main
return gyp_main(args)
^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/init.py", line 665, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 2648, in GenerateOutput
writer.Write(
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 912, in Write
self.WriteSources(
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/generator/make.py", line 1395, in WriteSources
cflags = self.xcode_settings.GetCflags(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 662, in GetCflags
archs = self.GetActiveArchs(self.configname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 512, in GetActiveArchs
xcode_archs_default = GetXcodeArchsDefault()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 119, in GetXcodeArchsDefault
xcode_version, _ = XcodeVersion()
^^^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1507, in XcodeVersion
version = CLTVersion() # macOS Catalina returns 11.0.0.0.1.1567737322
^^^^^^^^^^^^
File "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py", line 1545, in CLTVersion
return re.search(regex, output).groupdict()["version"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'groupdict'
gyp ERR! configure error ify:googleapis: timing reifyNode:node_modules/homebridge-home
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess. (/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/lib/configure.js:271:18)
gyp ERR! stack at ChildProcess.emit (node:events:514:28)
gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12)
gyp ERR! System Darwin 23.4.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/homebridge-homekit-control/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble
gyp ERR! node -v v20.9.0
gyp ERR! node-gyp -v v10.0.1
gyp ERR! not ok
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble
npm ERR! command failed
npm ERR! command sh -c node-gyp-build

npm ERR! A complete log of this run can be found in: /Users/SiamacYamin-Afshar 1/.npm/_logs/2024-03-13T21_08_20_153Z-debug-0.log

Operation failed with code 1.
You can download this log file for future reference.
See https://github.com/homebridge/homebridge-config-ui-x/wiki/Troubleshooting for help.

Can't install on Android under Termux

Installation stops with the message that @abandonware/noble 1.9.2-23 does not support Android.
I do have @abandonware/noble v.1.9.2-23 and v.1.9.2-24 installed. I was able to install those separately by adding 'android' to OS list in package[-lock].json.
However, prior installation of @abandonware/noble v.1.9.2-23, and addition of 'android' to OS list under @abandonware/noble 1.9.2-23 section plus changing repository path to the local one (where I previously succeeded installing @abandonware/noble v.1.9.2-23 from) in package-lock.json of homebridge-homekit-control package, does not help. The installation does not check for nor recognize installed @abandonware/noble v.1.9.2-23 and stops with unsupported OS message.
Please include check for installed @abandonware/noble v.1.9.2-23 and/or somehow disable OS check by @abandonware/noble v.1.9.2-23.
Thank you.

Error during install, and homekitPair (Bluetooth)

I tried to install via Homebridge UI running within the onzu/homebridge docker container.

During the installation I got the following error message:

image

When try to pair a device I get the following error message:

root@homebridge:/var/lib/homebridge $ homekitPair -i eth0
/homebridge/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble/lib/hci-socket/hci.js:80
  this._socket = new BluetoothHciSocket();
                 ^

Error: EAFNOSUPPORT, Address family not supported by protocol
    at new Hci (/homebridge/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble/lib/hci-socket/hci.js:80:18)
    at new NobleBindings (/homebridge/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:25:15)
    at module.exports (/homebridge/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble/lib/resolve-bindings.js:13:12)
    at Object.<anonymous> (/homebridge/node_modules/homebridge-homekit-control/node_modules/@abandonware/noble/index.js:2:51)
    at Module._compile (node:internal/modules/cjs/loader:1218:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
    at Module.load (node:internal/modules/cjs/loader:1081:32)
    at Module._load (node:internal/modules/cjs/loader:922:12)
    at Module.require (node:internal/modules/cjs/loader:1105:19)
    at require (node:internal/modules/cjs/helpers:103:18) {
  errno: 97,
  code: 'EAFNOSUPPORT',
  syscall: 'socket'
}

Node.js v18.13.0

What features are supported with a thermostat in general and on ecobee?

Discussed in #18

Originally posted by mark-hahn March 6, 2024
I am getting an ecobee smart enhanced thermostat. I've read that this thermostat has local non-cloud wifi control using homekit. I want to interact with it with custom software.

Which of these features are supported?

  • Reading room temp
  • Reading setpoint
  • Setting setpoint
  • Reading mode (heat, cool, fan)
  • Reading activity (e.g. is it putting out heat at the moment)

Plans for adding thermostat support?

Iโ€™m looking to start using this plugin for a thermostat so that I can control it locally. Do you have plans to support it? If not, then maybe I can try sending a pull request.

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.