Comments (8)
Can give me more information about the dimmer or the light controller configuration?
from pyloxone.
I'm using the dimmer control, not the light controller. A nano touch is used to control a dimmer air, configured as outlined in the screenshots below:
from pyloxone.
@arjenvrh I started with a new interpolation function for your problem. But I had no time to finish. Sorry. Maybe this weekend ;-)
from pyloxone.
@arjenvrh I tried to fix it without screw something else up. :-) The problem is that the light controller uses the dimmer component differently. Maybe you can test again the dev branch. I have no light so I always try it on some fake devices which I create.
from pyloxone.
I am afraid your blind shot didn't succeed.
I just updated to the latest release, as without it light control was not working at all thanks to the missing attribute for light switch. This fixed it for regular lights, but something is still broken for more complex lights (RGB/RGBW in my case).
When I turn-on the light, nothing visibly happens with the light (it doesn't light up), but that could be expected. Then I can select color and it light's up. But then when I turn-off the light, HA shows the light as turned-off, but Loxone shows it as having "main brightness" of whole light controller at 100%, while the brightness of the light at 0%.
from pyloxone.
@johny-mnemonic sorry but I really can not reproduce your errors. It is the biggest problem that I can only test the software on my machine. All my test lights (as I already mentioned I have no lights installed) work perfectly. No errors at all. I can switch, change brightness and color. All works perfect. I do not know how to help sorry.
from pyloxone.
@JoDehli I remember, that you mentioned you have no lights connected to Loxone, but now you mention that your test lights works, so I am a bit confused.
Anyway. Is there anything I can try to help you (debug output, some sequence of actions)?
Basically the issue is, that there is no way to turn-off the light from HA completely as that main brightness slider stays at last set value and we have no control over it from HA.
I just played with it a bit and found that there is no way to decrease the brightness in HA to 0. It only goes to 1 as a lowest value.
I have also found, that this issues is limited to RGB light only. Simple dimmable light works as expected. It remembers the last brightness value before you turned it off, so when you turn it on again it goes right to the last used value. RGB light always go to 1% no matter what brightness was set before turning it off.
So for example when the light is turned-off, you can turn it on by sliding the brightness slider from zero and this way it shines right away (instead of only going to 1% after you turn it on by the switch).
In Loxone the light block has main brightness at the highest brightness you set for the RGB output from HA. It increases when you increase the brightness from HA, but it does not ever decrease when you decrease brightness from HA. Only the RGB output brightness decreases.
This behavior is consistent with what happens when I only play with the RGB brightness slider in Loxone (it only increases the main block brightness, but never decreases it).
When you then turn-off the light from HA the RGB output brightness is brought down to 0%, but main brightness stays on the current value.
When the light is on, there are then three ways to turn whole light block off:
- slide the RGB slider to 0% (which is not possible from HA now)
- slide the main slider to 0% (also not possible from HA)
- activate "turned-off" scene (I noticed only now that my scenes vanished from HA as I almost don't use them)
I also noticed there is no switch in Loxone to switch the dimmable lights off, that would correspond to the switch available in HA. In case you are calling the same action as for the simple lights (that do have the switch in Loxone) this might be the root cause of these troubles.
No matter how you implement that switch it looks like what you do is confusing Loxone:
I now tried to use that switch in HA to turn the light off and then back on (it stayed ON from Loxone point of view) and since I did that I can't bring the light to OFF state by sliding the RGB brightness to 0% in Loxone. Only main brightness or the "turn off" scene now turns the whole light block off.
So the Loxone is obviously confused byt the command it gets from HA. Luckily turning that block off in Loxone fixes it.
Maybe it is important to say, that all blocks where I see this behavior have at least three light outputs, not just a single one. I am not sure if that can make any difference as I have no room where I have only the single RBG light to compare.
from pyloxone.
@johny-mnemonic maybe we should try it direct by mail here is my mail address [email protected]
from pyloxone.
Related Issues (20)
- [Bug]: HOT 17
- [Bug]: Not able to connect to Miniserver HOT 14
- [Request]: Authentication NFC Code Touch HOT 17
- [Request]: Intercom HOT 5
- [Bug]: Inteligent Room Controller not working after update HOT 3
- Error doing job: Task exception was never retrieved HOT 24
- SSL certificate Error when configuring HOT 20
- Error while configuring HOT 1
- phisical button, presence sensor etc... HOT 1
- [Request]: Add a new sensor type for device_class water HOT 1
- [Bug]: cover do not react after Homeassistant update to 2024.05 HOT 4
- [Bug]: Pushbutton does not work after upgrade to Core 2024.5.0 HOT 1
- [Bug]: Error while setting up loxone platform for sensor HOT 7
- [Bug]: switch/turn_on not possible HOT 5
- [Request]: Support IntercomV2 HOT 1
- [Bug]: HOT 3
- [Bug]: Switch error - Failed to call service switch/turn_on. Detected that custom integration 'loxone - 240515' calls async_fire ... HOT 5
- [Bug]: Can no longer set color temperature on RGBW lights HOT 12
- No Real Data HOT 3
- API using a blocking function - Warning HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyloxone.