Get proper value from raw data

Begonnen von Guest, 22 Oktober 2012, 11:32:09

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Hi everyone,

I am a new user of FHEM. So far I like it.
Currently, I am able to get data form sensors (here ftf55), but they are
not converted in degrees.

<https://lh5.googleusercontent.com/-6ucxMhF9v6o/UIUOnVyelXI/AAAAAAAAAAM/H80ysoWvWXY/s1600/fhem-ftf55.PNG>

FTF55 sends 4BS telegrams (see datasheet<http://www.eltako.com/fileadmin/downloads/en/datasheets/Contents_of_Eltako_Wireless_Telegrams.pdf>),
and I see that sensor1 is set with DB3, sensor2 with DB2, and sensor3 with
DB1.
Fhem takes sensor1 as the current state. However, according to the
datasheet, DB1 contains the value sent, and not DB3.

That brings 2 questions from me:

Is this behavior normal?
Is there a simple script to get the proper value? I thought of something
like define convertTemp notify *F011* setstate sensor1...

Of course it won't work, starting with the fact that I don't know how to
access sensor1 value. Plus the correct condition is subType=A5.02.A5.
I read a little bit the german doc but my level makes it a bit hard ^^.

Any advice on this topic is welcome.
Thanks in advance,

Bernard



--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

rudolfkoenig

                                                   

> Currently, I am able to get data form sensors (here ftf55), but they are
> not converted in degrees.

According to http://fhem.de/commandref.html#EnOcean
  Set subType to FTF or model to FTF55 manually.

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

Guest

Originally posted by: <email address deleted>

Thanks for the answer.
I gave it a try, it makes no difference. Plus there is no "sign" of rules
for FTF (using grep on scripts).
I succeed to do it manually by editing 10_EnOcean.pm, but still.
So I edited 10_EnOcean.pm following this topic<https://groups.google.com/forum/?fromgroups=#!topic/fhem-users/otdgW1EU8Uk>and it works :)
Topic closed.

Le lundi 22 octobre 2012 14:04:02 UTC+2, Rudolf Koenig a écrit :
>
> > Currently, I am able to get data form sensors (here ftf55), but they are
> > not converted in degrees.
>
> According to http://fhem.de/commandref.html#EnOcean
>   Set subType to FTF or model to FTF55 manually.
>

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

rudolfkoenig

                                                   

> I gave it a try, it makes no difference. Plus there is no "sign" of rules
> for FTF (using grep on scripts).

You need an update: execute update in fhem.

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com