nschum / homebridge-twinkly

37 stars 10 forks source link

Can’t connect Gen 1 lights #15

Open saiajin opened 3 years ago

saiajin commented 3 years ago

Hi I have been trying to connect my Gen 1 lights to no avail... they do not auto discover.

I tried editing my JSON like this:

{ "accessory": "Twinkly", "plugin_map": { "plugin_name": "homebridge-twinkly" }, "name": "TWINKLY1", "ip": "192.168.254.132", "allowBrightnessControl": true, "removeUnreachableDeviceMinutes": 0 }

but still no dice... Can someone help?

ortoberi commented 3 years ago

I have first generation Twinkly lights and it works great. For me, the following is written in my settings:

{ "name": "Twinkly", "ip": "192.168.88.100", "allowBrightnessControl": true, "accessory": "Twinkly" },

BR, David

saiajin commented 3 years ago

Thanks for your reply! I duplicated your entry:

{ "name": "TWINKLY1", "ip": "192.168.254.132", "allowBrightnessControl": true, "accessory": "Twinkly" }

This is what shows in logs:

3/6/2021, 8:25:16 AM [3/6/2021, 9:25:16 AM] Registering accessory 'homebridge-twinkly.Twinkly' 3/6/2021, 8:25:16 AM [3/6/2021, 9:25:16 AM] Registering platform 'homebridge-twinkly.Twinkly'

But the device still doesn't show up... I have no idea what I'm doing wrong.

nschum commented 3 years ago

@saiajin This is a networking problem. Your Twinkly didn't get a proper IP address from your router (via DHCP). That means it's unreachable from the device running Homebridge.

saiajin commented 3 years ago

@saiajin This is a networking problem. Your Twinkly didn't get a proper IP address from your router (via DHCP). That means it's unreachable from the device running Homebridge.

I'm not sure of the solution as it shows the same IP address in the Twinkly app and I have given it a static ip.image

saiajin commented 3 years ago

@nschum what steps can I take to troubleshoot?

saiajin commented 3 years ago

Here is the device connected to my router:

image

Screen Shot 2021-03-07 at 11 19 59 AM
saiajin commented 3 years ago

@nschum I have my RPI connected via Wi-Fi and Ethernet at the same time could I that possibly cause the issue?

nschum commented 3 years ago

@saiajin You could try a ping the IP address from the device running homebridge and check the homebridge logs for errors.

saiajin commented 3 years ago

hoobs@hoobs:~ $ ping 192.168.254.132 PING 192.168.254.132 (192.168.254.132) 56(84) bytes of data. 64 bytes from 192.168.254.132: icmp_seq=1 ttl=128 time=12.2 ms 64 bytes from 192.168.254.132: icmp_seq=2 ttl=128 time=9.65 ms 64 bytes from 192.168.254.132: icmp_seq=3 ttl=128 time=8.78 ms 64 bytes from 192.168.254.132: icmp_seq=4 ttl=128 time=15.6 ms 64 bytes from 192.168.254.132: icmp_seq=5 ttl=128 time=12.6 ms 64 bytes from 192.168.254.132: icmp_seq=6 ttl=128 time=14.7 ms 64 bytes from 192.168.254.132: icmp_seq=7 ttl=128 time=8.91 ms 64 bytes from 192.168.254.132: icmp_seq=8 ttl=128 time=7.79 ms

saiajin commented 3 years ago

This is my current config: { "name": "TWINKLY1", "platform": "Twinkly", "timeout": 5000, "ip": "192.168.254.132", "accessory": "Twinkly", "removeUnreachableDeviceMinutes": 0, "allowBrightnessControl": true },

saiajin commented 3 years ago

Any clues? as U can see Pings seem to work.....

wtdeane commented 3 years ago

I'm having the same problem after I had to reinstall my Hoobs box and all my plugins. I hope this explanation sheds some light for you.

When I was on the previous version and having problems with my V1 lights breaking, the latest update fixed them. Saiajin, installing fresh is having problems like I am. Something is happening where previously installed versions are functioning properly, but if you are working with a new instal, not a deleted and reinstall, but a CLEAN instal, it remains broke. Any help would be GREATLY appreciated.

Cheers!

saiajin commented 3 years ago

Yes it appears if you had them previously and updated they still work for them... but new installs can't get them to work... I bought a set to test out and the Homekit functionality was the main reason... but I can't seem to get any help.

wtdeane commented 3 years ago

Have you had any luck getting it to run on your gen1 lights?

saiajin commented 3 years ago

Have you had any luck getting it to run on your gen1 lights?

Nope I gave up.. No response from Dev..... Still watching this though...

nschum commented 3 years ago

@saiajin Since you have access to the command line, could you try the bundled twinkly command? ./bin/twinkly -v --discover ./bin/twinkly -v --mode movie 192.168.254.132