Originally posted by: <email address deleted>
Hallo zusammen,
hat vielleicht jemand einen Tip für mich.
Ich benutze fhem mit einem Net-IO und ethersex und schalte mit pin1 meine
Aussenbeleuchtung.
Funktioniert alles prima pins 1-4 lassen sich mit fhem ansteuern die
restlichen 4 nicht....
Kann mir jemand sagen wo der Fehler liegen kann, ich habe im fhem alle pins
gleich eingestellt.
Onewire läuft auch ohne Probleme auf dem Net-IO und einen Analogeingang
frage ich auch ab alles geht, nur nicht die Ausgänge 5-8.
Mit der ethersex oberfläche komme ich nicht klar und kann kaum sinnvoll
ausgänge damit schalten,
aber sehr zeitverzögert springt der Ausgang 8 an wenn ich bei PORTC 7 den
Harken setze.
Liegt es an der ethersex konfig? an den Fuses? oder an fhem?
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Hallo Matthias,
Am 04.11.2012 17:36, schrieb Matthias Soll:
> Liegt es an der ethersex konfig? an den Fuses? oder an fhem?
es gab vor kurzem hier einem Thread "AVR NET-IO mit Relaiskarte K8IO
Eingänge lesen". Vielleicht helfen Dir die dort getroffenen Aussagen weiter.
Ansonsten bitte fhem-Konfiguration (ECMD, ECMDDevice, Classdef) posten.
Grüße
Boris
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Hallo,
danke für den Hinweis werde aber nicht richtig schlau daraus, ich habe
alles aus dem Wiki so über nommen:
#NETIO
define NETIO_01 ECMD telnet 192.168.1.125:2701
attr NETIO_01 classdefs
ONEWIRE=/var/InternerSpeicher/fhem/onewire.classdef:RFM12=/var/InternerSpeicher/fhem/intertechno.classdef:RELAIS=/var/InternerSpeicher/fhem/relais.classdef:adc=/var/InternerSpeicher/fhem/fhem.classdef.netio.adc
attr NETIO_01 room AVR-Net-IO
#NETIO Relais
define zRelais1 ECMDDevice RELAIS 01
attr zRelais1 room Outdoor
define zRelais2 ECMDDevice RELAIS 02
attr zRelais2 room AVR-Net-IO
define zRelais3 ECMDDevice RELAIS 03
attr zRelais3 room AVR-Net-IO
define zRelais4 ECMDDevice RELAIS 04
attr zRelais4 room AVR-Net-IO
define zRelais5 ECMDDevice RELAIS 05
attr zRelais5 room AVR-Net-IO
define zRelais6 ECMDDevice RELAIS 06
attr zRelais6 room AVR-Net-IO
define zRelais7 ECMDDevice RELAIS 07
attr zRelais7 room AVR-Net-IO
define zRelais8 ECMDDevice RELAIS 08
attr zRelais8 room AVR-Net-IO
Und die relais.classdef
# Uebergabeparameter HEX Adresse Port
params RelaisPort
# erst alle Ports PC.. auf Ausgang setzen und dann per Hexcode schalten
set on cmd {"io set ddr 2 ff\nio set port 2 %RelaisPort %RelaisPort"}
set on postproc {s/([OK|;]*)/success/; "$_" eq "success" ? "ok" : "error";}
set off cmd {"io set ddr 2 ff\nio set port 2 00 %RelaisPort"}
set off postproc {s/([OK|;]*)/success/; "$_" eq "success" ? "ok" : "error";}
ist an dem set on cmd {"io set ddr 2 ff\nio set port 2 %RelaisPort
%RelaisPort"} etwas falsch?
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Hallo,
und der hex-Code für die Relais ist auch, lt. Wiki
1
2
4
8
10
20
40
80
?
Mein K8IO wird zwar diese Woche erst geliefert aber ich vermute mal das
define Relais2 ECMDDevice RELAIS 02
define Relais3 ECMDDevice RELAIS 04
define Relais4 ECMDDevice RELAIS 08
define Relais5 ECMDDevice RELAIS 10
usw.
define RelaisAlleEin ECMDDevice RELAIS FF
es so aussehen müsste.
Grüße
Am Montag, 5. November 2012 16:33:09 UTC+1 schrieb Matthias Soll:
>
> Hallo,
> danke für den Hinweis werde aber nicht richtig schlau daraus, ich habe
> alles aus dem Wiki so über nommen:
>
> #NETIO
> define NETIO_01 ECMD telnet 192.168.1.125:2701
> attr NETIO_01 classdefs
> ONEWIRE=/var/InternerSpeicher/fhem/onewire.classdef:RFM12=/var/InternerSpeicher/fhem/intertechno.classdef:RELAIS=/var/InternerSpeicher/fhem/relais.classdef:adc=/var/InternerSpeicher/fhem/fhem.classdef.netio.adc
> attr NETIO_01 room AVR-Net-IO
>
> #NETIO Relais
> define zRelais1 ECMDDevice RELAIS 01
> attr zRelais1 room Outdoor
> define zRelais2 ECMDDevice RELAIS 02
> attr zRelais2 room AVR-Net-IO
> define zRelais3 ECMDDevice RELAIS 03
> attr zRelais3 room AVR-Net-IO
> define zRelais4 ECMDDevice RELAIS 04
> attr zRelais4 room AVR-Net-IO
> define zRelais5 ECMDDevice RELAIS 05
> attr zRelais5 room AVR-Net-IO
> define zRelais6 ECMDDevice RELAIS 06
> attr zRelais6 room AVR-Net-IO
> define zRelais7 ECMDDevice RELAIS 07
> attr zRelais7 room AVR-Net-IO
> define zRelais8 ECMDDevice RELAIS 08
> attr zRelais8 room AVR-Net-IO
>
> Und die relais.classdef
>
> # Uebergabeparameter HEX Adresse Port
> params RelaisPort
> # erst alle Ports PC.. auf Ausgang setzen und dann per Hexcode schalten
> set on cmd {"io set ddr 2 ff\nio set port 2 %RelaisPort %RelaisPort"}
> set on postproc {s/([OK|;]*)/success/; "$_" eq "success" ? "ok" : "error";}
> set off cmd {"io set ddr 2 ff\nio set port 2 00 %RelaisPort"}
> set off postproc {s/([OK|;]*)/success/; "$_" eq "success" ? "ok" :
> "error";}
>
> ist an dem set on cmd {"io set ddr 2 ff\nio set port 2 %RelaisPort
> %RelaisPort"} etwas falsch?
>
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Originally posted by: <email address deleted>
Hallo Puschel74,
du hast mir mal wieder bewiesen, dass ich einfach zu doof bin:-)
Ging auf anhieb jetzt hab ich die fhem.cfg so angepasst:
#NETIO Relais
define zRelais1 ECMDDevice RELAIS 01
attr zRelais1 room Outdoor
define zRelais2 ECMDDevice RELAIS 02
attr zRelais2 room AVR-Net-IO
define zRelais3 ECMDDevice RELAIS 04
attr zRelais3 room AVR-Net-IO
define zRelais4 ECMDDevice RELAIS 08
attr zRelais4 room AVR-Net-IO
define zRelais5 ECMDDevice RELAIS 10
attr zRelais5 room AVR-Net-IO
define zRelais6 ECMDDevice RELAIS 20
attr zRelais6 room AVR-Net-IO
define zRelais7 ECMDDevice RELAIS 40
attr zRelais7 room AVR-Net-IO
define zRelais8 ECMDDevice RELAIS 80
attr zRelais8 room AVR-Net-IO
DANKE!!!!!
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Hallo,
das hat mit doof sein nix zu tun.
Manchmal sieht man den Wald vor lauter Bäumen nicht ;-)
Aber schön das ich dir helfen konnte.
Grüße
P.S.: Im Wiki ist zwar es gut erklärt mit den Hex-Adressen aber das eine
oder andere define mehr
wäre evtl. auch ein bischen hilfreich ;-)
Am Montag, 5. November 2012 17:47:58 UTC+1 schrieb Matthias Soll:
>
> Hallo Puschel74,
> du hast mir mal wieder bewiesen, dass ich einfach zu doof bin:-)
>
> Ging auf anhieb jetzt hab ich die fhem.cfg so angepasst:
> #NETIO Relais
>
> define zRelais1 ECMDDevice RELAIS 01
> attr zRelais1 room Outdoor
> define zRelais2 ECMDDevice RELAIS 02
> attr zRelais2 room AVR-Net-IO
> define zRelais3 ECMDDevice RELAIS 04
> attr zRelais3 room AVR-Net-IO
> define zRelais4 ECMDDevice RELAIS 08
> attr zRelais4 room AVR-Net-IO
> define zRelais5 ECMDDevice RELAIS 10
> attr zRelais5 room AVR-Net-IO
> define zRelais6 ECMDDevice RELAIS 20
> attr zRelais6 room AVR-Net-IO
> define zRelais7 ECMDDevice RELAIS 40
> attr zRelais7 room AVR-Net-IO
> define zRelais8 ECMDDevice RELAIS 80
> attr zRelais8 room AVR-Net-IO
>
>
> DANKE!!!!!
>
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com
Hallo zusammen,
ich habe verstanden :-)
Aktuell hier und da wir das Problem vor kurzem schon einmal hatten, habe
ich das Wikientsprechend angepasst.
Grüße Micha
--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com