Zacknetic / HomebridgeMagicHome-DynamicPlatform

Homebridge Plugin for MagicHome LED controllers and light bulbs
Apache License 2.0
61 stars 11 forks source link

Brightness Control and Color management #137

Open rsinjab opened 1 year ago

rsinjab commented 1 year ago

Hey there, First of all, thank you so much for the great plugin. It's amazing.

After the latest update, I realized that I'm unable to control the brightness of my LED strips. I can turn on/off but cannot control the brightness. Also my LEDs are a single color LEDs and the controller I have is also non RGB, however in Home app I see the color control active now.

Is there a way to fix this? Please see the settings below

{ "pruning": { "pruneMissingCachedAccessories": false, "restartsBeforeMissingAccessoriesPruned": 3, "pruneAllAccessoriesNextRestart": false }, "whiteEffects": { "simultaniousDevicesColorWhite": false, "colorWhiteThreshold": 10, "colorWhiteThresholdSimultaniousDevices": 100, "colorOffThresholdSimultaniousDevices": 5 }, "deviceManagement": { "blacklistOrWhitelist": "blacklist" }, "advancedOptions": { "periodicDiscovery": true, "namesWithMacAddress": false, "logLevel": 3 }, "_bridge": { "username": "***", "port": * }, "platform": "homebridge-magichome-dynamic-platform" }

benisdev-py commented 1 year ago

Same Problem dude :(

benisdev-py commented 1 year ago

I found something that worked for me:

install via the Dashboard Console these two npm packages:

npm i homebridge-lib
npm i magichome-platform

found it on: https://www.npmjs.com/package/homebridge-magichome-dynamic-platform?activeTab=dependencies

Zacknetic commented 1 year ago

@rsinjab hey, thank you for reporting the issue. Could you please share your logs?

Please keep in mind that the latest 2.0.0-alpha version is missing quite a few features and should still be considered just that, an alpha and unstable version. That said, I could use all the help I can get with testing this version so thank you! I will work on the switches and single color bulbs next.

@benisdev-py , installing the dependencies directly helped with that? What version are you using?