breaker27 / smarthomatic

smarthomatic
http://www.smarthomatic.org
34 stars 12 forks source link

Xml parser for fhem #61

Closed Roadyweb closed 10 years ago

Roadyweb commented 10 years ago

Bei mir hat alles funktioniert, schau's dir bitte mal an.

* TODO * $parser->initPacket("PowerSwitch", "SwitchState", "Set"); $parser->setField("PowerSwitch", "SwitchState", "TimeoutSec", 0); $parser->setField("PowerSwitch", "SwitchState", "On", 0); $parser->getSendString( $hash->{addr}, $hash->{aeskey} );

erzeugt zu viele Nullen: 2014.04.14 17:57:11 3: SHC_TEMP_40: Sending s0001002814010000 2014.04.14 17:57:11 3: SHC_TEMP_40: Sending s0001002814010000000000

breaker27 commented 10 years ago

Oh, Humidity ist jetzt um 10 zu klein:

SHC_TEMP_20 http://butler:8083/fhem?detail=SHC_TEMP_20

T: 22.73 H: 4.78 B:1

(richtig wäre 47,8%, was auch in der Message steht).

Gruß, Uwe.

Am 14.04.2014 20:52, schrieb rr2000:

Bei mir hat alles funktioniert, schau's dir bitte mal an.

  • Verwende SHC_parser.pm um Nachrichten zu parsen und zu erzeugen
  • Fehlermeldungen werden jetzt besser sortiert (siehe letzter commit)

* TODO * $parser->initPacket("PowerSwitch", "SwitchState", "Set"); $parser->setField("PowerSwitch", "SwitchState", "TimeoutSec", 0); $parser->setField("PowerSwitch", "SwitchState", "On", 0); $parser->getSendString( $hash->{addr}, $hash->{aeskey} );

erzeugt zu viele Nullen: 2014.04.14 17:57:11 3: SHC_TEMP_40: Sending s0001002814010000 2014.04.14 17:57:11 3: SHC_TEMP_40: Sending s0001002814010000000000


    You can merge this Pull Request by running

git pull https://github.com/Roadyweb/smarthomatic xml_parser_for_fhem

Or view, comment on, or merge it at:

https://github.com/breaker27/smarthomatic/pull/61

    Commit Summary

— Reply to this email directly or view it on GitHub https://github.com/breaker27/smarthomatic/pull/61.