Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. sneaksneak
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    sneaksneak

    @sneaksneak

    0
    Reputation
    6
    Posts
    638
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    sneaksneak Follow

    Best posts made by sneaksneak

    This user hasn't posted anything yet.

    Latest posts made by sneaksneak

    • RE: Video How To - Monitor your Refrigerator

      I have now solved this problem with Fahrenheit instead of Celcius.

      I had to change to this --->
      float temperature = static_cast<float>(static_cast<int>((dallasTemp.getTempCByIndex(i)) * 10.)) / 10.;

      From this --->
      float temperature = static_cast<float>(static_cast<int>((gw.getConfig().isMetric ? dallasTemp.getTempC(dallasAddresses[i]) : dallasTemp.getTempF(dallasAddresses[i])) * 10.)) / 10.;

      Now it gives me celcius.
      Thanks for nice example.

      posted in My Project
      sneaksneak
      sneaksneak
    • RE: Video How To - Monitor your Refrigerator

      Thanks for a nice project.
      I am trying this but I always get Fahrenheit temperatuers in Domoticz.
      I have change this line in the code.

      From
      boolean metric = false;

      To
      boolean metric = true;

      Something else I should do?

      posted in My Project
      sneaksneak
      sneaksneak
    • RE: Sensors don´t update

      Ok. When used a flashlight it response with a new lux? value.

      I was thinking of using this sensor on the laundrymachine.
      My machine has a led that is blinking when the laundry is ready. Can I use this or should i use the power meter puls led sketch instead?

      Thank you for the help, and thank you for an intresting project.

      posted in Vera
      sneaksneak
      sneaksneak
    • RE: Sensors don´t update

      No, there is nothing else except the zeroes.
      Bad light sensor mabye?

      posted in Vera
      sneaksneak
      sneaksneak
    • RE: Sensors don´t update

      This is what I get in serial monitor from the light sensor.
      I dont know what to look for.

      sensor started, id 1
      send: 1-1-0-0 s=255,c=0,t=17,pt=0,l=3,st=ok:1.4
      send: 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
      read: 0-0-1 s=255,c=3,t=6,pt=0,l=2:M
      send: 1-1-0-0 s=255,c=3,t=11,pt=0,l=12,st=ok:Light Sensor
      send: 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
      send: 1-1-0-0 s=0,c=0,t=16,pt=0,l=3,st=ok:1.4
      0
      0

      The sensors are powered from a usb phone charger 2,1A so it cant be a power problem.

      posted in Vera
      sneaksneak
      sneaksneak
    • Sensors don´t update

      I have installed all the 1.4 files in my Vera lite.
      Made an arduino nano serial gateway an it seems to be working. plugin version 1.4 - Lib version 1.4 It says.
      Made one water meter sensor and one Light sensor.

      Both is included and everythis is ok but I dont get any sensor data.
      If I restart the sensors i get a new time for last update, but after that it dont update again. No data and no more last update.

      What am I missing?

      posted in Vera
      sneaksneak
      sneaksneak