Comments (19)
from hass_dynalite_component.
Sure, there it is as new fail in your component :)
Delete it ASAP, hope you don't mind, couldnt think of better way after i've 'tried (and failed) to format it proprely here in issues.
from hass_dynalite_component.
from hass_dynalite_component.
I pressed create new file, and it went... somewhere.
Did this again, hope this link is ok:
from hass_dynalite_component.
As you can see, I have three presets per cover, one for cover to go up, one to go down and third to stop.
That is also how this timedcover works.
Now, with channels, maybe it can be done better, earlier with presets... couldn't find better way.
from hass_dynalite_component.
from hass_dynalite_component.
from hass_dynalite_component.
You are right, timedcover wont count time if one instructs cover outside of HA.
It can be done, it can time from channel/preset change to change... Well, it can but it doesn't :).
Dynalite isnt capable to know position, but HA can.
from hass_dynalite_component.
from hass_dynalite_component.
Great, will give it a try on monday when i return home! :)
from hass_dynalite_component.
Btw maybe even better would be to make:
'timecover':
channel: 2 # this is optional. I also have a control 4 system that controls the same blind via a channel. If not relevant, use 0
open: 1 # channel to open
close: 2 # channel to close
duration: 75 # time to fully open / close
class: blind # device class. Only affects the visual in HA
And so script takes care that up and down are nevert ON at the same time. This way one doesnt need preset for stop.
I believe for me personally it is better with presets, they are already working, but maybe it is more "correct" to use channels
from hass_dynalite_component.
from hass_dynalite_component.
Same area, of course.
But I did not mean that.
I meant that component can be made that it needs channels, not presets to work.
In that case:
timecover':
open: 1 # channel to open
close: 2 # channel to close
duration: 75 # time to fully open / close
class: blind # device class. Only affects the visual in HA
As i said, maybe it is more correct.
In that case your script would need to:
Automation OPEN
- close_channel OFF # just in case
- open_channel ON
- time delay
- open_channel OFF
Automation CLOSE
- open_channel OFF # just in case
- close_channel ON
- time delay # count seconds, whatever
- close_channel OFF
from hass_dynalite_component.
What is more important, does your timedcover script reacts to direct dynalite keypad commands ?
If i use presets on keypad, will it get that and show precise position ?
from hass_dynalite_component.
my dynalite keypad send the presets so the timecover template monitors these presets and updates the level accordingly. It works in my setup so interested to see whether it works for you.
mine isn't configured with channels this way, as i dont have a direct control (or at least not aware of one) for the open and close channels of the cover itself, so i have to use the presets.
Let me know if the current one works for your setup. If not, i can try and program it, but since my setup works differently, will be very difficult to test...
from hass_dynalite_component.
Is this OK, to write in .yaml file ? (i use dynalite.yaml with !include in configuration.yaml)
'201':
name: Guest Room Cover
template: timecover
channel: 0
open: 1
close: 3
stop: 2
duration: 17
class: blind
from hass_dynalite_component.
Ok, got it, spent some time trying and reading your default configuration.yaml:
And yes, it is a bingo once more :).
Btw, I've put my dynalite.yaml here so someone can learn:
https://github.com/uzelac/hass-dynalite-component-support/blob/master/dynalite.yaml
from hass_dynalite_component.
from hass_dynalite_component.
from hass_dynalite_component.
Related Issues (10)
- Component error: dynalite - cannot import name 'BRIDGE_CONFIG_SCHEMA' from 'dynalite_devices_lib' HOT 25
- Task exception was never retrieved HOT 12
- You have some of your private info in the configuration.yaml file HOT 1
- Is a Dimming slider planned for the future? HOT 2
- Still using MQTT ? Topic ? HOT 2
- Preset as scenes ? Improvement with importing XML from Philips software ? HOT 6
- rembering renamed items / not changing entities name HOT 1
- Fans HOT 1
- Motion sensor
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 hass_dynalite_component.