Light value is too large when environment is dark #22

Closed
opened 2023-08-03 14:56:24 +00:00 by zephyrzhang · 2 comments

I found that some of the expression used x > 0.5, some of the expression used x > 0.05 as trigger.

However I found that for some situation, when surrounding is very dark, the actual dateref for light can be as low as 0.03….. So for this situation, X-keypad button will not light-up.

So I changed all expression related to x > 0.01

Sander, you can take a look of this when you get time, maybe you will figure out a better solution.

I found that some of the expression used x > 0.5, some of the expression used x > 0.05 as trigger. However I found that for some situation, when surrounding is very dark, the actual dateref for light can be as low as 0.03….. So for this situation, X-keypad button will not light-up. So I changed all expression related to x > 0.01 Sander, you can take a look of this when you get time, maybe you will figure out a better solution.
Sander added this to the 1.2.0 milestone 2023-08-03 15:47:37 +00:00
Owner

That's a good point and I've been struggling with this one, as you can probably tell from the different values I used. ToLiss doesn't simply turn a light on or off, it adjusts the brightness. And the thing is, off is not always 0...

I'll have a look into this again.

That's a good point and I've been struggling with this one, as you can probably tell from the different values I used. ToLiss doesn't simply turn a light on or off, it adjusts the brightness. And the thing is, `off` is not always `0`... I'll have a look into this again.
Sander added this to the Requests for improvements project 2023-08-03 15:47:52 +00:00
Sander referenced this issue from a commit 2024-05-31 16:14:57 +00:00
Owner

I've changed all values to 0.01, but couldn't find any instances of 0.5.

I've changed all values to `0.01`, but couldn't find any instances of `0.5`.
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: PassengerFlying/xkeypad_streamdeck_toliss_a319#22
No description provided.