wisskar / souliss

Automatically exported from code.google.com/p/souliss
0 stars 0 forks source link

Analog Lux value on SoulissApp #109

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Define a T54 and read the value on SoulissApp

What is the expected output? What do you see instead?

The value on SoulissApp is 10k bigger than the one on Souliss, scaling shall be 
on node side and not on the app. Normal values in Lux are from 0 to 1000.

Original issue reported on code.google.com by dario.di...@souliss.net on 21 Feb 2015 at 9:17

GoogleCodeExporter commented 9 years ago
The meassure for light sensor are scaled in Lux or Klux from 0Klux (dark) to 
130-140kLux (Direct Sun) 

In a office you need almost 500Lux.

Note. 1 Lux is the light emitted by 1 candle :O xD

Original comment by JuanPin...@gmail.com on 9 Mar 2015 at 4:52

GoogleCodeExporter commented 9 years ago
You are right Juan, I've confused Lux and Lumen. In any case the app is scaling 
the value that gets from the nodes, and this need a fix.

Actually to display 500 Lux the node should send 0.005 as raw value, but this 
isn't in the range of half-precision floating points.

Original comment by dario.di...@souliss.net on 11 Mar 2015 at 11:11