Giter VIP home page Giter VIP logo

homebridge-simple-wled's People

Contributors

bene2103 avatar jstrausd avatar mrzcookies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

homebridge-simple-wled's Issues

Setting effect intensity & speed

It would be handy if you would be able to tune the effect speed and intensity from the homekit app. I am not sure if such a thing is possible, but currently the effect speed is set to default which can be very slow for a few effects. If setting speed via homekit is not an option, do you think you could add a config setting to set a higher/lower default speed and intensity?

Thank you for the great work,
camiel

Wled on HOOBS/Homebridge

The requested accessory "WLED" was not registered by any plugin.
10/26/2020, 1:16:24 AM Your config.json is requesting the accessory "WLED" which has not been published by any installed

how do I fix this

Port listening / firewall issues?

Hey, so I had a bit of an issue getting the homebridge accessory to show up in homekit. I noticed that the logs say:

[1/12/2022, 3:31:44 PM] [WLED] Setting up Accessory Kitchen Cabinet with Host-IP: XXX.XXX.XX.XXX Single WLED-Host configured
[1/12/2022, 3:31:44 PM] [WLED] Adding effects: Fireworks 1D
[1/12/2022, 3:31:45 PM] [WLED] WLED Strip finished initializing!
[1/12/2022, 3:31:45 PM] Kitchen Cabinet 656F is running on port XXXXX.
[1/12/2022, 3:31:45 PM] Please add [Kitchen Cabinet 656F] manually in Home app. Setup Code: XXX-XX-XXX

I have a firewall on my homebridge with all ports closed as it is was once accessible over the internet and I just like firewall security I guess. Any way, it took me forever to figure this out because EVERY restart of the homebridge cause the WLED plugin to pull a different port. (specifically in my case, a blocked port that needed to be allowed.)

Can I specify a single port? My homebridge has all its ports closed except for the ports I need open. I also noticed that this port changes on every restart of the homebridge.

Any help on this as I would only like one port open and no others and I would like it to stay static...

Thanks for reading and any help you have.

Disable Control Center Remote for effect switch

As a result of the effect switch in your plugin HomeKit provides a Remote for it in the control center that is so far a bit useless.
Is it possible to use the plugins effect switch without creating the remote in the control center?

In my setup I already have 2 "dead" remotes from homebridge plugins beside the remotes that are fully funtional and useful.

Effects support

Is it possible to add support for WLED effects? Let's say in the form of changing the HDMI outputs of the TV?
4525CC11-2AC0-49E5-B2C2-F2B9FFDCF50B

unable to add to HomeKit

Hello, this happens again (#26), unable to add any WLED device manually to Home app on iOS16.(following exact steps from @jstrausd, I have done it in past successfully). Both lights were connected and used from Home iOS app for cca 1.5 years, last week they stopped, had to reset them to factory settings and since than 2 problems which were not there before.

1# (#26 ) unable to add them to Home app, in Homebridge they show, maybe it remembers their Mac address or osme other identifier since I had to remove them from HHomekit when they stopped to work.

2# (#36 ) weird I started to have problem with brightness, this is the strangest part because for 1.5 years I never had this problem and was always conntroling lights from iOS Home app, and after reset to factory settings they start to show this issue.

Hope this great plugin is not already dead.

Donate button

If you put a button on your homebridge plugin tab, I might be inclined to buy you a coffee here and there.

I like the work you are doing, there is another plugin that isn't really in development - maybe the odd donation will give you some incentive to keep on going.

Stop Effect Automatic change color

Hi,

I use the WLED plug-in fondly, but lately it turns off the effect and changes the color automatically and always makes it red. I guess Homebridge started doing it after upgrading to 1.3 versions. How can we find a solution?

[13/03/2021, 20:34:20] [WLED] Updating WLED in HomeKIT (Because of Polling) 192.168.50.218
[13/03/2021, 20:34:52] [WLED] Updating WLED in HomeKIT (Because of Polling) 192.168.50.218
[13/03/2021, 20:35:21] [WLED] Turned on 0 effect!
[13/03/2021, 20:37:23] [WLED] Set brightness to 100% 255
[13/03/2021, 20:37:23] [WLED] Changed color to 255,157,0 on host 192.168.50.218
[13/03/2021, 20:37:25] [WLED] Updating WLED in HomeKIT (Because of Polling) 192.168.50.218

Last update problem

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.

"A millions" of DNS queries when not using static IP addresses

At first I want to thank you for your work on that plugin. It is working well for me (except of the known bugs here).

I've configured my WLED instances through domain names in configuration like that:

{
    "wleds": [
        {
            "name": "Studio",
            "host": "wled-studio.fritz.box",
            "effects": [
                "...."
            ],
            "log": false
        }
    ],
    "platform": "WLED"
}

The problem is, that I get a lot of dns queries for every 5 seconds and these are flooding my logs (Pi-Hole).
Is this something where your plugin could get a fix or is it some kind of internal domain handling of the homebridge instance?

Thanks in advance.

homebridge integration

Hello, I have added WLED to homebridge 1.6.0.
/I have added the following effects via json

"platform": "WLED",
"wleds": [
    {
        "name": "Family Room",
        "host": "192.168.1.236",
        "effects": [
            "Rainbow Runner",
            "Circus",
            "Merry Christmas",
            "Fire Flicker"
        ],
        "log": true
    }
]

}

The problem I have is that all of the effects do the exact same thing. There is no change in the LED effect.

add a homekit

hello, after the update, the lamp disappeared in the homekit and cannot be added.

speed

can I change the speed of rainbow from home kit or have present speed as it is very slow

Preset function ?

Hello. Thanks for Your plugin. Are you planning to add Preset functionality to the Home App. I think that is one of the most important things that would come in handy. It would be possible to change the designed lighting scenes.

HomePod Siri chosing wrong colors

Controling the Lights from my iPhone works fine, Siri changes color and brightness with no issue.
With the HomePod mini, the colors are messed up. Green tunes the LED's off Yellow comes around as red and so on.

the logs suggest the commands are received correctly, but the WLED's are acting different:

[01/05/2021, 14:32:31] [WLED] Changed color to 0,0,255 on host 192.168.4.102 <- iPhone sends blue command, LEDs turn blue as expected
[01/05/2021, 14:32:42] [WLED] Changed color to 255,0,0 on host 192.168.4.102 <- HomePod sends red command, LED turn red as expected
[01/05/2021, 14:32:50] [WLED] Changed color to 0,255,0 on host 192.168.4.102 <- HomePod sends green command, LED turn roff
[01/05/2021, 14:33:04] [WLED] Changed color to 255,255,255 on host 192.168.4.102 <- HomePod sends blue command, LED turn red

not-an-issue :-) Forked your plugin, added a switch for "Live Override"

Hi,

as you might know I forked your project and my goal was to add an extra switch, to switch between ambilight and moodlight.
So without knowledge in typescript but with programming experience I managed to get a switch and also the status update of the switch working.

I'd like to do an PR to your project, but when I prepare this PR it shows me "...can be automatically merged". I don't want to do this because if you want to use it, it shouldn't be automatically be merged. I think you should take a look at it and review my code. As I told you my typescript knowledge is pretty low.

Also i'am pretty new in using GitHub for code, can I do this PR without problems?

Heres a little background :-) I use an TV-Receiver with Linux on it and some software like BobLight to recreate the Ambilight effect. My WLED is connected to the Receiver via USB and "Adalight" but I wanted also to have a Moodlight without the need of another LED-strip. So with my changes I can switch between the two.

Thank you for this awesome plugin!

WLED recognized as a TV

Hello

I installed WLED on several ESPs and everything works fine with HomeKit thanks to this Plugin for HomeBridge.

However, I have a problem, my WLEDs are recognized as "TVs" in HomeKit.
When I say to Siri "Turn on the TV", she asks me "In which rooms?" (because all WLEDs are represented as TVs).
If I answer "the living room", Siri turns on the TV and WLED.

It's not blocking but annoying and not very practical...
Do you have any solution to fix this problem?

Thank you in advance for your help.

PS: I also use the Harmony Plugin for Home Bridge, I don't know if that can influence or not.

Color always changes to red

Hi,
most of the time, when I switch the color in Home App, it automatically switches the color to red.
Same issues with WLED v12 and V11.1 and I have SK6812 LEDs

This is the log output:
[7/27/2021, 2:41:14 PM] [WLED] Changed color to 255,0,68 on host 192.168.178.75 <-- Set white [7/27/2021, 2:41:15 PM] [WLED] Updating WLED in HomeKIT (Because of Polling) 192.168.178.75 <-- Switches to red

only one wled from 2 was found

hello,

i have 2 wled in use, one is a esp8266 and one a esp32.

{
"platform": "WLED",
"wleds": [
{
"name": "LED-Küche",
"host": "X.X.X.X",
"effects": [
"Rainbow Runner",
"Circus"
]
},
{
"name": "LED-Wohnzimmer-Wand",
"host": "X.X.X.X",
"effects": [
"Rainbow Runner",
"Circus"
]
}
]
}

Only the LED-Küche (esp8266) is initialized in the logs and I added it with the code into homekit, nothing about LED-Wohnzimmer-Wand in the logs (esp32).

Homebridge Not running

After installing the latest update of the plugin it kill my homebridge. I remove the plugin and the configuration inthe config json but still having the same issue. Since im in docker i create a new container nothing same output in the logs.

[1/23/2021, 2:35:21 PM] Error loading accessory requested in your config.json at position 8

[1/23/2021, 2:35:22 PM] Error: The requested accessory 'WLED' was not registered by any plugin.
at PluginManager.getPluginForAccessory (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:198:15)
at /usr/local/lib/node_modules/homebridge/src/server.ts:345:37
at Array.forEach ()
at Server._loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:328:29)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:154:12)
at cli (/usr/local/lib/node_modules/homebridge/src/cli.ts:80:10)
at Object. (/usr/local/lib/node_modules/homebridge/bin/homebridge:17:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
[1/23/2021, 2:35:22 PM] Got SIGTERM, shutting down Homebridge...

how can i fix this?

Presets as Effect Switch in HomeKit

Hallo,

I have set many preset with my favorite Color, brightness and Effect Speed.

It is possible to integrate the self made preset as effect switch in HomeKit?

Best regards

1.3.2 Error when device not reachable

Hi jstrausd,

I've got an issue with your latest version. I have a WLED device on my pc monitor which is most of the time offline. Your latest update crashed Homebridge because of the device being offline. Maybe you can take a look into this?

Bildschirmfoto 2022-01-17 um 23 01 04

Just tried it to be sure, when device is powered on everything is working as expected.

Thank you!

WLED-Device not recognized

After deleting a WLED device from Homekit due to a problem, I wanted to reintegrate it into Homekit. Unfortunately, the device is no longer recognized when I try to add it manually in Homekit. What can I do to solve the problem? Thx for any help!

Retain effect and effect speed names upon Homebridge reboot

I have 3 nodes in the same room. If I compile an automation or scene it breaks apart the "effects" and "effects speed" tiles. I have named them according to the main name "ceiling effects" etc, but when I do a HB restart it wipes those. So when I make a scene or automation I have 3 "effects" buttons and 3 "effects speeds" buttons, but do not know what goes to where.

I can't see Wled in the Home App

Hello. I connected the first WLED today. I have properly configured the config.json file. After Homebridge reboot, the device appeared in the Accessories tab. It can be easily controlled. However, it does not appear in the Home Application. I tried to use it as a slave bridge as well. The Wled Bridge has been added to the Home Application without any problems, but the accessory is still not visible. The control also works via WWW and WLED applications for iOS.What could be the problem? I have been using Homebridge for several years and haven't had this problem yet. I do not know if it matters but I am using ESP8266 and Led 2811 - 12V.

1
2
3
4
5
.

No HB logs?

Not really an issue .. but an observation - no log appears in the hb terminal when there is an action or activity - any plans to change this?

Multiple wleds?

Tried a couple different ways but I can only add one wled ? Great work by the way very easy to install and get it up and running, just hopping it supports multiple wleds (two different ips)

Great job - preset sugestion

Great job with this plugin!
I have two questions: how to change colors in effects via HomeKit?
And have You thought about adding presets instead of effects?

Brightness controlled from iOS Home app changes wrong slider in WLED

Hello, thanks for this great plugin. I am not sure if this is question for HB plugin or directly to WLED so I try it here, if wrong please correct me. I have 2 questions:
1: what is this 1st slider under the color wheel in WLED GUI? (for next question let's call this slider Unknown slider)

2: why does this happen in video? in WLED GUI If i change brightness level using Brightness slider than it effects only Brightness slider but no change in Unknown slider. That is expected. Now if I change brightness level in iOS home app than in WLED GUI we can see that it affected Brightness slider but also Unknown slider. And this is causing the problem shown on video - values below 24% shows no light on the strip. Brightness controlled from iOS Home app affects also Unknown slider, how can I stop this? Is there some settings for it that I might overlook?

196046822-798bcba2-7120-478d-85c8-65d7c692ed17

IMG_0882_720_copy.mov

Device not showing in HomeKit

The device is shown under "Accessory's" in home-bridge where I can control the brightness and effects, however it is not showing in the HomeKit app

No LEDs have been configured error

I'm getting the following error. I'm not super proficient, so I'm struggling to find where the issue is. does the name matter? I just used a name I wanted to call it.
Screen Shot 2021-11-28 at 3 06 44 PM
Screen Shot 2021-11-28 at 3 07 20 PM

.

Brightness changes to 100%

Hello!
I currently have the problem that every time I change the brightness in the Home App, it changes to 100% and only comes to the set value after a few seconds.
This has only been the case since iOS 15, on macOS the error almost never occurs.
Edit: Checked with an iOS 14 Device, problem does not appear there

Not picking up WLEDs after power loss if homebridge boots faster

Hello @jstrausd ,
I really like this plugin it integrates really nice into my setup.

But I have one probably minor problem. I have 6 single RGBW LED bulbs running WLED.
It all works fine untile the devices loose power and at this time homebridge restarts.
After that I have to reload homebridge again to get connection back.

I had to shut down all my services on my home-network for some work on the electric lines, after that I discovered that issue.
It somehow happend that homebridge was faster in boot than the WLED devices or my WiFi I guess. My first guess was, that it happens on every power loss but fortunately this is not the case. Once the WLEDS are picked up on homebridge start, it picks them up even after the devies were cut from power, wich is good.

I'm running Plugin Version 1.3.3

Steps to reproduce

  1. unplug WLED device
  2. restart homebridge
  3. WLEDs not accasible
  4. restart homebridge again
  5. WLEDs back in action

My setup is a little adanced, I have all the WLEDs in a dedicated Network, Isolated with some other IOT stuff. The Firewall blocks all Internet Traffic but I have homebridge running on 2 networks. The IOT network and my normale house network, so there is no need for any traffice to pass over the router for these devices.
I assume this should work fine but I wanted to mention it.

As it happens rarely I would consider it as a minor bug. Hopefully it is fixable to improve the user experiance.

Support for RGBW Stripes

I don't know if it's possible, but it would be nice to be able to address the white channel of RGBW-stripes as well.

Effect remote doesn't change effect after the first effect.

The remote works once, and I can turn on one effect.

[05/12/2022, 17:01:48] [WLED] Updating WLED in HomeKIT (Because of Polling) 192.168.1.17
[05/12/2022, 17:02:13] [WLED] Set brightness to 100% 255
[05/12/2022, 17:02:18] [WLED] Speed set to 135
[05/12/2022, 17:02:19] [WLED] Speed set to 255
[05/12/2022, 17:02:36] [WLED] Turned on 0 effect!

After this it stops working.

My config:

{
    "platform": "WLED",
    "name": "WLED",
    "wleds": [
        {
            "name": "LED STRING",
            "host": "192.168.1.17",
            "effects": [
                "Wipe Random",
                "Rainbow",
                "Colorloop",
                "Colortwinkles",
                "Random Colors",
                "Sweep Random"
            ],
            "showEffectControl": true,
            "ambilightSwitch": true,
            "log": true
        }
    ]
}

By "stops working" I mean the remote stops working. until I close and open the remote.
Then it just repeats the behaviour above. "Turned on 0 effect!".

Devices no longer appear in Homekit

I've just updated to the newest version of homebridge-simple-wled, 1.2.3. I've changed my configuration according to the documentation. My three WLED devices are no no longer visible on any of my controller devices, they have disappeared from all Home apps. They are, however, still listed in the web UI.

What am I doing wrong?

"platforms": [
    {
        "platform": "WLED",
        "wleds": [
            {
                "name": "Schreibtisch",
                "host": "192.168.178.59",
                "effects": [
                    "Rainbow"
                ]
            },
            {
                "name": "Lowboard",
                "host": "192.168.178.58",
                "effects": [
                    "Rainbow"
                ]
            },
            {
                "name": "Sideboard",
                "host": "192.168.178.31",
                "effects": [
                    "Rainbow"
                ]
            }
        ]
    },
    ...
]

Configure own Effect-Switch issue

Hello, first, your pluggin is so cool, thanks for that.
I have an issue when I want to add another effect to my pluggin, this make homebridge crash every time.
Capture d’écran 2020-12-27 123102

Multiple Devices

Can you take a look at this, I am getting polling errors - It's down to my lack of understanding, im feeling a bit thick at today - I have them both working individually.

{
            "platform": "WLED",
            "wleds": [
                {
                    "name": "Pixel Cube WLED",
                    "host": "192.168.1.172",
                    "log": true
                },
                {
                    "name": "Server Cab WLED",
                    "host": "192.168.168.107",
                    "effects": [
                        "solid",
                        "blink"
                    ],
                    "log": true
                }
            ]
        }

In the server cab, I have a temperature sensor, when the heat hits a number, then flashes red - if then switched back to solid, will that return to the regular solid cool blue. Am I on the right lines or is this beyond the plugin?

Multiple leds on one device

Is there a way to control multiple leds on one device? I have two SK6812s on one esp8266, the first is configured as leds 1-12 and the second 13-24. I'd like to be able to address them separately. That might be already possible, but unfortunately I don't know how.

No light with brightness below 24%

Hi,

I like your project. But I'm having some issue with the brightness controls.
When I set the brightness below 24% in the Home App the light goes off. So I did some digging around and it seams like that the brightness control in the app triggers both the master and color brightness in WLED.
This results in an accumulation of both and turns off the leds.
A side effect of this is that when I toggle the light with a physical button ( to a macro T=2) the light won't go on because the color brightness is low that the color is black.

So I was wondering if it is possible to fix this behaviour.
I noticed that you are converting between HSV and RGB value I guess because of what homekit is sending out? Maybe the issue comes from that part. I'm no expert at all in coding.

Thanks

--edit
I'm running
homebridge-simple-wled v1.3.3
WLED v0.13.0-b6

Option to hide ping error and show as unreachble

Would be nice to have an option to hide the error on Logs if the IP is unreachable.
When unreachable, is it possible to Homekit show it as so?

Background: I'm using a wled strip on TV's back, powered by the usb. When offline, i'm using this to set the TV status on Homekit.

Unable to switch effect from accessory

Hello,
I can't seem to figure out how to switch between the various effects that can be programmed.

Please advise? I would imagine a long press on the effects square would give a popup similar to the on/off one?

Kind Regards
Mark

How to. change default effects

Hi, I just tried to preset some effects. But the preference remains on the effect "rainbow runner", although the alteration I made was saved in the json-config. What do I have to do to change that? Another point: There is no possibilty/menue in the home-app to select any of these effects. So, where can I find a presslection of the effects in homekit?
Could someone help? Best regards

Option to remove the effect switch

Hi,

Thanks for the plugin it works great!

Would there be a way (maybe a setting) to remove the effect switch and only have the light bulb?
I only use the light bulb accessory because I manage my effects directly in WLED and I use the plugin to turn on/off the lights.
I would like to remove that effect switch from my Home app.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.