I try to install a device HomeduinoRFShutter and operate it with the protocol shutter3. Unfortunately that does not seem to be working. With my current functioning HomeduinoRFButtonDevice with protocol shutter3 I can the options “move for” etc Suffixes do not use. I would like to drive the shutters by button and Rule to a certain position, so go for a certain time.
-
different HomeduinoRFDevices with different Suffixes
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
which hardware do you have? sure that it’s shutter3 protocol?
having some debug output for us?pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 Yes i’m sure. I use this one: Romotec with the shutter3 protocol of willy
With this working config:{ "id": "roll1", "name": "RollWohnzimmer", "class": "HomeduinoRFButtonsDevice", "buttons": [ { "id": "roll1-up", "text": "Rauf", "protocols": [ { "name": "shutter3", "options": { "id": 128457074, "channel": 2, "command": "up" } } ] }, { "id": "roll1-stop", "text": "Stop", "protocols": [ { "name": "shutter3", "options": { "id": 128457074, "channel": 2, "command": "stop" } } ] }, { "id": "roll1-down", "text": "Runter", "protocols": [ { "name": "shutter3", "options": { "id": 128457074, "channel": 2, "command": "down" } } ] } ] } ],
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
what about creating a second buttons device
{ "id": "shuttercontrol", "name": "Shutter Control", "class": "ButtonsDevice", "buttons": [ { "id": "button-roll1-down-5", "text": "5 sec" }, { "id": "button-roll1-down-10", "text": "10 sec" }, { "id": "button-roll1-stop", "text": "Stop" }, { "id": "button-roll1-up", "text": "Up" }, { "id": "button-roll1-down", "text": "down" }, ] },
now you can create rules like :
If button-roll1-down-5 is pressed then press button roll1-down and after 5 seconds press button roll1-stop
do this similar for your other buttons and put this device to your gui.
you should have all you want to within one device.the difference between your “shutter device” and the “time device” is, that the ID at the time device is named button-… so you’re having an easy setup.
tried with a buttons device here, it seems to work for me (with another buttonsdevice for switchung LED)
(maybe rename the 5 and 10 sec buttons to “Half” and “Third” or something similar… )
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
@leader21 Thanks, I’ll try it so. Do I get with “Second button’s device” the state of the buttons? Because my roller shutter switch gives me no State’s. Sometimes it’s good to have a state, for control and for Rule also.
Is somehow a dual function in a rule possible? Similar to:
If button is pressed and state is up then press button roll1-down and after 10 seconds press button roll1-stop or state is down then press button roll1-up and after 2 seconds press button roll1-stop
But I’m afraid it’s only goes with two rules and two variables .
And with five roller shutter switch, the config soon very confusing.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
there’s no native state of your device.
you could try to create a string variable called $state
then you could try to have some rules like
If button-roll1-down-5 is pressed and $state.value = "up" then press button roll1-down and after 5 seconds press button roll1-stop and set $state.value = "down"
could work but not testedproblem will be if you are doing this with the down only button and you’re having the shutters at half, the down rule won’t work anymore.
you will have to use a rule like this
IF button-roll1-down is pressed THEN press button roll1-down and set $state.value = "down"
(otherwise it won’t work if you say IF … an state is = “up”… when state is already in half mode and signed as “down”. doesn’t work when the shutters are already in half (lets say 5 sec.) postition… understand?!)so maybe you will have to create variables for each state or just write the up and down state as in the above rule.
maybe there’s an easier option but not that i can imagine right now.
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !