DheerajKhajuria / pimatic-mysensors

mysensors
http://forum.mysensors.org/topic/797/pimatic-mysensors-controller-plugin
GNU General Public License v2.0
23 stars 24 forks source link

Lux sensor wrong value #35

Closed xpix closed 8 years ago

xpix commented 9 years ago

Hi,

I use Light Sensor in this plugin, but i got values in 1200% and so on, where are the aduino sketch that support battery level and report the lux value in percent?

sweebee commented 9 years ago

You can adjust the sketch yourself. But you have to set what min value lux = 0% and what value lux = 100%. Depends On your room

xpix commented 9 years ago

That's correct :) But if i use the lux example in mysensors ... then i got this results. Can you give me your Lux sketch with battery level? Or better to save this sketch here in github under /examples/?

sweebee commented 8 years ago

created a pull request for the lux sensor. https://github.com/DheerajKhajuria/pimatic-mysensors/pull/36

DheerajKhajuria commented 8 years ago

issue fixed