CAME Fernbedienung via CUL einbinden

Begonnen von sunny9999, 03 November 2017, 18:38:46

Vorheriges Thema - Nächstes Thema

andies

PS Alternativ kannst Du natürlich auch mit pilight senden und das über FHEM als externen Befehl einbauen. Das wäre dann (und damit kann man unabhängig von FHEM das testen)
pilight-send -p raw -c "<und hier kommt jetzt entweder direkt eine von Dir aufgezeichnete Zahlenreihe oder aber die, von der ich denke, dass es auch die richtige ist>"
und bei FHEM als shell script verpackt, zum Beispiel so hier https://forum.fhem.de/index.php/topic,77552.msg694757.html#msg694757
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

sunny9999

Gerade am anschliessen des rx 480 ...
Wie muss ich den in pilight konfigurieren das pilight den erkennt ?
Kann man beides dran lassen, also den rxb6 und den rx 480 ?
Grüße
Sunny

sunny9999

Wenn ich das eingebe kommt ne Fehlermeldung, scheint so das da noch was in die config.json rein muss.......aber was ?

root@raspberrypi:/home/pi# pilight-send -p raw -c "380 1944 378 1957 2084 252 2070 256 2066 256 2072 253 2065 258 2066 257 326 1998 333 2013 2052 258 2064 260 2064 258 2064 260 2068 254 323 2001 2067 260 323 15734"
[Nov 10 17:15:24:846161] pilight-send: NOTICE: no pilight ssdp connections found
root@raspberrypi:/home/pi#

andies

Ja, du kannst beide einbinden. In der config.json muss stehen, an welchen GPIO der Sender kommt. Wenn da 2 steht, muss das nach dem Diagramm an 13/BCM27/GPIO2.

Mach mal debug (pilight-daemon -D), um dem Fehler auf die Schliche zu kommen. (Steht was in der log?) Vorher mal sudo pilight-send versuchen.
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

sunny9999

   },
        "hardware": {
                "433gpio": {
                        "sender": 0,
                        "receiver": 2
                }

So stehts drin, scheint auch zu laufen....
Bei
piligt-send-p
kommt eine Auswahl an unterstützen Protokollen

Bei piligt-daemon -D kommt ne Liste wie folgt
[Nov 10 17:59:36:363882] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/multiply.lua v1.0
[Nov 10 17:59:36:364375] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/gt.lua v1.0
[Nov 10 17:59:36:364780] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/eq.lua v1.0
[Nov 10 17:59:36:365364] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/divide.lua v1.0
[Nov 10 17:59:36:365903] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/intdivide.lua v1.0
[Nov 10 17:59:36:366423] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/or.lua v1.0
[Nov 10 17:59:36:366834] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/ne.lua v1.0
[Nov 10 17:59:36:367296] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/ge.lua v1.0
[Nov 10 17:59:36:367697] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/plus.lua v1.0
[Nov 10 17:59:36:368189] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/le.lua v1.0
[Nov 10 17:59:36:368598] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/minus.lua v1.0
[Nov 10 17:59:36:369055] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/lt.lua v1.0
[Nov 10 17:59:36:369574] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/modulus.lua v1.0
[Nov 10 17:59:36:370002] pilight-daemon: DEBUG: loaded event action /usr/local/pilight/operators/and.lua v1.0
[Nov 10 17:59:36:371955] pilight-daemon: INFO: version v7.0-252-g97d4b57
[Nov 10 17:59:36:372299] pilight-daemon: DEBUG: ssdp sent search
[Nov 10 17:59:36:476102] pilight-daemon: NOTICE: a pilight daemon was found @192.168.10.234, clientizing
[Nov 10 17:59:36:502137] pilight-daemon: DEBUG: new thread node, 1 thread running
[Nov 10 17:59:36:502327] pilight-daemon: DEBUG: new thread sender, 2 threads running
[Nov 10 17:59:36:507001] pilight-daemon: DEBUG: new thread broadcaster, 3 threads running
[Nov 10 17:59:36:506973] pilight-daemon: DEBUG: ssdp sent search
[Nov 10 17:59:36:512520] pilight-daemon: DEBUG: new thread receive parser, 4 threads running
[Nov 10 17:59:36:636695] pilight-daemon: DEBUG: socket write succeeded: {"action":"identify","uuid":"0000-b8-27-eb-2ff74b","options":{"receiver":1,"forward":1,"config":1}}

[Nov 10 17:59:36:637207] pilight-daemon: DEBUG: socket recv: {"status":"success"}
[Nov 10 17:59:36:637316] pilight-daemon: DEBUG: socket write succeeded: {"action":"request config"}

[Nov 10 17:59:36:637794] pilight-daemon: DEBUG: socket recv: {"message":"config","config":{"devices":{},"rules":{},"gui":{},"settings":{"log-level":5,"pid-file":"/var/run/pilight.pid","log-file":"/var/log/pilight.log","gpio-platform":"raspberrypi2","webserver-enable":1,"webserver-root":"/usr/local/pilight/webgui","webserver-http-port":5001,"webserver-cache":1},"hardware":{"433gpio":{"sender":0,"receiver":1}},"registry":{"webserver":{"ssl":{"certificate":{"secure":0,"location":"/etc/pilight/pilight.pem"}}},"pilight":{"version":{"current":"7.0"}}}}}
[Nov 10 17:59:36:638150] pilight-daemon: DEBUG: garbage collected config gui library
[Nov 10 17:59:36:638213] pilight-daemon: DEBUG: garbage collected config devices library
[Nov 10 17:59:36:638249] pilight-daemon: DEBUG: garbage collected config rules library
[Nov 10 17:59:36:638294] pilight-daemon: DEBUG: garbage collected config registry library
[Nov 10 17:59:36:638379] pilight-daemon: DEBUG: loaded master configuration
[Nov 10 17:59:37:340555] pilight-daemon: DEBUG: cpu: 0.000000%
[Nov 10 17:59:37:340985] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.0000000061613706},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-2ff74b","action":"update"}

[Nov 10 17:59:37:341050] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.0000000061613706},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-2ff74b"}
[Nov 10 17:59:40:340267] pilight-daemon: DEBUG: cpu: 0.029189%
[Nov 10 17:59:40:340690] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.0291887521380745},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-2ff74b","action":"update"}

[Nov 10 17:59:40:340758] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.0291887521380745},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-2ff74b"}
[Nov 10 17:59:43:340945] pilight-daemon: DEBUG: cpu: 0.027937%
[Nov 10 17:59:43:341364] pilight-daemon: DEBUG: socket write succeeded: {"values":{"cpu":0.0279365655908323},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-2ff74b","action":"update"}

[Nov 10 17:59:43:341437] pilight-daemon: DEBUG: broadcasted: {"values":{"cpu":0.0279365655908323},"origin":"core","type":-1,"uuid":"0000-b8-27-eb-2ff74b"}
^C[Nov 10 17:59:45:723992] pilight-daemon: INFO: Interrupt signal received. Please wait while pilight is shutting down
[Nov 10 17:59:46:724342] pilight-daemon: DEBUG: socket write succeeded: HEART

[Nov 10 17:59:46:724442] pilight-daemon: DEBUG: garbage collected event operator library
[Nov 10 17:59:46:724494] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724528] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724558] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724589] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724619] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724654] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724687] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:724712] pilight-daemon: DEBUG: garbage collected event action library
[Nov 10 17:59:46:724750] pilight-daemon: DEBUG: garbage collected event function library
[Nov 10 17:59:46:724777] pilight-daemon: DEBUG: garbage collected events library
[Nov 10 17:59:46:726069] pilight-daemon: INFO: removed stale pid_file /var/run/pilight.pid
[Nov 10 17:59:46:726150] pilight-daemon: DEBUG: garbage collected datetime library
[Nov 10 17:59:46:726329] pilight-daemon: DEBUG: garbage collected ssdp library
[Nov 10 17:59:46:726377] pilight-daemon: DEBUG: garbage collected options library
[Nov 10 17:59:46:726415] pilight-daemon: DEBUG: garbage collected socket library
[Nov 10 17:59:46:726459] pilight-daemon: DEBUG: garbage collected config settings library
[Nov 10 17:59:46:726489] pilight-daemon: DEBUG: garbage collected config devices library
[Nov 10 17:59:46:726523] pilight-daemon: DEBUG: garbage collected config rules library
[Nov 10 17:59:46:726568] pilight-daemon: DEBUG: garbage collected config gui library
[Nov 10 17:59:46:726616] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:726653] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:726690] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:726726] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:726755] pilight-daemon: DEBUG: garbage collected config hardware library
[Nov 10 17:59:46:726788] pilight-daemon: DEBUG: garbage collected config registry library
[Nov 10 17:59:46:726819] pilight-daemon: DEBUG: garbage collected config library
[Nov 10 17:59:46:726857] pilight-daemon: DEBUG: protocol ping
[Nov 10 17:59:46:726902] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:726938] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:726969] pilight-daemon: DEBUG: protocol arping
[Nov 10 17:59:46:727003] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:727038] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727068] pilight-daemon: DEBUG: protocol generic_webcam
[Nov 10 17:59:46:727105] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727134] pilight-daemon: DEBUG: protocol generic_weather
[Nov 10 17:59:46:727173] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727203] pilight-daemon: DEBUG: protocol generic_switch
[Nov 10 17:59:46:727238] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727268] pilight-daemon: DEBUG: protocol generic_screen
[Nov 10 17:59:46:727303] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727333] pilight-daemon: DEBUG: protocol generic_label
[Nov 10 17:59:46:727366] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727395] pilight-daemon: DEBUG: protocol generic_dimmer
[Nov 10 17:59:46:727433] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727462] pilight-daemon: DEBUG: protocol raw
[Nov 10 17:59:46:727493] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727523] pilight-daemon: DEBUG: protocol pilight_firmware
[Nov 10 17:59:46:727557] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727587] pilight-daemon: DEBUG: protocol pilight_firmware
[Nov 10 17:59:46:727621] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727651] pilight-daemon: DEBUG: protocol relay
[Nov 10 17:59:46:727680] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:727715] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727744] pilight-daemon: DEBUG: protocol lm76
[Nov 10 17:59:46:727778] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:727814] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727844] pilight-daemon: DEBUG: protocol lm75
[Nov 10 17:59:46:727877] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:727913] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:727942] pilight-daemon: DEBUG: protocol gpio_switch
[Nov 10 17:59:46:727976] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728010] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728039] pilight-daemon: DEBUG: protocol ds18s20
[Nov 10 17:59:46:728073] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728108] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728138] pilight-daemon: DEBUG: protocol ds18b20
[Nov 10 17:59:46:728171] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728224] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728256] pilight-daemon: DEBUG: protocol dht22
[Nov 10 17:59:46:728290] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728328] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728358] pilight-daemon: DEBUG: protocol dht11
[Nov 10 17:59:46:728391] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728430] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728459] pilight-daemon: DEBUG: protocol bmp180
[Nov 10 17:59:46:728492] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728534] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728565] pilight-daemon: DEBUG: protocol xbmc
[Nov 10 17:59:46:728597] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728631] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728662] pilight-daemon: DEBUG: protocol wunderground
[Nov 10 17:59:46:728691] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728736] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728765] pilight-daemon: DEBUG: protocol sunriseset
[Nov 10 17:59:46:728794] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728829] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728859] pilight-daemon: DEBUG: protocol program
[Nov 10 17:59:46:728914] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:728954] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:728984] pilight-daemon: DEBUG: protocol openweathermap
[Nov 10 17:59:46:729013] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:729057] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729086] pilight-daemon: DEBUG: protocol lirc
[Nov 10 17:59:46:729119] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:729152] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729181] pilight-daemon: DEBUG: protocol datetime
[Nov 10 17:59:46:729210] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:729246] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:729287] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729317] pilight-daemon: DEBUG: protocol cpu_temp
[Nov 10 17:59:46:729346] pilight-daemon: DEBUG: stopped protocol threads
[Nov 10 17:59:46:729381] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729411] pilight-daemon: DEBUG: protocol x10
[Nov 10 17:59:46:729445] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729475] pilight-daemon: DEBUG: protocol tfa30
[Nov 10 17:59:46:729503] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:729541] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729570] pilight-daemon: DEBUG: protocol tfa
[Nov 10 17:59:46:729598] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:729639] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729672] pilight-daemon: DEBUG: protocol teknihall
[Nov 10 17:59:46:729701] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:729740] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729770] pilight-daemon: DEBUG: protocol techlico_switch
[Nov 10 17:59:46:729806] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729835] pilight-daemon: DEBUG: protocol tcm
[Nov 10 17:59:46:729864] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:729904] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729933] pilight-daemon: DEBUG: protocol silvercrest
[Nov 10 17:59:46:729968] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:729997] pilight-daemon: DEBUG: protocol selectremote
[Nov 10 17:59:46:730033] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730062] pilight-daemon: DEBUG: protocol secudo_smoke_sensor
[Nov 10 17:59:46:730094] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730124] pilight-daemon: DEBUG: protocol sc2262
[Nov 10 17:59:46:730157] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730186] pilight-daemon: DEBUG: protocol rsl366
[Nov 10 17:59:46:730230] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730262] pilight-daemon: DEBUG: protocol rev3_switch
[Nov 10 17:59:46:730298] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730327] pilight-daemon: DEBUG: protocol rev2_switch
[Nov 10 17:59:46:730363] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730393] pilight-daemon: DEBUG: protocol rev1_switch
[Nov 10 17:59:46:730428] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730457] pilight-daemon: DEBUG: protocol rc101
[Nov 10 17:59:46:730493] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730524] pilight-daemon: DEBUG: protocol quigg_screen
[Nov 10 17:59:46:730560] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730590] pilight-daemon: DEBUG: protocol quigg_gt9000
[Nov 10 17:59:46:730624] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730653] pilight-daemon: DEBUG: protocol quigg_gt7000
[Nov 10 17:59:46:730690] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730719] pilight-daemon: DEBUG: protocol quigg_gt1000
[Nov 10 17:59:46:730757] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730786] pilight-daemon: DEBUG: protocol pollin
[Nov 10 17:59:46:730821] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730850] pilight-daemon: DEBUG: protocol ninjablocks_weather
[Nov 10 17:59:46:730880] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:730919] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:730948] pilight-daemon: DEBUG: protocol mumbi
[Nov 10 17:59:46:730984] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731013] pilight-daemon: DEBUG: protocol logilink_switch
[Nov 10 17:59:46:731048] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731078] pilight-daemon: DEBUG: protocol livolo_switch
[Nov 10 17:59:46:731114] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731143] pilight-daemon: DEBUG: protocol impuls
[Nov 10 17:59:46:731177] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731214] pilight-daemon: DEBUG: protocol heitech
[Nov 10 17:59:46:731250] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731280] pilight-daemon: DEBUG: protocol ev1527
[Nov 10 17:59:46:731313] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731342] pilight-daemon: DEBUG: protocol eurodomest_switch
[Nov 10 17:59:46:731379] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731408] pilight-daemon: DEBUG: protocol elro_800_switch
[Nov 10 17:59:46:731444] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731475] pilight-daemon: DEBUG: protocol elro_800_contact
[Nov 10 17:59:46:731509] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731539] pilight-daemon: DEBUG: protocol elro_400_switch
[Nov 10 17:59:46:731575] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731604] pilight-daemon: DEBUG: protocol elro_300_switch
[Nov 10 17:59:46:731640] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731669] pilight-daemon: DEBUG: protocol ehome
[Nov 10 17:59:46:731704] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731733] pilight-daemon: DEBUG: protocol daycom
[Nov 10 17:59:46:731767] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731796] pilight-daemon: DEBUG: protocol conrad_rsl_switch
[Nov 10 17:59:46:731833] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731862] pilight-daemon: DEBUG: protocol conrad_rsl_contact
[Nov 10 17:59:46:731896] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731925] pilight-daemon: DEBUG: protocol cleverwatts
[Nov 10 17:59:46:731962] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:731991] pilight-daemon: DEBUG: protocol clarus_switch
[Nov 10 17:59:46:732026] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732056] pilight-daemon: DEBUG: protocol beamish_switch
[Nov 10 17:59:46:732092] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732120] pilight-daemon: DEBUG: protocol auriol
[Nov 10 17:59:46:732150] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:732188] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732217] pilight-daemon: DEBUG: protocol arctech_switch_old
[Nov 10 17:59:46:732261] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732295] pilight-daemon: DEBUG: protocol arctech_switch
[Nov 10 17:59:46:732332] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732365] pilight-daemon: DEBUG: protocol arctech_screen_old
[Nov 10 17:59:46:732402] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732431] pilight-daemon: DEBUG: protocol arctech_screen
[Nov 10 17:59:46:732468] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732498] pilight-daemon: DEBUG: protocol arctech_motion
[Nov 10 17:59:46:732533] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732562] pilight-daemon: DEBUG: protocol arctech_dusk
[Nov 10 17:59:46:732595] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732625] pilight-daemon: DEBUG: protocol arctech_dimmer
[Nov 10 17:59:46:732664] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732694] pilight-daemon: DEBUG: protocol arctech_contact
[Nov 10 17:59:46:732729] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732759] pilight-daemon: DEBUG: protocol alecto_wx500
[Nov 10 17:59:46:732788] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:732833] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732866] pilight-daemon: DEBUG: protocol alecto_wsd17
[Nov 10 17:59:46:732895] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:732930] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:732959] pilight-daemon: DEBUG: protocol alecto_ws1700
[Nov 10 17:59:46:732988] pilight-daemon: DEBUG: ran garbage collector
[Nov 10 17:59:46:733027] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:733057] pilight-daemon: DEBUG: protocol process
[Nov 10 17:59:46:733089] pilight-daemon: DEBUG: freed options struct
[Nov 10 17:59:46:733117] pilight-daemon: DEBUG: garbage collected protocol library
[Nov 10 17:59:46:733155] pilight-daemon: DEBUG: garbage collected ntp library
[Nov 10 17:59:46:733211] pilight-daemon: DEBUG: stopping node thread
[Nov 10 17:59:46:733264] pilight-daemon: DEBUG: stopped thread node, 3 threads running
[Nov 10 17:59:46:743350] pilight-daemon: DEBUG: stopping sender thread
[Nov 10 17:59:46:743396] pilight-daemon: DEBUG: stopped thread sender, 2 threads running
[Nov 10 17:59:46:753446] pilight-daemon: DEBUG: stopping broadcaster thread
[Nov 10 17:59:46:753486] pilight-daemon: DEBUG: stopped thread broadcaster, 1 thread running
[Nov 10 17:59:46:763536] pilight-daemon: DEBUG: stopping receive parser thread
[Nov 10 17:59:46:763574] pilight-daemon: DEBUG: stopped thread receive parser, 0 threads running
[Nov 10 17:59:46:773630] pilight-daemon: DEBUG: garbage collected threads library
[Nov 10 17:59:46:774157] pilight-daemon: DEBUG: garbage collected dso library
DEBUG: garbage collected log library

sunny9999

Ich glaub ich hab ein Entfernungsproblem mit der FB..bzw. mit den Sendern,
gerade nochmal von meinem Platz aus probiert wie sich das verhält wenn ich die FB nehme, leider nicht genug Reichweite ..
Mit meinem Hallentor geht das aber......Gleiche Fernbedienung anderer Knopf..... ausgelesene Daten sehen wie folgt aus :

433gpio: 700 1591 351 1966 2312 145 1949 224 2116 220 2116 207 2091 229 2052 245 320 2054 285 2030 2056 226 2066 258 2063 260 2063 260 2063 262 323 2001 2066 262 322 15726 -# 0
433gpio: 385 1949 376 1953 2083 258 2066 256 2067 257 2066 256 2066 259 2063 261 324 2002 329 1991 2072 257 2065 259 2064 262 2061 262 2061 261 326 1997 2067 263 321 15727 -# 0
433gpio: 385 1945 376 1951 2090 256 2066 257 2067 255 2066 259 2064 257 2065 259 324 1999 333 1996 2105 224 2064 260 2062 262 2063 258 2063 264 321 2001 2065 263 323 15727 -# 0
433gpio: 385 1945 375 1952 2086 262 2061 256 2067 259 2064 258 2065 257 2066 258 325 2002 331 1993 2069 260 2063 261 2063 259 2064 260 2061 265 320 2001 2067 266 319 15728 -# 0
433gpio: 381 1947 377 1953 2084 255 2066 259 2065 256 2067 258 2065 258 2065 260 324 1999 332 1996 2071 256 2064 260 2063 261 2065 260 2065 258 321 2001 2066 264 322 15726 -# 0
433gpio: 385 1944 379 1949 2087 255 2073 253 2064 259 2064 258 2066 258 2068 254 329 1996 334 1993 2069 259 2064 261 2066 257 2063 260 2063 260 324 2002 2068 259 321 15731 -# 0
433gpio: 380 1947 380 1948 2087 257 2065 255 2067 259 2068 254 2066 257 2066 258 326 1999 332 1998 2065 260 2063 263 2059 263 2060 264 2061 261 324 1999 2066 264 321 15727 -# 0
433gpio: 383 1947 377 1950 2086 262 2062 256 2067 257 2066 256 2067 259 2067 256 325 1998 334 1994 2067 262 2068 254 2063 262 2062 261 2061 263 323 2004 2063 261 323 15727 -# 0
433gpio: 383 1949 375 1950 2086 257 2066 257 2066 257 2066 257 2069 254 2065 261 323 2000 332 1997 2066 261 2063 260 2063 261 2065 258 2061 263 323 2001 2064 264 322 15729 -# 0
433gpio: 382 1948 375 1950 2090 252 2068 255 2067 258 2064 259 2068 255 2065 259 324 2000 332 1995 2069 260 2067 256 2063 260 2064 261 2061 264 321 2004 2062 263 321 15727 -# 0
433gpio: 389 1941 378 1950 2087 256 2067 256 2070 254 2066 257 2066 258 2065 259 324 2000 334 1991 2070 261 2062 261 2061 266 2058 262 2062 262 322 2001 2065 265 319 15731 -# 0
433gpio: 381 1946 377 1956 2081 256 2068 255 2067 258 2065 257 2070 252 2064 260 325 1999 333 1993 2070 262 2061 261 2063 263 2061 260 2081 243 323 2001 2066 262 323 15729 -# 0
433gpio: 381 1947 377 1949 2087 256 2072 252 2067 256 2067 256 2066 259 2064 259 325 2002 330 1994 2069 259 2065 260 2067 258 2059 264 2061 260 324 2001 2068 259 321 15732 -# 0
433gpio: 474 1884 373 1959 2076 252 2071 253 2068 258 2073 250 2070 255 2064 259 325 1998 334 1994 2077 250 2064 260 2064 259 2063 261 2070 249 323 2002 2066 263 323 15736 -# 0
433gpio: 378 1947 381 1945 2087 256 2075 247 2067 256 2067 257 2066 257 2073 252 326 1997 335 1992 2070 259 2063 266 2058 260 2064 261 2059 262 327 1999 2073 253 325 15733 -# 0
433gpio: 376 1955 368 1951 2087 256 2069 252 2069 255 2076 247 2068 256 2068 256 326 2000 336 1997 2063 257 2067 257 2064 260 2071 254 2064 259 325 1999 2067 259 326 15727 -# 0
433gpio: 379 1950 376 1950 2096 246 2069 255 2072 251 2068 254 2067 258 2073 250 328 1998 333 1993 2070 258 2074 248 2067 260 2064 258 2063 260 326 2007 2059 261 324 15733 -# 0
433gpio: 375 1956 369 1950 2087 255 2069 255 2075 248 2066 259 2065 256 2068 257 326 1997 336 1993 2069 259 2065 257 2066 262 2069 250 2065 258 327 2000 2066 259 327 15730 -# 0
433gpio: 379 1948 375 1951 2096 244 2070 255 2069 254 2068 257 2073 249 2066 262 325 1996 333 1996 2067 258 2066 257 2067 257 2065 261 2062 259 325 2015 2053 259 325 15738 -# 0
433gpio: 370 1950 376 1951 2090 250 2069 255 2076 247 2068 255 2068 257 2066 257 329 2003 328 1991 2072 256 2065 260 2072 251 2063 260 2065 259 326 1999 2067 258 360 15695 -# 0
433gpio: 381 1947 376 1958 2080 253 2072 252 2069 256 2068 256 2074 244 2067 257 327 1998 334 1994 2075 259 2063 258 2066 257 2065 258 2071 254 323 2000 2068 259 325 15734 -# 0
433gpio: 376 1948 376 1950 2088 254 2076 247 2070 253 2069 260 2062 258 2066 255 329 1996 336 1991 2072 257 2066 259 2070 253 2063 259 2065 262 323 1999 2073 255 323 15728 -# 0
433gpio: 382 1949 376 1956 2086 247 2071 254 2070 253 2076 249 2067 257 2066 257 326 2000 334 2000 2063 258 2063 260 2064 259 2063 261 2075 248 326 2004 2061 261 324 15729 -# 0
433gpio: 381 1948 377 1951 2086 252 2077 248 2069 254 2068 256 2067 258 2072 250 327 1999 336 2000 2060 259 2071 252 2063 261 2063 260 2063 259 328 1998 2068 258 325 15728 -# 0
433gpio: 381 1956 370 1950 2087 254 2070 256 2066 254 2076 248 2067 259 2065 256 328 1998 333 2001 2063 257 2072 252 2064 260 2071 251 2066 258 325 2000 2067 273 315 15725 -# 0
433gpio: 381 1949 378 1948 2095 246 2069 253 2068 257 2070 253 2067 293 2033 254 328 1999 333 1994 2069 257 2074 251 2069 254 2065 260 2063 259 326 2007 2059 260 324 15728 -# 0
433gpio: 382 1950 375 1950 2088 253 2070 254 2074 249 2066 257 2067 256 2074 252 326 2006 326 1992 2072 256 2066 259 2065 257 2072 252 2065 259 324 2001 2066 263 321 15733 -# 0
433gpio: 378 1946 377 1954 2092 247 2069 254 2067 257 2068 254 2077 248 2066 258 326 1999 332 1994 2078 249 2066 258 2065 259 2062 262 2063 261 330 1996 2065 261 323 15734 -# 0
433gpio: 376 1948 376 1951 2087 254 2075 248 2077 248 2066 256 2069 254 2067 259 325 2005 328 1992 2075 254 2066 256 2072 253 2065 258 2064 260 324 2002 2066 266 321 15730 -# 0
433gpio: 376 1948 378 1959 2077 254 2068 256 2068 259 2065 263 2054 258 2067 256 328 1997 333 1994 2100 246 2076 235 2065 256 2069 255 2066 260 324 1999 2068 258 326 15729 -# 0


Geht das damit auch ?  Kann aber kein Muster erkennen..
Was meinst Andies ??

andies

#21
Das passt perfekt. Ich habe folgendes gemacht. Ich habe in der ersten Zeile die oben genannten Zahlen notiert (das erste Mal, als Du die Fernbedienung gedrückt hattest). Darunter eine Zeile frei. Dann kommen Deine zweiten Zahlen von eben, wobei ich wieder ersetzt habe, weil ich ja glaube, dass die "runde Werte" senden. Und bei der Ersetzung habe ich mich an das Muster aus dem ersten Empfang gehalten, also irgendwie "naheliegende Werte" gewählt. Da müsste es jetzt normalerweise einen (meist kleinen) Unterschied geben. Und den gibt es und der ist in der mittleren Zeile notiert: Genau zwei Werte, die immer zusammenhängen, werden ausgetauscht. Das ersetzt dann den linken durch den rechten Knopf.


380 1900 380 1900 2080 250 2080 250 2080 250 2080 250 2080 250 2080 250 380 1900 380 1900 2080 250 2080 250 2080 250 2080 250 2080 250 380 1900 380 1900 330 15640
                                                                                                                                                XXXXXXXX                       
380 1900 380 1900 2080 250 2080 250 2080 250 2080 250 2080 250 2080 250 380 1900 380 1900 2080 250 2080 250 2080 250 2080 250 2080 250 380 1900 2080 250 330 15640


Also das passt wunderbar. Jetzt brauchst Du anscheinend bloß noch eine Antenne, https://www.mikrocontroller.net/articles/433_MHz_Funk%C3%BCbertragung
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

andies

Es könnte sogar sein (und das wäre in meinen Augen technologisch einfacher, die haben doch keine Lust bei Came so komplex zu programmieren), dass in Wirklichkeit die Signale alle von der Form "a b" und "b a" (a zwischen 250 und 380 und b zwischen 1900 und 2080) sind. Wenn es bei Dir klappt, würde ich nichts ändern. Aber ich würde mich nicht wundern, wenn die vier verschiedenen Zahlen, die ich da gefunden habe, in Wirklichkeit nur zwei Zahlen sind und die Abweichungen mit der Ungenauigkeit unserer Messinstrumente zusammenhängen. Das wäre dann, wenn ich das richtig interpretiere, Manchester-Code und passt sehr genau.
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

sunny9999

Zitat von: andies am 10 November 2017, 22:22:30
Es könnte sogar sein (und das wäre in meinen Augen technologisch einfacher, die haben doch keine Lust bei Came so komplex zu programmieren), dass in Wirklichkeit die Signale alle von der Form "a b" und "b a" (a zwischen 250 und 380 und b zwischen 1900 und 2080) sind. Wenn es bei Dir klappt, würde ich nichts ändern. Aber ich würde mich nicht wundern, wenn die vier verschiedenen Zahlen, die ich da gefunden habe, in Wirklichkeit nur zwei Zahlen sind und die Abweichungen mit der Ungenauigkeit unserer Messinstrumente zusammenhängen. Das wäre dann, wenn ich das richtig interpretiere, Manchester-Code und passt sehr genau.
Du bist echt der Analytiker.. Danke.... Schon spät, muss ich morgen nochmal drüber nachdenken....
Und wie setz ich deine Erkenntnis in den Schaltbefehl ein?

Gesendet von meinem SM-G930F mit Tapatalk


andies

Zitat von: sunny9999 am 10 November 2017, 22:59:43
Und wie setz ich deine Erkenntnis in den Schaltbefehl ein?
Also ich habe mich damals vom CUL verabschiedet, weil ich das da nicht konnte (und habe gerade nochmal nachgeschaut: Also theoretisch muss das gehen, aber auf meine damalige Frage wie, gibt es bis heute keine Antwort :-) https://forum.fhem.de/index.php?topic=65864.0 Da muss man irgendwas umwandeln, nur was und wie?

Entweder nimmst Du den Signalduino, https://wiki.fhem.de/wiki/SIGNALduino. Der kann das, das steht irgendwo oben in diesem Thread oder eben im verlinkten Wiki. Ich habe wirklich alles auf den umgestellt und sidey und Ralf sind auf Zack, die bauen ständig daran. Oder aber Du schaltest mit pilight und dann der shell. Mehr Möglichkeiten sehe ich zurzeit nicht. (Das heißt doch, Nr.3: Du kriegst CUL zum raw senden ;-)
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

sunny9999

#25
O.k., dann hol ich den Signalduino...wo kauf ich den fertig ?...hab auf die schnelle keinen gefunden..
Aber nochmal zurück zum Senden per Pilight :
Nur zum besseren Verständnis :
Hab 2 Tore, eins welches am Hofeingang ist und eins an der Halle...
Beide auf einer FB, eins Knopf links, eins Knopf rechts..
Mit der FB bekomme ich das auf dem rechten Knopf, von der sind die Daten von gestern Abend, die du "analysiert hast...

config.json sieht jetzt so aus :
        },
        "hardware": {
                "433gpio": {
                        "sender": 2,
                        "receiver": 0
                }

Angeschlossen sind der Empfänger und Sender wie folgt :
RXB6 ist an GPIO 11(BCM17) und der RX480 an GPIO 12(BCM18) dran..( Nach der Karte : https://de.pinout.xyz/pinout/wiringpi )
Dann starte ich Pilight mit service pilight start
Webserver läuft, scheint o.k.
Dann setze ich den folgenden Befehl ab : pilight-send -p raw -c "380 1900 380 1900 2080 250 2080 250 2080 250 2080 250 2080 250 2080 250 380 1900 380 1900 2080 250 2080 250 2080 250 2080 250 2080 250 380 1900 2080 250 330 15640"
Befehl wird ohne Fehlermeldung abgesetzt , aber nicht passiert.....

Nochmal neue Daten  :
Knopf links ( Hoftor)433gpio: 1156 1954 220 2117 212 325 2060 279 2029 2071 212 2107 219 2131 195 2112 208 2083 233 327 1996 340 1988 338 15719 -# 0
433gpio: 386 1941 380 1948 2095 248 2070 254 2070 251 2072 252 2071 252 2072 253 332 1992 338 1988 2075 256 2074 253 2068 255 2067 257 2067 256 329 1997 335 1991 337 15719 -# 0
433gpio: 384 1948 375 1950 2090 252 2069 254 2072 252 2070 255 2068 254 2068 256 330 1995 336 1990 2072 257 2066 257 2068 255 2071 253 2066 258 326 1996 336 1992 337 15721 -# 0
433gpio: 385 1943 378 1949 2095 248 2070 252 2071 253 2070 254 2073 250 2069 254 331 1993 339 1989 2077 252 2066 259 2067 254 2067 257 2068 256 330 1991 337 1991 337 15723 -# 0
433gpio: 383 1945 378 1949 2091 250 2071 253 2076 248 2070 253 2072 253 2068 254 330 1996 335 1990 2074 255 2068 256 2070 254 2065 258 2067 257 327 1997 335 1996 332 15720 -# 0
433gpio: 384 1945 380 1949 2089 252 2070 253 2071 252 2070 258 2066 253 2070 254 330 1994 339 1988 2077 253 2066 258 2067 255 2067 258 2070 252 329 1995 336 1991 337 15724 -# 0
433gpio: 379 1946 379 1948 2091 251 2075 250 2069 254 2069 253 2071 253 2072 252 330 1995 336 1992 2071 257 2065 258 2068 256 2066 257 2068 256 328 1995 337 1994 334 15719 -# 0
433gpio: 383 1946 380 1954 2083 253 2071 253 2069 255 2070 253 2069 253 2070 254 330 1994 339 1992 2068 259 2065 257 2067 256 2067 256 2069 256 327 1996 336 1991 337 15721 -# 0
433gpio: 381 1947 377 1950 2091 272 2050 252 2069 255 2068 253 2070 254 2073 252 332 1992 339 1989 2072 258 2068 255 2065 260 2065 256 2066 259 325 1999 335 1990 337 15721 -# 0
433gpio: 381 1950 374 1952 2090 251 2070 254 2070 253 2070 254 2069 253 2070 256 329 1994 337 1991 2072 256 2066 258 2066 256 2072 252 2067 257 327 1996 337 1990 339 15719 -# 0
433gpio: 382 1946 378 1950 2095 248 2069 253 2071 253 2069 253 2077 248 2069 255 330 1993 339 1989 2072 258 2069 253 2073 251 2066 257 2067 257 327 2001 332 1991 337 15720 -# 0
433gpio: 385 1945 375 1952 2090 251 2070 255 2074 248 2070 253 2071 254 2068 255 331 1996 335 1990 2071 258 2068 256 2066 261 2062 257 2066 258 326 1997 336 1991 338 15720 -# 0
433gpio: 382 1946 377 1953 2089 250 2071 252 2072 253 2069 256 2069 253 2068 256 330 1993 338 1989 2077 251 2065 258 2067 256 2067 256 2074 251 326 1997 337 1990 337 15726 -# 0
433gpio: 383 1967 377 1950 2090 251 2081 243 2071 252 2070 252 2073 251 2071 254 332 1993 337 1990 2073 255 2067 256 2078 246 2068 258 2065 256 328 1997 337 1993 334 15722 -# 0
433gpio: 383 1946 376 1954 2086 250 2073 252 2071 250 2081 243 2072 253 2069 254 332 1997 333 1990 2077 252 2067 255 2070 254 2068 256 2075 249 327 1997 338 1988 338 15737 -# 0
433gpio: 369 1945 376 1950 2091 249 2080 245 2071 252 2070 252 2073 251 2079 246 332 1992 338 1989 2072 258 2066 264 2061 254 2068 256 2068 256 328 1996 337 2002 327 15720 -# 0
433gpio: 397 1942 367 1950 2091 249 2072 251 2073 251 2080 243 2071 252 2071 253 332 1993 339 2008 2053 257 2066 260 2065 256 2067 256 2068 255 328 1998 337 1989 338 15731 -# 0
433gpio: 374 1944 377 1950 2094 243 2071 253 2071 251 2072 252 2071 254 2134 194 339 2013 309 1986 2074 256 2072 250 2069 254 2068 256 2068 255 328 2000 335 1990 337 15722 -# 0
433gpio: 512 1822 379 1946 2091 249 2082 242 2075 249 2069 252 2072 252 2071 254 331 1994 340 1987 2073 255 2068 255 2070 254 2075 249 2068 256 329 1995 336 1991 337 15734 -# 0
433gpio: 388 1931 374 1950 2097 242 2073 252 2073 250 2071 253 2081 241 2072 252 334 1992 342 1986 2072 266 2057 255 2071 254 2066 257 2067 256 329 2005 319 1992 337 15738 -# 0
433gpio: 374 1945 376 1951 2092 249 2070 252 2077 248 2070 254 2071 251 2070 254 333 2000 330 1990 2071 256 2067 257 2077 246 2069 254 2068 256 329 1997 335 1991 347 15718 -# 0


Knopf rechts ( Hallentor)433gpio: 4347 333 1993 335 1974 2114 191 2162 164 2084 231 2069 255 2069 255 2067 256 329 1996 336 1989 2072 258 2068 254 2068 257 2063 261 2063 260 323 2000 2070 259 323 15724 -# 0
433gpio: 389 1940 380 1952 2089 251 2070 255 2069 253 2069 259 2064 255 2067 257 328 1995 335 1993 2073 255 2065 259 2065 258 2065 259 2063 262 320 2001 2068 260 324 15728 -# 0
433gpio: 386 1944 378 1947 2090 253 2070 254 2068 255 2068 255 2068 256 2069 252 328 1996 334 1993 2072 256 2066 262 2063 258 2064 261 2064 258 325 1999 2073 255 324 15725 -# 0
433gpio: 385 1945 378 1948 2089 254 2067 256 2069 254 2070 253 2068 257 2066 256 329 1995 335 1996 2068 257 2065 258 2065 259 2069 255 2063 260 323 2000 2068 262 321 15727 -# 0
433gpio: 385 1943 379 1949 2092 251 2067 258 2065 256 2068 254 2068 258 2069 254 328 1995 334 1993 2070 258 2070 254 2065 258 2065 258 2064 262 322 2004 2063 261 323 15726 -# 0
433gpio: 384 1946 378 1948 2089 253 2070 253 2074 251 2067 256 2067 256 2066 258 328 1996 337 1989 2072 258 2063 259 2067 255 2071 255 2063 260 322 2001 2068 260 325 15726 -# 0
433gpio: 383 1943 381 1948 2089 254 2068 255 2068 257 2065 258 2071 251 2067 257 327 1997 333 1994 2071 260 2063 258 2065 264 2058 259 2063 261 324 2002 2066 258 325 15726 -# 0
433gpio: 384 1943 381 1949 2089 252 2068 256 2073 250 2067 256 2068 256 2066 257 328 1999 331 1992 2073 256 2065 259 2070 252 2064 263 2062 260 323 2001 2067 260 323 15727 -# 0
433gpio: 384 1944 379 1950 2088 253 2069 253 2070 254 2067 258 2069 252 2067 260 326 1996 334 1992 2078 249 2066 258 2064 260 2064 260 2067 259 322 1999 2070 259 324 15725 -# 0
433gpio: 386 1943 379 1948 2089 255 2072 249 2070 255 2069 254 2066 259 2065 258 331 1991 338 1990 2071 257 2065 259 2070 252 2066 259 2063 261 324 1999 2073 255 324 15731 -# 0
433gpio: 380 1943 380 1949 2087 254 2070 252 2070 255 2072 251 2068 256 2066 258 328 1995 334 1997 2066 259 2064 257 2068 258 2064 260 2068 255 324 1998 2069 259 324 15726 -# 0
433gpio: 386 1943 380 1947 2091 252 2071 253 2068 256 2066 257 2067 259 2068 252 326 1997 334 1991 2073 257 2069 256 2066 259 2062 259 2066 260 322 2000 2073 255 324 15725 -# 0
433gpio: 385 1948 376 1948 2089 252 2070 255 2068 254 2073 250 2069 256 2066 258 327 1997 334 1997 2066 257 2069 257 2088 258 2072 251 2065 260 323 2001 2066 261 326 15730 -# 0
433gpio: 381 1941 379 1949 2093 248 2070 252 2071 254 2069 255 2068 254 2071 253 329 1997 333 1994 2069 257 2076 251 2064 256 2066 257 2066 260 325 2005 2062 257 325 15729 -# 0
433gpio: 385 1944 376 1948 2089 251 2072 252 2082 246 2067 256 2069 255 2070 250 330 2004 328 1990 2072 256 2066 259 2065 256 2076 250 2065 259 323 2000 2068 260 323 15733 -# 0
433gpio: 381 1941 384 1944 2094 247 2070 255 2069 253 2069 254 2078 247 2067 256 329 1996 335 1992 2080 248 2065 258 2065 257 2066 259 2066 257 337 1982 2070 259 325 15734 -# 0
433gpio: 382 1953 368 1948 2089 252 2076 259 2062 250 2069 256 2069 253 2067 258 328 2004 328 1993 2070 256 2066 256 2075 249 2065 258 2067 256 327 1998 2068 259 328 15725 -# 0
433gpio: 385 1943 379 1956 2082 249 2072 252 2075 249 2070 254 2070 253 2068 256 329 1996 335 1991 2082 245 2068 258 2066 257 2064 258 2076 248 325 2000 2069 258 325 15736 -# 0
433gpio: 377 1942 379 1948 2089 252 2079 245 2071 251 2071 254 2068 256 2067 256 329 1995 337 1991 2071 256 2067 256 2072 256 2062 257 2067 259 323 2000 2077 248 326 15728 -# 0
433gpio: 385 1944 377 2017 2046 224 2071 252 2071 250 2076 251 2068 254 2068 262 324 1995 335 1996 2068 256 2066 257 2067 256 2065 260 2069 251 328 1999 2069 257 326 15735 -# 0



Vielleicht mach ich auch einen großen Denkfehler.........

andies

#26
Zitat von: sunny9999 am 11 November 2017, 08:59:35
Angeschlossen sind der Empfänger und Sender wie folgt :
RXB6 ist an GPIO 11(BCM17) und der RX480 an GPIO 12(BCM18) dran..( Nach der Karte : https://de.pinout.xyz/pinout/wiringpi )

Das wäre dann "sender":1, nicht 2, in der config.json. Für 2 musst Du das an GPIO 13 (BCM27) anschließen.

Dann zum Signalduino: Wenn Du einen CUL hast, musst Du den nur anders flashen. Details hier: https://wiki.fhem.de/wiki/SIGNALduino#Software:_Modul, sind mehrere Schritte.

Ich habe noch mal ein bisschen an den Zahlen herumgespielt. Ich glaube, dass diese niedrigen 1900 am Anfang damit zusammenhängen, dass der zuerst empfängt und was verkürzt. Man könnte ja auch mal andere Zahlen probieren (siehe Anhang), also die niedrige Zahl immer 285 und die hohe immer 2043. Zwar ist der Quotient nicht genau 7, aber so in der Nähe vermute ich die korrekten Werte. Aber das nur so nebenbei, das ist dann was für Perfektionisten.

PS Bei meiner Suche wird mir der RXB40 als Empfänger angezeigt, ich habe aber nur kurz gesurft. Das ist sicher ein Sender?
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

sunny9999

Sodele,
hab jetzt nen Signalduino :-) , läuft bereits an FHEM...
Denke wir können hier weitermachen....

Aber zunächst mal zurück zu Pilight...wie überprüfe ich ob der Sender nun auch sendet ?... Hatte im Eifer zwei Empfänger angeschlossen da konnte auch nichts gesendet werden :
Hab jetzt nen Sendermodul TX118SA-4 dran, LED brennt, angeschlossen wie folgt :
Empfänger am GPIO 11(BCM17) also 0 und Sender am GPIO 12(BCM18) also 2
Config Pilight sieht dann so aus :{
        "devices": {},
        "rules": {},
        "gui": {},
        "settings": {
                "log-level": 5,
                "pid-file": "/var/run/pilight.pid",
                "log-file": "/var/log/pilight.log",
                "gpio-platform": "raspberrypi2",
                "webserver-enable": 1,
                "webserver-root": "/usr/local/pilight/webgui",
                "webserver-http-port": 5001,
                "webserver-cache": 1
        },
        "hardware": {
                "433gpio": {
                        "sender": 2,
                        "receiver": 0
                }


Webserver läuft einwandfrei, keine Fehler im Log....
pilight wieder gestopt mit sudo service pilight stop
Fernbedienung nochmal ausgelesen, siehe angehängte Excel Tabelle
und dann folgenden Befehl ausgeführt :
pilight-send -p raw -c "284 2042 284 2042 2042 284 2084 284 2042 284 284 2042 284 2042 284 2042 284 284 2042 284 2042 2042 284 2042 284 2042 284 2042 284 2042 284 284 2042 2042 284 284 15722"

Rührt sich nichts  :-\.....



andies

Mach doch erstmal
pilight-send -p raw -c "380 1944 378 1957 2084 252 2070 256 2066 256 2072 253 2065 258 2066 257 326 1998 333 2013 2052 258 2064 260 2064 258 2064 260 2068 254 323 2001 2067 260 323 15734"
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

andies

Das Ding hat doch keinen digitalen PIN, oder? Wenn ich das hier sehe https://de.aliexpress.com/store/product/433mhz-Mini-Wireless-RF-Remote-Control-EV1527-Learning-code-433-92Mhz-Transmitter-For-Gate-Garage-Doorbell/2921105_32799215959.html dann scheint der nicht raw senden zu können, sondern einen internen Empfänger zu haben, der dann das Signal einfach kopiert. Bist Du Dir sicher, dass Du den direkt ansprechen kannst?
FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann