Open jshiell opened 8 years ago
Ah, I missed this pull request
How does this gem file work and is it useful for people who are on the new lightwaverf link?
My plan is to update the plugin using homebridge's API 2.0 that allows on the fly configuration and would allow one to identify / add lights without the web manager (I cannot seem to get the roomID deviceID name map from the new web manager)
No worries.
The Gem was this one - https://github.com/pauly/lightwaverf - although I'm just adding support for the config format used by the Gem rather introducing any kind of dependency.
It's just a YAML file that lays out the devices, so there's no web connectivity required. Auto-config would certainly be a better option, but it was more intended as a stopgap while Lightwave moved to their new webapps.
e.g.
room:
- name: Living Room
device:
- name: Corner Lights
type: D
id: D1
- name: Computer Lights
type: D
id: D2
- name: Main Lights
type: D
id: D3
- name: Bedroom
device:
- name: Lights
type: D
id: D1
host: 10.9.8.7
I cannot seem to get the roomID deviceID name map from the new web manager
@rooi Just for info (not sure if you are aware it exists) but that old terrible manager web app shows you the room order / number and device order / number at https://lightwaverfhost.co.uk/mobile I'm hoping they drop that interface soon though lol
These are the downstream changes to support https://github.com/rooi/node-lightwaverf/pull/1 in the homebridge plugin - it merely adds support to point the node-lightwaverf module at a given configuration file. Exciting stuff :smile:
Many thanks again for your work on this!