Hallo Leute,
ich habe seit langem die AVR-NET-IO mit Ethersex und K8IO Karte am laufen.
Ich möchte jetzt meine Raspberry PI 2B gegen die Odroid C2 tauschen.
Ich habe mit einem anderen Projekt die Odroid und FHEM schon laufen, ohne Probleme (endlich).
Auf dem Odroid läuft die DietPI und FHEM.
Ich habe jetzt alles von der Pi auf dem Odroid kopiert und grundsätzlich läuft es auch.
Mein Problem ist jetzt das die Relais "RELAIS" auf den K8IO nicht geschaltet werden.
Das abfragen der "ADC" klappt genau so wie die Abfrage der "ONEWIRE", also kann FHEM mit der Karte schon mal kommunizieren.
Das Schalten der Relais funktioniert aber gar nicht.
Hat jemand eine Idee woran das liegen kann?
Konfigurationsinfo:
Latest Revision: 17616
File Rev Last Change
fhem.pl 17613 2018-10-24 15:37:39Z rudolfkoenig
90_at.pm 17561 2018-10-18 14:45:30Z rudolfkoenig
98_autocreate.pm 15620 2017-12-16 18:10:36Z rudolfkoenig
66_ECMD.pm 16372 2018-03-10 13:09:24Z neubert
67_ECMDDevice.pm 12877 2016-12-26 09:15:55Z neubert
91_eventTypes.pm 14888 2017-08-13 12:07:12Z rudolfkoenig
01_FHEMWEB.pm 17612 2018-10-24 15:06:20Z rudolfkoenig
92_FileLog.pm 17181 2018-08-20 17:23:26Z rudolfkoenig
98_help.pm 15223 2017-10-10 10:14:24Z betateilchen
99_myUtils.pm 3595 2013-12-13 10:45:00Z heffa
91_notify.pm 17225 2018-08-29 12:34:29Z rudolfkoenig
99_SUNRISE_EL.pm 16632 2018-04-17 19:00:21Z rudolfkoenig
98_SVG.pm 17457 2018-10-04 12:33:53Z rudolfkoenig
98_telnet.pm 17529 2018-10-14 12:57:06Z rudolfkoenig
99_Utils.pm 15713 2017-12-28 11:01:02Z rudolfkoenig
98_version.pm 15140 2017-09-26 09:20:09Z markusbloch
Blocking.pm 17553 2018-10-17 15:56:35Z rudolfkoenig
DevIo.pm 16623 2018-04-15 18:44:05Z rudolfkoenig
HttpUtils.pm 17034 2018-07-27 05:47:13Z rudolfkoenig
RTypes.pm 10476 2016-01-12 21:03:33Z borisneubert
TcpServerUtils.pm 17529 2018-10-14 12:57:06Z rudolfkoenig
fhemweb.js 17478 2018-10-07 16:45:18Z rudolfkoenig
define NETIO_01 ECMD telnet 192.168.60.136:2701
attr NETIO_01 classdefs ONEWIRE=./opt/onewire.classdef:RELAIS=./opt/relais.classdef:ADC=./opt/netioadc.classdef
attr NETIO_01 room Geräte
attr NETIO_01 logTraffic 5
define TestRelais ECMDDevice RELAIS 80
attr TestRelais room Heizung
attr TestRelais group 1_Relais
attr TestRelais sortby 8
Auszug aus dem Log beim änder der Status (Klick) auf "off"
/
2018.10.25 12:19:11 4: WEBtablet_192.168.60.21_51026 POST /fhem?cmd.TestRelais=set%20TestRelais%20off&room=Heizung&XHR=1&fwcsrf=csrf_747075844504832&fw_id=161; BUFLEN:0
2018.10.25 12:19:11 5: Cmd: >set TestRelais off<
2018.10.25 12:19:11 5: ECMDDevice: Analyze command >{"io set ddr 2 ff\n\000io set port 2 00 80\n"}<
2018.10.25 12:19:11 5: NETIO_01: sending command io set ddr 2 ff\n\000io set port 2 00 80\n (\151\157\040\163\145\164\040\144\144\162\040\062\040\146\146\012\000\151\157\040\163\145\164\040\160\157\162\164\040\062\040\060\060\040\070\060\012)
2018.10.25 12:19:11 5: NETIO_01: write io set ddr 2 ff\n\000io set port 2 00 80\n (\151\157\040\163\145\164\040\144\144\162\040\062\040\146\146\012\000\151\157\040\163\145\164\040\160\157\162\164\040\062\040\060\060\040\070\060\012), expect OK\n
2018.10.25 12:19:11 5: SW: 696f207365742064647220322066660a00696f2073657420706f727420322030302038300a
2018.10.25 12:19:11 5: NETIO_01: read OK\n (\117\113\012)
2018.10.25 12:19:11 5: NETIO_01: received answer OK\n (\117\113\012)
2018.10.25 12:19:11 5: Postprocessing "OK\n (\117\113\012)" with perl command {s/([OK\n|;]*)/success/; "$_" eq "success" ? "ok" : "error";}.
2018.10.25 12:19:11 5: Postprocessed value is "ok (\157\153)".
2018.10.25 12:19:11 5: Starting notify loop for TestRelais, 2 event(s), first is off: ok
2018.10.25 12:19:11 5: End notify loop for TestRelais
2018.10.25 12:19:11 4: WEBtablet: /fhem?cmd.TestRelais=set%20TestRelais%20off&room=Heizung&XHR=1&fwcsrf=csrf_747075844504832&fw_id=161 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
/
und wieder auf "on"
2018.10.25 12:21:24 4: WEBtablet_192.168.60.21_51197 POST /fhem?cmd.TestRelais=set%20TestRelais%20on&room=Heizung&XHR=1&fwcsrf=csrf_747075844504832&fw_id=161; BUFLEN:0
2018.10.25 12:21:24 5: Cmd: >set TestRelais on<
2018.10.25 12:21:24 5: ECMDDevice: Analyze command >{"io set ddr 2 ff\n\000io set port 2 80 80\n"}<
2018.10.25 12:21:24 5: NETIO_01: sending command io set ddr 2 ff\n\000io set port 2 80 80\n (\151\157\040\163\145\164\040\144\144\162\040\062\040\146\146\012\000\151\157\040\163\145\164\040\160\157\162\164\040\062\040\070\060\040\070\060\012)
2018.10.25 12:21:24 5: NETIO_01: write io set ddr 2 ff\n\000io set port 2 80 80\n (\151\157\040\163\145\164\040\144\144\162\040\062\040\146\146\012\000\151\157\040\163\145\164\040\160\157\162\164\040\062\040\070\060\040\070\060\012), expect OK\n
2018.10.25 12:21:24 5: SW: 696f207365742064647220322066660a00696f2073657420706f727420322038302038300a
2018.10.25 12:21:24 5: NETIO_01: read OK\n (\117\113\012)
2018.10.25 12:21:24 5: NETIO_01: received answer OK\n (\117\113\012)
2018.10.25 12:21:24 5: Postprocessing "OK\n (\117\113\012)" with perl command {s/([OK\n|;]*)/success/; "$_" eq "success" ? "ok" : "error";}.
2018.10.25 12:21:24 5: Postprocessed value is "ok (\157\153)".
2018.10.25 12:21:24 5: Starting notify loop for TestRelais, 2 event(s), first is on: ok
2018.10.25 12:21:24 5: End notify loop for TestRelais
2018.10.25 12:21:24 4: WEBtablet: /fhem?cmd.TestRelais=set%20TestRelais%20on&room=Heizung&XHR=1&fwcsrf=csrf_747075844504832&fw_id=161 / RL:20 / text/plain; charset=UTF-8 / Content-Encoding: gzip
Ich hoffe das reicht als Info
Vielen Dank im voraus
Heffa