-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API/Product suggestions #30
Comments
Hi, |
What I can say at the moment... An open MQTT client and more flexible color settings for the LEDs are on our roadmap. If you have this Nebenstelle device
and you would love to have one like this
run this curl line |
@woodworm Thank you very much for your answer. I still have a couple of follow-up questions: Regarding the change of the 4 scene buttons to groupctrl buttons: Is there no possibility to use only 1 button (toggle-button) per light group? I consider the implementation with a separate on (I) and off (O) button to be inconvenient, as the I button no longer has any function when the light is switched on. And this implementation could also be solved with the scene button for undimmed lamps. Scene on and scene off. It would also be cool if 4 separate lamp groups could be controlled with one device. It's cool that the button layout can be adjusted afterwards using the Write register. In the GUI, it says at 0x9000 See TODO_DOC_NAME. Could you provide me with this documentation? I would also like to know the values for other button configurations like this one: I have already analyzed that the format 0x0abc, a is the button type, b is the number of scene buttons and c is the number of group_buttons. Unfortunately I don't know what the button type is, does it have anything to do with I/O seperat = 0 and toggle = 1? So could I write value 0x0104 in register 0x9000 and then have 4 group-ctrl buttons? My absolute "Dream-Nebenstelle" would be this one 😃 :
By the way, it would be really great if you could publish a more detailed documentation. The system has many possibilities that are not really known, such as the register changes (to change button config). I have also started with system flags. Since there is no documentation regarding these things, it is very difficult to implement or change things because the exact implementation details are unknown. I think there are also some crazy nerds out there who would like to play more with the system 😃 |
I agree that a toggle button is usually sufficient... especially to turn a light on or off. Dimmers are a bit tricky... if you press the button for a long time, it's not clear to everyone whether it should dim up or down. It gets difficult with motors. These are almost impossible to operate with a toggle switch. But thank you very much for your input. Here is the complete overview of the possible configurations that are possible today.
|
We are aware that the documentation could be more detailed 🙈. As soon as we find time we will work on it 😑 |
@woodworm Thank you very much for your answer. Nice to hear that you have taken note of my input regarding toggle switch implementation. Also thanks for sharing the buttons configuration codes. Another question regarding something completely different, where I am currently looking for a solution for implementation 😃 : btw: what is the difference between timer and scheduler or system flags and system conditions in the API? I have only seen that a scheduler is created for several timers... |
0x0104 currently not working... only the µGW itself can do this. But it is not tested! Do not use "blocked_if_present" it is deprecated! create a new system flag create a new system conditions (could be more complex "automation and not cleaning or not weather_alarm") now you can create all jobs you need for your automation and finally all timers with a reference to your jobs |
Totally forgot! |
@woodworm Thank you very much. This is exactly what I was looking for. Regarding "blocked_if_present": |
A few more questions about the implementation of the "automation button" before I put it into practice.
I would be really grateful if you could answer my 5 points. The API really has a lot of great "hidden functions" with which you can implement a lot of gimmicks 😃 . Thank you very much for your great support! |
|
To get more information about the scripting write an email to our Customercare Center with the note "API request at woodworm". "Trigger" has no effect and should really be removed from the documentation (more confusing than useful). The idea was that user objects like scenes that trigger a job can be referenced. "scene_input_channel" is an internal reference to the binding on the devices. This allows you to control all loads in a job at the same time with one kPlus frame. |
Is there any timeline for the MQTT roadmap item? I see huge potential with lightweight integrations over NodeRed to Homey and other automation gateways, without the need to write a custom plugin. Additionally to the wished (color) frontset settings, it woule be good to control frontset by time. E. g. if it is 10pm, change the frontset of all devices to minimal lightning and turn off frontset lights at 7am. |
In the next release for µGWv2 we will introduce MQTT client support in the scripting framework! Once we're ready, we'll provide sample scripts to help you get started. For flexible access to the LED colors, a firmware adjustment on the device side would be necessary. This is in the roadmap, but I cannot say anything more specific about it yet. |
What about MQTT for uGWv1? |
I will check it for the next µGWv1 release ... However, I’m concerned that this solution might not meet our expectations due to performance issues. alternatively... contact Feller Support and ask for Woodworm... we will find a solution for you 😉 |
It might be obvious for some, but does "blocked_by" prevent the job from running if the condition (or flag) is TRUE or if it is FALSE? (I think it is the former, because we have "not absent" as a condition that blocks simulation timers, but I'd rather be sure.) If one can directly use a flag, what is the use in creating a condition with only one flag? Particularly, why is there a flag "absent" and a condition "not absent" rather than a flag "present" that could be used directly? Is that about backwards compatibility? |
A job can be blocked by one or more system states, each represented by a system flag. For instance, if there is a storm system flag, you may want to block all jobs that move the "Sonnenstoren", regardless of whether the job is triggered via the cloud as a scene, through a timer, or by a button on the wall. In this example, since there is only one system state, the job can be blocked using 'blocked_by': <storm_id>... so blocked if Storm is true. However, if there are multiple conditions, you can use a conditions id instead of a single system flag. A condition can be defined using 'POST /api/system/conditions' {"expression": "(absent or storm) and not cleaning"}. The expression may only include system flag symbols and the operators "and," "or," "not," and "( )". The condition’s "value" is determined by evaluating the expression. |
Perfect, thanks! So conditions "not absent" and "not vacation" are equivalent in the sense that one is to be used if the flag is named "absent" and the other if the flag is "vacation". That's a very nice implementation. |
@woodworm @oliver-joos
Hello everyone
I have been using Wiser (20 devices) for 1 year now and have been very satisfied so far. 😃
I still have a few wishes/suggestions, which I would like to mention below:
It would be cool to hear from you whether certain things can be implemented in the future.
Many thanks
The text was updated successfully, but these errors were encountered: