jstrausd / homebridge-simple-wled

Homebridge Plugin to control WLED LED-Strips
ISC License
63 stars 17 forks source link

Last update problem #9

Closed burakcankose closed 3 years ago

burakcankose commented 3 years ago

Hello, I'm having a problem after the last update. Every time I restart the homebridge, the current wled goes into no response state and a new wled homekit is ready to be added on. I did the editing as a new configuration, I restarted the device completely, but the problem was not solved. As far as I check from the logs, every time the homebridge restarts, it starts to work through different ports.

sergoo-lbt commented 3 years ago

Здравствуйте, у меня возникла проблема после последнего обновления. Каждый раз, когда я перезапускаю домашний мост, текущий wled переходит в состояние без ответа, и новый домашний набор wled готов к добавлению. Я делал редактирование как новую конфигурацию, перезапустил устройство полностью, но проблема не была решена. Насколько я проверяю по логам, каждый раз при перезапуске homebridge начинает работать через разные порты.

Same problem. Confirm

jstrausd commented 3 years ago

I'm sorry for the circumstances, yesterday I released a new version where this problem has been fixed. Version 1.1.3

burakcankose commented 3 years ago

Hi, I did the new update but at this time the wled homekit stopped appearing in the add section. Is this problem related to me?

jstrausd commented 3 years ago

@burakcankose Does any error appear in your Homebridge console?

burakcankose commented 3 years ago

no problem appears, the port where it finds the device and the working port is visible, but when I scan, I cannot see the device. In the previous version, I see a new named device at every restart.

jstrausd commented 3 years ago

Ok, try to rename your WLED devices to another name and restart your Homebridge and see if the problem still occurs.

earlywaff commented 3 years ago

Ok, try to rename your WLED devices to another name and restart your Homebridge and see if the problem still occurs.

Yes. I have a problem.

burakcankose commented 3 years ago

Ok, try to rename your WLED devices to another name and restart your Homebridge and see if the problem still occurs.

This is work for me. Thank you !

jstrausd commented 3 years ago

@earlywaff Which problem do you have?

earlywaff commented 3 years ago
Снимок экрана 2021-02-01 в 23 55 13

I uninstalled the bridge, reinstalled the plugin, rebooted everything. Renamed it. Trying to add the bridge, it says wrong code.

jstrausd commented 3 years ago

Can you please send you config.json and are you using the latest version of homebridge-simple-wled?

earlywaff commented 3 years ago

{ "platform": "WLED", "name": "VERHSHKAF", "host": "192.168.1.36", "log": true, "effects": [ "Gradient", "Merry Christmas", "Blink", "Wipe", "Wipe Random", "Sweep", "Dynamic", "Colorloop", "Rainbow", "Scan", "Dual Scan", "Fireworks 1D", "Theater", "Theater Rainbow", "Saw", "Twinkle", "Running", "Rainbow Runner" ] }, { "platform": "WLED", "name": "KOMOD", "host": "192.168.1.66", "log": true, "effects": [ "Gradient", "Merry Christmas", "Blink", "Wipe", "Wipe Random", "Sweep", "Dynamic", "Colorloop", "Rainbow", "Scan", "Dual Scan", "Fireworks 1D", "Theater", "Theater Rainbow", "Saw", "Twinkle", "Running", "Rainbow Runner" ]

        1.2.1 version
jstrausd commented 3 years ago

Ok, I see the problem... With the newer versions you have to add the WLEDs like the format below:

"platforms": [ { "platform": "WLED", "wleds": [ { "name": "LED-Tisch", "host": "10.0.0.52", "effects": ["Rainbow Runner", "Circus"], "log": true }, { "name": "LED-Kasten", "host": ["10.0.0.53", "10.0.0.54"], "effects": ["Rainbow Runner", "Circus"], } ] } ]

Or just look at the examples in the README.md

earlywaff commented 3 years ago

Thank you very much, I'll fix it and report back!)

earlywaff commented 3 years ago

Yes, thank you very much for supporting this plugin, now I will try to make a donation!) The error was indeed in the config)

jstrausd commented 3 years ago

I'm glad that it works now and that you like the plugin :D

v0r73x commented 3 years ago

Hi, i have another issue since the update - when I try to change the color i get the following exception and the Homebridge crashes

image

config is as follow:

image

Have you some Idea why its not working

jstrausd commented 3 years ago

Ok i know the problem, i will fix it as fast as possible.

jstrausd commented 3 years ago

@v0r73x I released a new version, where this problem should be fixed.

v0r73x commented 3 years ago

wow - so fast ? I am appreciate :) will test immediately :) btw: great work ;9 Edit : works for me - thx mate ! :)

Poste Edit: just to give you an feedback - in the old version i had the issue by voice command to switch the colors - it was fell every time into red - this is not happen anymore so I am more than lucky

I just have one Question: When I add the devices to homekit I have after the given name for WLED device a number - whats the background for this? (For sure, I can delete it but I want to understand the need of it :) )

jstrausd commented 3 years ago

Ok thanks. Because this is now a Platform plugin, every accessory has it's own UUID to be identified and cached... and this number is also just a ID for the device. Because in a Platform plugin multiple accessories can be defined and also could be added dynamically by runtime. So for example the plugin adds multiple accessories in runtime and the don't have a specific name you can identify them mostly with the Platform-Name and the ID. I hope I could answer your question. :D