The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: BSC level for humidity



Hi Daniel,

A BSC Level is ideal for humidity sensors as they have a nice 0-100
fixed range (unlike say temperature sensors that don't map easily).  If
you have higher granularity than single steps between 0 and 100 then you
could use something like.

Level=6724/10000        (67.24%)

A BSC event or info message must have a denominator, which conveys the
resolution of the sensor.   I realise this scales the humidity value
incorrectly but this may be acceptable.  There is also some work being
done on a new schema that handles sensor data more completely than
shoehorning it into BSC. This should be available in a few weeks if that
helps...

Kevin

Daniel Berenguer wrote:
>
> I'm here again with a question relative to the BSC schema:
>
> Would be correct to represent a value of humidity within the
"level"
> field?
>
> Something like this:
>
> level=67.24
>
> No maximum value, although I could do:
>
> level=67.24/100
>
> I ask this because I wonder whether "level" can be used with
decimal
> values or not.
>
> Thanks,
>
> Daniel.
>
>






xAP_Development Main Index | xAP_Development Thread Index | xAP_Development Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.