Comments (8)
Thanks! I will check this :)
from ad-automoli.
Diagnosed this further, this seems to happen the first time the lights turn on after the brightness has changed. If I manually turn them off and then on again or if I wait for automoli to turn the lights off then next time they turn on they light up.
This also happens if I change the brightness manually and then next time automoli tries to turn the light on with the brightness setting that's set in automoli the light won't light up.
I didn't realize this at first as I have quite a long timeout set for that specific light, so while I was frustratingly trying to figure out why the light didn't work the light was never turned off by automoli.
Perhaps this issue is due to the fact that the lifx bulbs, unlike others support setting the brightness and color/temperature without turning the lights on? Even though it looks to be the exact opposite.
The LIFX bulbs allow a change of color and brightness even when they are turned off. This way you can control the light during the day so its settings are correct when events for turning on are received, for example from motion detectors or external buttons.
The normal light.turn_on call cannot be used for this because it always turns the power on. Thus, LIFX has its own service call that allows color changes without affecting the current power state.
(Taken from: https://www.home-assistant.io/integrations/lifx/ )
from ad-automoli.
Can you please check if this still occurs with current master? :)
from ad-automoli.
if theres still an issue, we can reopen :)
from ad-automoli.
Hi.
Sorry I didn't get a chance to test this earlier... I just did some testing today with the update and unfortunately it still behaves exactly the same as before!
from ad-automoli.
Is there any info/logs I can provide to help you diagnose this further?
from ad-automoli.
Yes!
Could you please set the debug_log
option to true
(possible for a single room) and then show the relevant part (+- 1-2min). This shows some additional output, the variables involved and their current values and such stuff... maybe you even can spot the problem yourself then 😁
According to your research... If I understand the lifx way correctly, it could help to use two calls, the first to set the brightness/color and the second on to actually turn it on?
(or more strict: using two calls should just needed if brightness/color differs from the values from the last time the bulb was on, but that's just theory... two calls everytime wont hurt either...)
from ad-automoli.
ok, closing for now but reopen is no problem ;)
from ad-automoli.
Related Issues (20)
- Option to set times when automoli does not control the light HOT 5
- ImportError: cannot import name 'Room' from 'adutils' HOT 1
- Does not work when there is only a single daytime HOT 1
- TypeError: float() argument must be a string or a real number, not 'NoneType' HOT 1
- Problem with Appdaemon Version 0.12.0 HOT 5
- Unexpected error in worker for App HOT 2
- TypeError since AppDaemon 4.4.2 HOT 2
- Covers
- Add transition for switch to night mode
- [Feature Request] Add new trigger: Smart wall switches as remote for smart bulbs. HOT 1
- AttributeError HOT 2
- Room Error after install Update HOT 4
- Distinguish between weekdays and weekends HOT 2
- Undocumented motion sensor name format expection HOT 3
- Unclear documentation for light value HOT 2
- Suggest different default behaviour for daytimes
- Error setting up automoli when omitting daytimes twice HOT 2
- Automoli broken? HOT 1
- "Bad status line 'SIP/2.0'"
- Upgrading HA AppDaemon addon to 0.8.0 (4.2.0 AppDaemon) breaks AutoMoLi HOT 15
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 ad-automoli.