• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


micro-electronic switch: only turn off is possible
#1
Hi,

I found an old "micro-electronic" switch and wanted to control it with pilight.

At first I tried it with the original remote and it works (turning on and off)
Then I recored the remote with pilight-receive:

Code:
proot@raspberrypi:/home/pi# pilight-receive
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "up"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "on"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 1285,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 20,
                "unit": 12,
                "state": "up"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 20,
                "unit": 12,
                "state": "on"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 1284,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "up"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 20,
                "unit": 12,
                "state": "on"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 1285,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 20,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 16,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 1284,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 20,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 4
}
{
        "message": {
                "id": 20,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 4
}
{
        "message": {
                "id": 1284,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 4
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "up"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 5
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 5
}
{
        "message": {
                "id": 1285,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 5
}
{
        "message": {
                "id": 4,
                "unit": 12,
                "state": "up"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 4,
                "unit": 12,
                "state": "on"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 1284,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
Another capture:
Code:
root@raspberrypi:/home/pi# pilight-receive
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "systemcode": 19,
                "unitcode": 3,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "elro_800_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "systemcode": 19,
                "unitcode": 3,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "elro_800_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 1
}
{
        "message": {
                "id": 24,
                "unit": 14,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 24,
                "unit": 14,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 3329,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 3
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "down"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 4
}
{
        "message": {
                "systemcode": 19,
                "unitcode": 3,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "elro_800_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 2
}
{
        "message": {
                "id": 24,
                "unit": 12,
                "state": "off"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 4
}
{
        "message": {
                "id": 1281,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 4
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "up"
        },
        "origin": "receiver",
        "protocol": "arctech_screen_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 5
}
{
        "message": {
                "id": 28,
                "unit": 12,
                "state": "on"
        },
        "origin": "receiver",
        "protocol": "arctech_switch_old",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 5
}
{
        "message": {
                "id": 1285,
                "unit": -1
        },
        "origin": "receiver",
        "protocol": "beamish_switch",
        "uuid": "0000-b8-27-eb-d8f7fc",
        "repeats": 5
}

After I tried some commands, the following worked (It turnes the switch off):
Code:
pilight-send -p kaku_screen_old -i 20 -u 12 -f

But turning on with the following command doesnt work:
Code:
pilight-send -p kaku_screen_old -i 20 -u 12 -t

All other commands I tried didn't work ...

The DIP in the Switch is: 110011 1000
The first 6 Bits are the system code, the last 4 the unit code

Any Idea what is wrong?
If I try using the arctech_switch_old protocol I get:
Code:
pilight-send: ERROR: this protocol is not supported or doesn't support sending

Thx in advance
 
Reply
#2
The problem is that pilight-receive tells you that the protocol is arctech_switch_old, but in reality the protocol is called kaku_switch_old.

So you should use kaku_switch_old instead of arctech_switch_old in your config.
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
Question AVM Smart home switch Rschnauzer 1 2,353 11-28-2019, 10:00 PM
Last Post: motmo
  Owsoo Wall Switch (Push Button / Sold for Sonoff devices with 433MHz)) hawkeyexp 0 1,024 10-14-2019, 10:32 PM
Last Post: hawkeyexp
  Etekcity Switch geokscott 2 2,769 07-11-2019, 03:48 PM
Last Post: hepcat72
  Smartwares switch SH5-RBU-04A and SH5-RBS-04A doesn't work with 8.0.3 flying_dutchman 51 33,850 05-22-2019, 11:16 AM
Last Post: bitboy
  SW-R01 / Geekbes Wireless Lights Switch gogosjon 0 1,694 10-13-2018, 05:29 PM
Last Post: gogosjon
  Switch Mumbi m-FS300 display as arctech-switch Rschnauzer 7 4,615 03-24-2018, 07:13 PM
Last Post: Rschnauzer
  Intertek with DIP Switch compuman1 12 14,375 01-15-2018, 07:59 PM
Last Post: madmoses
  Voltomat switch aszepeshazi 1 6,073 12-05-2017, 02:55 AM
Last Post: Archimdes
  REV Switch Typ 8342L madeluxe 4 7,235 08-02-2017, 05:08 PM
Last Post: Flotto
  SD 401 - OCSM GmbH Funksteckdosen-Set (aka micro-electric AS 73?) - Working atimoc 1 3,691 07-31-2017, 06:01 PM
Last Post: curlymo

Forum Jump:


Browsing: 1 Guest(s)