How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Moderator: leecollings

Post Reply
niki68
Posts: 4
Joined: Thursday 05 May 2016 16:50
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post 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.
TakeAway
Posts: 21
Joined: Monday 20 June 2016 11:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7722
Location: Netherlands
Contact:

Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post 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.
Raspberry Pi 3 - Domoticz 3.7722 - Aeon Labs Z-Stick GEN5 - RFXcom version: Ext/1012- Logitech Harmony Elite - Homebridge - Fibaro FGMS-001-ZW5 - Fibaro FGDW-002-01 - KAKU stuff.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post 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%
TakeAway
Posts: 21
Joined: Monday 20 June 2016 11:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7722
Location: Netherlands
Contact:

Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post by TakeAway »

I have to look into pass2php, never used it before. I assume this would also be possible with blockly?
Raspberry Pi 3 - Domoticz 3.7722 - Aeon Labs Z-Stick GEN5 - RFXcom version: Ext/1012- Logitech Harmony Elite - Homebridge - Fibaro FGMS-001-ZW5 - Fibaro FGDW-002-01 - KAKU stuff.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post 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.
TakeAway
Posts: 21
Joined: Monday 20 June 2016 11:37
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.7722
Location: Netherlands
Contact:

Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post by TakeAway »

Got it working in a simple blockly.
Thx Egregius for your suggestions.
Raspberry Pi 3 - Domoticz 3.7722 - Aeon Labs Z-Stick GEN5 - RFXcom version: Ext/1012- Logitech Harmony Elite - Homebridge - Fibaro FGMS-001-ZW5 - Fibaro FGDW-002-01 - KAKU stuff.
Ron
Posts: 82
Joined: Friday 27 December 2013 23:29
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2284
Location: Nederland, Den Bosch
Contact:

Re: How can I use a KAKU remote AYCT-102 to dim Fibaro dimmer 2?

Post by Ron »

Can you post a screenprint of your Blocky event?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest