Open SearchCz opened 11 months ago
I am out of town I can look at it on the weekend Could you send me -Type of blue -why action is doneKarl On Aug 8, 2023, at 21:24, SearchCz @.***> wrote: I understood the attribute controller was for changing the color of a Hue color/ambiance bulb. But in my case it is ASLO causing changes to the brightness of the bulb, either raising it to 100% or dropping it to 0% unexpectedly.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
I appreciate your odder to look into this, but I don’t understand what you are asking me to send you.
On Aug 8, 2023, at 3:49 PM, Karl Wachs @.***> wrote:
I am out of town I can look at it on the weekend Could you send me -Type of blue -why action is doneKarl On Aug 8, 2023, at 21:24, SearchCz @.***> wrote: I understood the attribute controller was for changing the color of a Hue color/ambiance bulb. But in my case it is ASLO causing changes to the brightness of the bulb, either raising it to 100% or dropping it to 0% unexpectedly.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***> — Reply to this email directly, view it on GitHub https://github.com/kw123/Hue-Lights-Indigo-plugin/issues/23#issuecomment-1670215593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP77OYS4NTJW5WO6GZM3EM3XUKJ4LANCNFSM6AAAAAA3I5VV6Q. You are receiving this because you authored the thread.
Switch on debug „actions“Then change the light Then send me Indigo dir .. /logs/ hue / plugin.log. The part of the action. The path is a little different, but I guess you will figure it out. Sending from my phone KarlOn 09.08.2023, at 17:16, SearchCz @.***> wrote: I appreciate your odder to look into this, but I don’t understand what you are asking me to send you.
On Aug 8, 2023, at 3:49 PM, Karl Wachs @.***> wrote:
I am out of town I can look at it on the weekend Could you send me -Type of blue -why action is doneKarl On Aug 8, 2023, at 21:24, SearchCz @.***> wrote:
I understood the attribute controller was for changing the color of a Hue color/ambiance bulb. But in my case it is ASLO causing changes to the brightness of the bulb, either raising it to 100% or dropping it to 0% unexpectedly.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>
—
Reply to this email directly, view it on GitHub https://github.com/kw123/Hue-Lights-Indigo-plugin/issues/23#issuecomment-1670215593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP77OYS4NTJW5WO6GZM3EM3XUKJ4LANCNFSM6AAAAAA3I5VV6Q.
You are receiving this because you authored the thread.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
OK. Here's the log file as requested. The device names in question are "Desk Left" and "Desk Left Color". plugin.log
it looks like from the log:
2023-08-09 16:37:27 Starting actionControlDimmerRelay for device Desk Left Color. action: actionValue : 31 configured : True delayAmount : 900 description : brighten device to 31% deviceAction : SetBrightness <<======= deviceId : 1793670184
it does not set color just brightness
What action did you do. please be specific and send screen shots
Karl
On Aug 9, 2023, at 17:51, karl wachs @.***> wrote:
Switch on debug „actions“ Then change the light Then send me Indigo dir .. /logs/ hue / plugin.log. The part of the action.
The path is a little different, but I guess you will figure it out.
Sending from my phone
Karl
On 09.08.2023, at 17:16, SearchCz @.***> wrote:
I appreciate your odder to look into this, but I don’t understand what you are asking me to send you.
On Aug 8, 2023, at 3:49 PM, Karl Wachs @.***> wrote:
I am out of town I can look at it on the weekend Could you send me -Type of blue -why action is doneKarl On Aug 8, 2023, at 21:24, SearchCz @.***> wrote: I understood the attribute controller was for changing the color of a Hue color/ambiance bulb. But in my case it is ASLO causing changes to the brightness of the bulb, either raising it to 100% or dropping it to 0% unexpectedly.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***> — Reply to this email directly, view it on GitHub https://github.com/kw123/Hue-Lights-Indigo-plugin/issues/23#issuecomment-1670215593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP77OYS4NTJW5WO6GZM3EM3XUKJ4LANCNFSM6AAAAAA3I5VV6Q. You are receiving this because you authored the thread.
— Reply to this email directly, view it on GitHub https://github.com/kw123/Hue-Lights-Indigo-plugin/issues/23#issuecomment-1671607296, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH2SNE6MX5SLN2APPNOJXLXUOSU3ANCNFSM6AAAAAA3I5VV6Q. You are receiving this because you commented.
I am changing the brightness on the Hue Device Attribute Controller, not on the Hue Device. I understood that brightness on the Attribute Controller would change the defined attribute (hue), not the actual brightness. Is this not the case?
If my bulb is at 50% or less when I move the slider on the attribute controller, the bulb drops to 0%.
If my bulb is at 51% or higher, it jumps to 100% when I move the sloder on the attribute controller.
please dow load new version .49 from indigo
then set debug to off in config
in device (that the attribute device controls) set debug to on (at bottom)
then only action and changes to that device (incl attribute device) will be logged.
then do your testing and send me the log.
Karl
On Aug 10, 2023, at 15:49, SearchCz @.***> wrote:
I am changing the brightness on the Hue Device Attribute Controller, not on the Hue Device. I understood that brightness on the Attribute Controller would change the defined attribute (hue), not the actual brightness. Is this not the case?
If my bulb is at 50% or less when I move the slider on the attribute controller, the bulb drops to 0%.
If my bulb is at 51% or higher, it jumps to 100% when I move the sloder on the attribute controller.
— Reply to this email directly, view it on GitHub https://github.com/kw123/Hue-Lights-Indigo-plugin/issues/23#issuecomment-1673261301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH2SNEHLAP3GZZCC6WNUWTXUTRFPANCNFSM6AAAAAA3I5VV6Q. You are receiving this because you commented.
Updated the plugin. Ran the test. Here's the log. Looks like the attribute controller might not be capturing the brightness before changing the attributes, then mistakenly including a brightness of 0 or 100 (rather than the original brightness) in the instruction to change the hue? Thanks again for checking into this! DeskLeft.txt
it seems it is an integer thing
int(round(brightnessLevel * 255.0 / 100.0)) good
vs
int(round(brightnessLevel / 100.0 * 255.0) bad
I will have to go all the code and fix this ..
Karl
On Aug 11, 2023, at 16:28, SearchCz @.***> wrote:
Updated the plugin. Ran the test. Here's the log. Looks like the attribute controller might not be capturing the brightness before changing the attributes, then mistakenly including a brightness of 0 or 100 (rather than the original brightness) in the instruction to change the hue? Thanks again for checking into this! DeskLeft.txt https://github.com/kw123/Hue-Lights-Indigo-plugin/files/12322462/DeskLeft.txt — Reply to this email directly, view it on GitHub https://github.com/kw123/Hue-Lights-Indigo-plugin/issues/23#issuecomment-1674885969, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEH2SNEFU7M6RGSRWG4XS33XUY6P5ANCNFSM6AAAAAA3I5VV6Q. You are receiving this because you commented.
please try v .50. posted on indigo and GitHub server
my attribute device now works fine.
Karl
On Aug 11, 2023, at 19:35, karl wachs @.***> wrote:
int(round(brightnessLevel / 100.0 * 255.0)
Beautiful. I’m away from home but will try this over the weekend.Sent from my iPhoneOn Aug 11, 2023, at 4:10 PM, Karl Wachs @.***> wrote: please try v .50. posted on indigo and GitHub server
my attribute device now works fine.
Karl
On Aug 11, 2023, at 19:35, karl wachs @.***> wrote:
int(round(brightnessLevel / 100.0 * 255.0)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
I understood the attribute controller was for changing the color of a Hue color/ambiance bulb. But in my case it is ASLO causing changes to the brightness of the bulb, either raising it to 100% or dropping it to 0% unexpectedly.