• 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


dimmer Protocol Elro HE878
#1
hey there
i've got a new toy (Elro HE878 dimmer) for my pilight
this is the switch
but it would not work how i want...
Code:
my Devices

"dimmer": {
            "protocol": [ "kaku_dimmer" ],
            "id": [{
                "id": 31,
                "unit": 0
            }],
            "state": "off",
            "dimlevel": 15
        },
        "elro": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 31,
                "unitcode": 0
            }],
            "state": "off"

if i use the protocol for elro _800_switch
i get from pilight-receive this massage
Code:
"origin": "sender",
        "protocol": "elro_800_switch",
        "message": {
                "systemcode": 31,
                "unitcode": 0,
                "state": "on"
        },
        "repeat": 1,
        "uuid": "0000-b8-27-eb-c6ea52"
so i learned it to pilight and it switches "normaly"...but it just switch from on to off...i can't dimm it

if i get the kaku_dimmer protocol i get this in pilight-receive
Code:
"origin": "sender",
        "protocol": "arctech_dimmer",
        "message": {
                "id": 31,
                "unit": 0,
                "state": "on"
        },
        "repeat": 1,
        "uuid": "0000-b8-27-eb-c6ea52"
but the Elro-switch would not react if i would to lern on the code

so, now...how can i dimm this switch?
 
Reply
#2
Hmmm, can you just fix the formatting (indenting) on those code tags? EDIT: and turn them into code tags, didn't actually notice that Wink

As it is a dimmer, not a switch, you won't be able to dim it using the elro_800 switch protocol. A new protocol is needed, which is similar to the elro_800_switch protocol. To make the creation possible, please follow up on the rules that are posted in the sticky of this board (raw codes and such). Thanks Smile
 
Reply
#3
code tags != quote tags.
 
Reply
#4
so..i think i have one old Protocol found wich is for switching and dimming elro switch/dimmer

names elro_hc_dimmer

i have these files
Quote:
elro_hc_dimmer.c
elro_hc_dimmer.h
protocol.c
CMakeLists

what i have to do now??
 
Reply
#5
Start by posting according to the rules of this part of the forum.
 
Reply
#6
i was corrupt to compile pilight manually there were much false by Xbian
i can't install my protocol Elro_hc_dimmer, so i test just for fun to send something with commandline

Code:
pilight-send pilight-send -p elro_800_switch -s 31 -u 1 -t

than i tried

Code:
pilight-send -p elro_800_switch -s 31 -u 1 -t -d 15

if i variable the dimmlevel the lamp was dimmed

i tried to transpose this in my config.json with dimmlevel
Code:
"elro_800_switch": {
            "protocol": [ "elro_800_switch" ],
            "id": [{
                "systemcode": 31,
                "unitcode": 0
            }],
            "state": "off",
            "dimlevel": 15
pilight-daemon failed

Code:
[Sep 14 20:35:35:720271] pilight-daemon: ERROR: config device setting #4 "dimlevel" of "elro_800_switch", invalid

i understand why the daemon doesn't work
but i dont understand why it works in the commandline with pilight-send -p
because in this moment I use the same protocol


at the end, im sorry for this bad englisch
and @ curlymo i'm sorry for the forum rules,
i want to try get better with this
please help me with it
 
Reply
#7
http://forum.pilight.org/Thread-README-P...ment-forum
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  missing protocol of "date_and_time" in Wiki/Protocols fleisch 3 216 08-03-2019, 06:10 PM
Last Post: curlymo
Brick Protocol for FT0073 drobskind 5 3,109 07-25-2019, 10:44 PM
Last Post: fireball
  Oregon Protocol V2.1: THGR122NX jpoilux 208 67,545 07-04-2019, 02:14 PM
Last Post: Tueftler1983
  Brennenstuhl RCR CE1 1011 with QUIGG GT9000 Protocol scootermacro 1 249 06-27-2019, 06:20 PM
Last Post: scootermacro
  mumbi rcs-20gs protocol scootermacro 0 213 06-21-2019, 12:10 PM
Last Post: scootermacro
  How to introduce a new protocol folder? Phunkafizer 2 423 01-15-2019, 07:25 PM
Last Post: Phunkafizer
  rfcontroljs protocol implementation pisperate 0 250 01-13-2019, 11:07 AM
Last Post: pisperate
  MQTT protocol for pilight Chekov 11 3,180 11-03-2018, 04:21 PM
Last Post: curlymo
  Elro/Flamingo FA20RF Smoke detector meloen 76 37,665 12-16-2017, 07:07 PM
Last Post: pilino1234
  getting started guide for implementing new protocol kaililleby 1 854 11-28-2017, 10:24 PM
Last Post: pilino1234

Forum Jump:


Browsing: 1 Guest(s)