Smart Plant Example



  • Hi,
    I try to learn and deal with Onion Omega 2
    Start with the example Smart Plant but now I have the first problem. If I run :
    python /root/smart-plant/smartPlant.py --oled I got numbers like


    root@Omega-DB21:~/smart-plant# python /root/smart-plant/smartPlant.py --oled

    Latest measurement: 1022

    Measurement List: 99%

    Average Value: 99%
    Latest measurement: 1023

    Measurement List: 99% 100%

    Average Value: 99%
    Latest measurement: 1023

    Measurement List: 99% 100% 100%

    Average Value: 99%
    Latest measurement: 1022

    Measurement List: 99% 100% 100% 99%

    Average Value: 99%
    Latest measurement: 1022

    Measurement List: 99% 100% 100% 99% 99%

    Average Value: 99%
    Latest measurement: 1022

    Measurement List: 99% 100% 100% 99% 99% 99%

    Average Value: 99%
    Latest measurement: 1023

    Measurement List: 99% 100% 100% 99% 99% 99% 100%

    Average Value: 99%
    Latest measurement: 1023

    Measurement List: 99% 100% 100% 99% 99% 99% 100% 100%

    Average Value: 99%
    ^Croot@Omega-DB21:~/smart-plant#


    The Sensor is connected only in the Air no heavy humidity around!
    If I touch the Sensor with a wet sponage the percentages are going down!
    Why? and can I reverse the output so that I have in a try condition lower values and in a wet condition higher values.
    Thanks for any help in advance.
    And sorry for my writing my native language is swiss-german
    Best Regards,
    Christian


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.