johnlemonse / homebridge-telldus

36 stars 22 forks source link

Making devices "disabled": true in config.json does not work with Z-wave devices and containers #92

Open napthemax opened 3 years ago

napthemax commented 3 years ago

I have been moving my setup from Telldus Live to Local API to speed things up a bit. Everything is running smooth, but it seems like homebridge-telldus can't handle Z-wave devices and containers from Telldus Live correctly. I have tried to set the ID's to "disabled": true but they still appear in the homebridge log and in the Home App as"Not supported". Any ideas are welcome. Have played with "id" and "local_id", moved it up and down in config.json and even tried hiding them in Telldus Live. No party.

The ID's 25 & 26 are containers (a collection of switches) in Telldus Live, and 35 and 36 are the Telldus smoke alarms running over Z-wave.

Config is as follows:

{ "accessories": [], "platforms": [ { "name": "telldus", "platform": "Telldus", "unknown_accessories": [ { "local_id": 25, "disabled": "true" }, { "local_id": 26, "disabled": "true" }, { "local_id": 35, "disabled": "true" }, { "local_id": 36, "disabled": "true" } ], "local": { "ip_address": "10.x.x.x”, "access_token": “…” } } ] }

———— And this is what homebridge-telldus reports on these four devices:

… [• Teknik torpet] Your device (model n/a, id 25) is not auto detected from telldus live. Please add the following to your config, under telldus platform (replace MODEL with a valid type, and optionally set manufacturer): "unknown_accessories": [{ "id": 25, "model": "MODEL", "manufacturer": "unknown" }] Valid models are: selflearning-switch, codeswitch, selflearning-dimmer, temperature, EA4C, temperaturehumidity, 1A2D, window-covering, switch

… [• Dekorationsljus inomhus] Your device (model n/a, id 26) is not auto detected from telldus live. Please add the following to your config, under telldus platform (replace MODEL with a valid type, and optionally set manufacturer): "unknown_accessories": [{ "id": 26, "model": "MODEL", "manufacturer": "unknown" }] Valid models are: selflearning-switch, codeswitch, selflearning-dimmer, temperature, EA4C, temperaturehumidity, 1A2D, window-covering, switch

… [• Brandvarnare hall] Your device (model 0154-0100-0201, id 35) is not auto detected from telldus live. Please add the following to your config, under telldus platform (replace MODEL with a valid type, and optionally set manufacturer): "unknown_accessories": [{ "id": 35, "model": "MODEL", "manufacturer": "unknown" }] Valid models are: selflearning-switch, codeswitch, selflearning-dimmer, temperature, EA4C, temperaturehumidity, 1A2D, window-covering, switch

… [• Brandvarnare TV-rum] Your device (model 0154-0100-0201, id 36) is not auto detected from telldus live. Please add the following to your config, under telldus platform (replace MODEL with a valid type, and optionally set manufacturer): "unknown_accessories": [{ "id": 36, "model": "MODEL", "manufacturer": "unknown" }] Valid models are: selflearning-switch, codeswitch, selflearning-dimmer, temperature, EA4C, temperaturehumidity, 1A2D, window-covering, switch

… Bridge is running on port 51826.