ollieparsley / node-lightwaverf

A NodeJS library for controlling devices using the LightwaveRF Wi-Fi Link
Other
11 stars 7 forks source link

Home bridge fails to start with home bridge-lightwaverf plugin #7

Open jasehigh opened 7 years ago

jasehigh commented 7 years ago

Can anyone advise why home bridge fails to start after installing the home bridge-lightwaverf plugin:

sudo npm -g install homebridge-lightwaverf

My config.json file has the following addition:

{ "platform": "LightWaveRF", "name": "LightWaveRF", "ip_address": "10.0.1.4", "manager_host": "lightwaverfhost.co.uk", "email": "XXXXXX", "pin": "XXX" },

I have an original lightwaverf link with a PIN number.

However, homebridge fails to start, reporting the following errors:

Receiver socket listening 0.0.0.0:9761 gRoomNames not found

Any ideas?

Jase.

partymike commented 7 years ago

had the same issue, you need to specifiy the gRoomNames as per the new lightwave device...works a treat then.

JonCass100 commented 7 years ago

partymike I have the same issue where do I specify the gRoomNames? and what is the new lightwave device? I am new to all this.

partymike commented 7 years ago

Here is an example of how you should define in config.json:

                            {
                            "platform": "LightWaveRF",
                            "name": "LightWaveRF",
                            "ip_address": "192.168.xx.xx",
                            "devices": [
                            {
                            "roomId": 22287,
                            "roomName": "LivingRoom",
                            "deviceId": 88899,
                            "deviceName": "HueStrip",
                            "deviceType": "S"
                            }

This is on the old or new lightwave device, you just then have to pair you pi with the server for it to accept commands....

Hope this helps :-)