Comments (5)
I would like to keep the interface as less specific as possible. The KLF200 supports all kind of devices, therefore "open" and "close" would work for windows and blinds, but not for lights, fans, etc.
If you need that specific functionality, you could use the script adapter (it should be possible with Blockly) to mimic that functionality or you could use a very basic NodeRED flow for it.
Currently, I don't see the difference in setting a value to 100% or 0% in comparison to setting a value to true.
What is your specific use case that can't be done with the current implementation?
from iobroker.klf200.
Hey Michael,
thanks for the lightspeedlike answer. :)
I know that I could realise this case with an script or in node-red. In my case I had an conversation with another developer. He told me that adapter in ioBroker use a standardized value of objects. For example the shelly adapter uses boolean to turn lights on and off. The mqtt api from shelly only supports "on" and "off" strings. So the developer there changed the on/off values to boolean that it fits in the ioBroker environment.
I have to use the objects in iQontrol. It would be easier to work with boolean, because this developer uses true/false for open and close.
My thought was just a suggestion, I can understand that you want to keep the api by velux clean. Isn't there an option to recognize that the product is a blind/window and add the additional datapoints?
Btw. I'm really grateful for the adapter. For about an year it is working like a charm for me. :)
from iobroker.klf200.
So, what would be the expected behaviour?
I guess:
- set open to true -> set value to 100% and close to false
- set close to ture -> set value to 0% and open to false
- set value to 100%/0% -> set open/close like above
- set value to greater than 0% -> I would assume open = true, close = false
from iobroker.klf200.
Hey Michael,
it would be:
- press button "close" -> set targetPosition to 100%
- press button "open" -> set targetPosition to 0%
I think for the most participants it is enough to have these datapoints.
Here is a screenshot of the shelly datapoints:
Best regards! :)
from iobroker.klf200.
Can be implemented using alias in ioBroker.
from iobroker.klf200.
Related Issues (20)
- warn message about restart will reset HOT 2
- warn message about restart will reset HOT 5
- TimeoutError & Unhandled promise rejection HOT 3
- targetPosition reversed HOT 1
- Flüstermodus ohne Szenen HOT 1
- Rain Sensor Integration for VELUX Roof Windows
- Einstellungen laden mit Fehler HOT 6
- Help message for password in adapter settings dialog
- Please fix issues reported by adapter checker
- Make targetPositionRaw settable
- Add a test connection button to the configuration screen
- Add a refresh state for devices
- klf200 has invalid jsonConfig
- GitHub workflow for Linux and MacOS run only a subset of the tests
- Add an additional warning hint for a factory reset.
- Update stable version in repo from 1.1.2 to 1.2.0 HOT 1
- Think about to fix the issues found by adapter checker HOT 1
- Compatibility check to js-controller 4.0
- vertauschte Laufrichtung bei Velux Rolläden in Google Home über IOT-Adapter HOT 2
- This object will not be created in future versions. HOT 1
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 iobroker.klf200.