Page 1 of 1
How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Monday 20 June 2016 22:02
by niki68
Recently I have swapped a KAKU dimmer for a Fibaro dimmer 2 in our living room. Controlling the dimmer from the domoticz dashboard works fine and I can also use this dimmer in various scenes. So far so good.
Just like in the past I want to be able to control this dimmer with a remote. I'm still using quite some KAKU switches so I have a KAKU remote type AYCT-102 for this purpose. I'd like to use it for the control of the Fibaro dimmer and I'm wondering if someone has ever done this and can please help me with some guidelines how to setup in Domoticz.
Thanks in advance.
Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Sunday 04 June 2017 18:30
by TakeAway
I would like to know this too. As i switched the kaku/coco too, except i would like to switch the dimmer on and of with the kaku AWST-8802 double wall switch.
Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Monday 05 June 2017 7:17
by Egregius
In pass2php that would be like this:
Code: Select all
<?php
$stat=apcu_fetch('sdimmer');
if($status=='On'){
if($stat!='Off')$level=ceil($stat*1.05);
else $level=1;
sl($item,$level);
}else{
$level=floor($stat*0.95);
sl($item,$level);
}
Every push would lower/raise by 5%
Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Monday 05 June 2017 9:42
by TakeAway
I have to look into pass2php, never used it before. I assume this would also be possible with blockly?
Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Monday 05 June 2017 10:18
by Egregius
As far as I know you can't do calculations in blockly.
You could however set it in a bunche of if/elseif blocks.
Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Monday 05 June 2017 14:01
by TakeAway
Got it working in a simple blockly.
Thx Egregius for your suggestions.
Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?
Posted: Saturday 02 September 2017 7:44
by Ron
Can you post a screenprint of your Blocky event?