Giter Site home page Giter Site logo

Comments (15)

stevetz avatar stevetz commented on June 3, 2024 2

Will have to try the ldr. All I have at the moment. Appreciate it

I have this working with an LDR. I have the option for an internal filter set to 75ms - took a bit of trial and error between 30-100ms to make sure it only counts each pulse once. Now it is within 1/100th kWh for a day to my energy company’s reading- a rounding error, i’m more than happy to be a few Wh out!

sensor:
  …
  internal_filter: 75ms

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024 1

Will have to try the ldr. All I have at the moment. Appreciate it

from home-assistant-glow.

klaasnicolaas avatar klaasnicolaas commented on June 3, 2024

How does this sensor detect a flame? Is that based on light?

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024

I would imagine so...never used it before

https://m.banggood.com/20pcs-KY-026-Flame-Sensor-Module-IR-Sensor-Detector-Temperature-Detecting-p-1405151.html?utm_source=googleshopping&utm_source=googleshopping&utm_medium=cpc_organic&utm_medium=cpc_bgs&gmcCountry=ZA&utm_content=minha&utm_content=sandra&utm_campaign=minha-za-en-mb&utm_campaign=sandra-ssc-za-all-0628-20LP&currency=ZAR&cur_warehouse=CN&createTmp=1&ad_id=445211076419&gclid=Cj0KCQjwu7OIBhCsARIsALxCUaNGYsYrl4CLnHplaLRaf9Vt5khMB2VQx3UFr1y0Zi-t7UaUGJF9NRAaAp7HEALw_wcB

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024

Come to think of it, it's likely sensing IR (heat) and not light

from home-assistant-glow.

klaasnicolaas avatar klaasnicolaas commented on June 3, 2024

Then I don't think this sensor will work

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024

Do you know of any other typical arduino sensors that will cut it? I have a bundle of sensors, one of those starter kits. Don't have the one in the spec but looking for something that'll work since I don't have easy access to parts or shipping.

from home-assistant-glow.

klaasnicolaas avatar klaasnicolaas commented on June 3, 2024

Anything involving a photodiode or phototransistor will work. Don't currently have any other specific types except the one used in the current version of Glow :(

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024

Thanks! Will experiment! How about a photoresistor?

from home-assistant-glow.

klaasnicolaas avatar klaasnicolaas commented on June 3, 2024

That also works, but an LDR is known for being inaccurate (increased chance of false readings). So as mentioned in the readme, I don't recommend this one, but you can try it.

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024

Will have to try the ldr. All I have at the moment. Appreciate it

I have this working with an LDR. I have the option for an internal filter set to 75ms - took a bit of trial and error between 30-100ms to make sure it only counts each pulse once. Now it is within 1/100th kWh for a day to my energy company’s reading- a rounding error, i’m more than happy to be a few Wh out!

sensor:
  …
  internal_filter: 75ms

Is that using an Analog sensor? My LDR has only 3 pins

from home-assistant-glow.

stevetz avatar stevetz commented on June 3, 2024

I'm not sure what kind of LDR you have @jacauc - I've only ever seen them with 2 pins, ie as a simple resistor.

I found it works well with just the internal pull-up rather than another resistor to ground.

Mine is something like this from Amazon: https://www.amazon.co.uk/dp/B00NXW9WZ6/ref=cm_sw_r_cp_api_glt_fabc_F44MT88Q25V56NXA9VJR

from home-assistant-glow.

jacauc avatar jacauc commented on June 3, 2024

Sorry, should have clarified.

I have this type:
https://www.aliexpress.com/i/32900363698.html

from home-assistant-glow.

henkburnett avatar henkburnett commented on June 3, 2024

I am using one of the LDR modules and I am finding that the LDR seems to consistently detect the LED flashes from my utility meter, but that my attached LED often misses flashes. Would this unit be stable enough?
https://www.botshop.co.za/product/ldr-on-pcb-light-sensor/

from home-assistant-glow.

klaasnicolaas avatar klaasnicolaas commented on June 3, 2024

Closing this issue as there has been no activity for a while. If there are new problems, please create a new issue so we can look at it.

from home-assistant-glow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.