FHEM Forum

FHEM => fhem-users => Thema gestartet von: Guest am 22 Oktober 2012, 11:32:09

Titel: Get proper value from raw data
Beitrag von: Guest am 22 Oktober 2012, 11:32:09
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.



FTF55 sends 4BS telegrams (see datasheet),
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
Titel: Re: Get proper value from raw data
Beitrag von: rudolfkoenig am 22 Oktober 2012, 14:03:59
                                                   

> 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
Titel: Re: Get proper value from raw data
Beitrag von: Guest am 23 Oktober 2012, 15:28:47
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 topicand 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
Titel: Re: Get proper value from raw data
Beitrag von: rudolfkoenig am 23 Oktober 2012, 16:09:21
                                                   

> 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