Open senger1985 opened 5 years ago
example of home bridge integration : https://www.npmjs.com/package/homebridge-logi-circle-controls
Please someone test if this works with ham adapter ...
I could test it. But I get the following error message:
host.senger1985 | 2019-08-26 23:54:12.996 | error | instance system.adapter.ham.1 terminated with code 1 () |
---|---|---|---|
Caught | 2019-08-26 23:54:12.993 | error | by controller[2]: [2019-8-26 23:54:12] [<Optional: the desired name for the platform (mostly affects Homebridge logs) | Default: 'Logi Circle Controls'>] Error reading config: accessories is a requir |
Caught | 2019-08-26 23:54:12.992 | error | by controller[1]: [2019-8-26 23:54:11] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. |
Caught | 2019-08-26 23:54:12.991 | error | by controller[0]: [2019-8-26 23:54:11] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. |
Platforms should be an array of objects. So it should look like
Platforms: [ {...}, {...} ]
With two
I have created a second instance.
host.senger1985 | 2019-08-26 23:59:28.237 | error | instance system.adapter.ham.1 terminated with code 1 () |
---|---|---|---|
host.senger1985 | 2019-08-26 23:59:28.237 | error | Caught by controller[2]: [2019-8-26 23:59:28] [Logi Circle] Error reading config: accessories is a required field |
host.senger1985 | 2019-08-26 23:59:28.237 | error | Caught by controller[1]: [2019-8-26 23:59:27] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. |
host.senger1985 | 2019-08-26 23:59:28.234 | error | Caught by controller[0]: [2019-8-26 23:59:27] Plugin /opt/iobroker/node_modules/iobroker.ham/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. |
Config invalid. You need to have at least an empty „accessories“ as told by error message
I'm not sure how to enter it. I have the ID below: "accessories": "CAM-ID" ] entered.
host.senger1985 | 2019-08-27 00:24:24.421 | error | Caught by controller[3]: If "null" is intended as an empty value be sure to mark the schema as .nullable() |
---|---|---|---|
host.senger1985 | 2019-08-27 00:24:24.421 | error | Caught by controller[3]: [2019-8-27 00:24:24] [Logi Circle] Error reading config: accessories[0] must be a object type, but the final value was: null (cast from the value `"xxxxxxxxxx" |
The code at the beginning: "accessories": [], Have the brackets to be empty or must there be the name of the cam?
Please check the readme of the plugin. There are examples!
Accessories is as platforms an array of objects so needs to have the same structure basically
Thx you for your patience. Now I can control my cam. Perfect it would be now if I could somehow get the stream.
Not supported by the plugin, but I found an nodejs example to use the API
Ich bin schon seit längerem auf der Suche, um die Logitech Circle in ioBroker zu integrieren.
Durch Zufall bin ich auf die API von der Logitech Circle gestoßen, nur weiß ich nicht genau, wie ich dafür einen Adapter schreiben muss, damit man die Cam in ioBroker integriert.
Im Forum habe ich auch schon einige Posts gesehen, die eine Logitech Circle haben und diese auch gerne, im Vis integriert haben wollen.
Hier der Link, zur API: https://developers.logitech.com/circle/