Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
S

sneaksneak

@sneaksneak
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Video How To - Monitor your Refrigerator
    S sneaksneak

    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.

    My Project

  • Video How To - Monitor your Refrigerator
    S sneaksneak

    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?

    My Project

  • Sensors don´t update
    S sneaksneak

    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.

    Vera

  • Sensors don´t update
    S sneaksneak

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

    Vera

  • Sensors don´t update
    S sneaksneak

    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.

    Vera

  • Sensors don´t update
    S sneaksneak

    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?

    Vera
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular