DS2413 Richtig Einbinden als Schalter

Begonnen von Mitulla, 16 März 2014, 11:28:04

Vorheriges Thema - Nächstes Thema

Mitulla

Hallo
Da ich Leider den Syntax von Fhem nicht Wirklich so Richtig Verstehe :- (

Möchte ich im Webfrontend den als DS2413 Schalter haben .

Schaltung Funktioniert und Lässt sich mit set OWX_3A_699B0C000000 output A on bzw off Schalten

Und warum geht beim Temperatur Sensor die Grafische  Anzeige nicht.

Habe Gegooglt und leider nichts Gefunden oder Übersehen

Danke für die Hilfe






attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\\\
\\\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\\\
telnetPort has no password/globalpassword attribute.\\\
\\\
Restart fhem for a new check if the problem is fixed,\\\
or set the global attribute motd to none to supress this message.\\\

attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle icon sortby webCmd
attr global verbose 3

define COC CUL /dev/ttyAMA0@38400 1234

define OWio1 OWX COC

#define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global
attr WEB HTTPS 1
attr WEB basicAuth bXVmaTpyb3NhbHlrYXR6ZQ==

define WEBphone FHEMWEB 8084 global
attr WEBphone HTTPS 1
attr WEBphone basicAuth bXVmaTpyb3NhbHlrYXR6ZQ==
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet basicAuth bXVmaTpyb3NhbHlrYXR6ZQ==
attr WEBtablet stylesheetPrefix touchpad



define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log



define Heizungluefter FS20 12341234 33
define KuecheTemp OWTHERM DS18B20 03C34C050000
attr KuecheTemp IODev OWio1
attr KuecheTemp model DS1822
attr KuecheTemp room OWX
attr KuecheTemp tempHigh 75
attr KuecheTemp tempLow 0
define CUL_WS_1 CUL_WS 1
attr CUL_WS_1 room CUL_WS
define FileLog_CUL_WS_1 FileLog ./log/CUL_WS_1-%Y.log CUL_WS_1:T:.*
attr FileLog_CUL_WS_1 logtype temp4hum6:Temp/Hum,text
attr FileLog_CUL_WS_1 room CUL_WS
define SVG_CUL_WS_1 SVG FileLog_CUL_WS_1:SVG_CUL_WS_1:CURRENT
attr SVG_CUL_WS_1 label "CUL_WS_1 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_CUL_WS_1 room OWX

justme1968

zur schalter geschichte schau dir mal readingsProxy an. hier im forum gibt es beispiele dazu. auch zum schalten.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Mitulla

Kannst du mal Bitte auf einen Beitrag dahin verweisen.

Habe Leider nichts Gefunden was mir das so Hilft

Danke

justme1968

hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Mitulla

Öhmm Also :- )

define Gasheizung OWSWITCH DS2413 699B0C000000

attr Gasheizung IODev  OWio1
attr Gasheizung model DS2413
attr Gasheizung  room Kueche

Und bei define schalt readingsProxy Gasheizung:A

Kommt immer Unknown module readingsProxy, choose one of ALL3076 ALL4000T  usw.

Wo Liegt mein Fehler ?

Danke

justme1968

daran das deine fhem version nicht aktuell ist.

mach mal ein update.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Mitulla

Also 

Update

fhem shutdown restart

Ist das die Neuste Version
Weil immer noch Unknown module readingsProxy Kommt :- (
hem info:
  Release  : 5.5
  Branch   : DEVELOPMENT
  OS       : linux
  Arch     : arm-linux-gnueabihf-thread-multi-64int
  Perl     : v5.14.2
  uniqueID : 729a52d9c5d599f4085d9c092f79d85e

Defined modules:
  CUL        : 1
  CUL_WS     : 1
  FHEMWEB    : 9
  FS20       : 1
  FileLog    : 2
  KS300      : 1
  OWSWITCH   : 1
  OWTHERM    : 1
  OWX        : 1
  SVG        : 3
  autocreate : 1

Defined models per module:
  OWSWITCH   : DS2413
  OWTHERM    : DS1822


Danke

justme1968

nach mal von hand ein reload 33_readingsProxy und Schau was im log steht.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Mitulla

Ok Danke Jetzt Geht

Mann sollte auch das Update Bestätigen
Danke

Mitulla

Geht nicht so Wirklich :- (

Lässt sich Einmal An und Aus Schalten. Dann Schaltet es nur noch Sporadisch Seehr Verzögert
Über set OWX_3A_799B0C000000 output A on bzw off   Geht es sofort an und Aus
Irgendwo noch ne Fehler ? 
Danke

define Gasheizung OWSWITCH DS2413 799B0C000000
define Schalt readingsProxy Gasheizung:A
attr Schalt devStateIcon off:general_aus on:general_an
attr Schalt setFn {($CMD eq "on")?"output A on":"output A off"}
attr Schalt setList on off
attr Schalt valueFn {($VALUE eq "ON")?"on":"off"}
attr Schalt webCmd on:off

justme1968

verzögert sollte nicht sein und sporadisch schon garnicht.

bitte schau mal mit inform timer oder im eventmonitor wann genau was passiert.

wann wird das reading im ds2413 device aktualisiert? wann um readingsProxy?

ist das verhalten mit OWDevice anders?

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Mitulla

Also bei Inform Timer Bekomme : This command (inform) is not valid for this input channel.

Bei Eventmonitor  Blitzen Kurz für 1 Sek Daten auf.

Bei  define Gasheizung OWDevice DS2413 799B0C000000

Stürzt die Gesamte Weboberfläche ab. Erst Durch Entfernen über Putty  in der Fhem.cfg  wieder Erreichbar

Irgendwas Läuft hier Quer ;.-(

Danke

Puschel74

#12
Hallo,

nun wären mal 2 - 3 Sätze zu deiner verwendeten Hardware und FHEM-Version interessant.

Wo gibst du <inform timer> ein?

"Aufblitzen" sollten im EventMonitor keine Daten sondern je nach Abfrageintervall resp. nach eintreffen einer Nachricht diese im Event Monitor angezeigt werden.
Je nach Umfang der Installation kann es durchaus schonmal etwas mühsam werden.
Aber der EventMonitor scrollt schön mit den Daten mit und sollte sich gut per copy&paste hier posten lassen können.

Wenn beim define deines OWDevice fhem abstürtzt - was steht zu dem Zeitpunkt im Logfile?

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

Mitulla

Also ich Habe Hier ein RaspberryPi  Modell B mit einen COC Aufsatz  (Gekauft hier im Forum )
Neu Aufgesetztes Image mit Wheezy und Fhem mit Update

Es Hängen hier ein DS18B20  und DS2413 am 1-Wire.
Denke mal es ist Richtig Verdrahtet weil es Lässt zur Jeder Zeit mit" set Gasheizung output A on bzw off " Schalten

Es Lässt sich über den Button Genau 1 mal Ein und Aus Schalten

Ein 1 erstemal

Events:
2014-03-24 17:17:57 readingsProxy Schalt off
2014-03-24 17:17:57 readingsProxy Schalt off
2014-03-24 17:17:57 OWSWITCH Gasheizung A: OFF
2014-03-24 17:17:57 OWSWITCH Gasheizung B: ON☇
2014-03-24 17:17:57 OWSWITCH Gasheizung A: OFF B: ON☇
2014-03-24 17:17:57 readingsProxy Schalt off
2014-03-24 17:17:57 readingsProxy Schalt off
2014-03-24 17:17:57 OWSWITCH Gasheizung A: OFF
2014-03-24 17:17:57 OWSWITCH Gasheizung B: ON☇
2014-03-24 17:17:57 OWSWITCH Gasheizung A: OFF B: ON☇
2014-03-24 17:17:58 readingsProxy Schalt off
2014-03-24 17:17:58 OWSWITCH Gasheizung B: ON☇
2014-03-24 17:17:58 OWSWITCH Gasheizung A: ??? B: ON☇

Aus 1 Erstemal
2014-03-24 17:18:28 readingsProxy Schalt off
2014-03-24 17:18:28 OWSWITCH Gasheizung B: ON☇
2014-03-24 17:18:28 OWSWITCH Gasheizung A: ??? B: ON☇
2014-03-24 17:18:28 readingsProxy Schalt off
2014-03-24 17:18:28 OWSWITCH Gasheizung B: ON☇
2014-03-24 17:18:28 OWSWITCH Gasheizung A: ??? B: ON☇
2014-03-24 17:18:29 readingsProxy Schalt off
2014-03-24 17:18:29 readingsProxy Schalt off
2014-03-24 17:18:29 OWSWITCH Gasheizung A: OFF
2014-03-24 17:18:29 OWSWITCH Gasheizung B: ON☇
2014-03-24 17:18:29 OWSWITCH Gasheizung A: OFF B: ON☇




Log

2014.03.24 17:15:49 1: OWX: COC/CUNO device COC defined
2014.03.24 17:15:51 1: OWX: 1-Wire bus OWio1: interface DS2482 / COC detected in COC with response R:EC0000054CC30328
R:440000000C9B793A
D: 2
OK
V 1.57 CSM868

2014.03.24 17:16:02 3: OWX: Answer to COC device search is 1:EC0000054CC30328
2:440000000C9B793A

2014.03.24 17:16:02 3: OWTHERM: Device OWX_28_03C34C050000 defined.
2014.03.24 17:16:02 3: OWSWITCH: Device OWX_3A_799B0C000000 defined.
2014.03.24 17:16:02 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_03C34C050000,OWX_3A_799B0C000000)
2014.03.24 17:16:06 3: OWX: Answer to COC device search is 1:EC0000054CC30328
2:440000000C9B793A

2014.03.24 17:16:06 1: OWX: 1-Wire devices found on bus OWio1 (OWX_28_03C34C050000,OWX_3A_799B0C000000)
2014.03.24 17:16:34 3: OWSWITCH: Device Gasheizung defined.





Beim Zweiten mal  Keine Reaktion  im Eventmonitor

Wo gibst du <inform timer> ein ?    Oben in der Befehlszeile


Fheminfo Sagt

Fhem info:
  Release  : 5.5
  Branch   : DEVELOPMENT
  OS       : linux
  Arch     : arm-linux-gnueabihf-thread-multi-64int
  Perl     : v5.14.2
  uniqueID : b1c671df628e257c85d75e7cce66200c

Defined modules:
  CUL           : 2
  FHEMWEB       : 8
  FileLog       : 2
  KS300         : 1
  OWSWITCH      : 2
  OWTHERM       : 1
  OWX           : 1
  SVG           : 2
  autocreate    : 1
  eventTypes    : 1
  notify        : 1
  readingsProxy : 1
  telnet        : 1

Defined models per module:
  OWSWITCH      : DS2413
  OWTHERM       : DS1822

Transmitting this information during an update:
  not set (Note: You can change this via the global attribute sendStatistics)


Wenn beim define deines OWDevice fhem abstürtzt - was steht zu dem Zeitpunkt im Logfile?

Nichts :- (

Mitulla