# \[Announce\] node-red-contrib-esphome

**URL:** https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932
**Category:** Share Your Nodes
**Created:** [9 February 2023 09:18 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932 "2023-02-09T09:18:47Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [7 February 2024 21:12 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/21 "2024-02-07T21:12:24Z")

</div>

@TotallyInformation  
I know Julian, I know, very bad indeed

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [7 February 2024 21:17 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/22 "2024-02-07T21:17:03Z")

</div>

Because I was building a few ESP's at one point, I took the time (and pain) to split everything into secrets and include files. So I don't need to think about anything that needs to stay private and standard things like my gateway, dns, MQTT broker, etc are all just done once.

Now a new device is just a copy of something similar, a couple of tweaks and build.

---

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [8 February 2024 08:55 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/23 "2024-02-08T08:55:40Z")

</div>

@SuperNinja  
You remember all discussions about video surveillance, cameras, rtsp etc etc?

Anyway this is the little wemos device I have with the configuration above. It is the impressive c3 mini version with a light intensity sensor attached (a protype is shown below, the active one is positioned in an outside re-used IP54 wall lamp housing).

I use the measured & smoothed (day)ligt illumination to modify some settings in my camera system. I can in this way improve the cameras night vision. The cameras do have ir led's but I found out that by increasing/changing some param values during night, the vision is improved a lot

The graph below show the measured and smoothed illuminance during the day/night. I have 3 operation modes with their respective threshold levels; night, transition and day

So far works great; time and season independent, takes care of variations in weather conditions like cloudy or sunny weather

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e8fa201ef857c12b6fb2fe2d2ced6acb207becc8.jpeg)  
 ![IMG_1878](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/3/33b432399eef16b4a60cc1b881f6f134a6d7a9d8.jpeg)  
 ![IMG_1880](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/80b047e5fad282bc80efa491af19879f2e3b68d9.jpeg)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [8 February 2024 08:59 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/24 "2024-02-08T08:59:01Z")

</div>

I have something similar but the sensor is attached to the window of my Office. Unfortunately, the sensor seems to have died recently, I need to get a replacement as I don't think I've any more in stock.

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [8 February 2024 09:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/25 "2024-02-08T09:08:33Z")

</div>

I popped this Light Sensor (same as above) (£2.68 + VAT) in my basket late time I was shopping at CPC.  
[https://cpc.farnell.com/dfrobot/dfr0026/analog-ambient-light-sensor-for/dp/SC15078](https://cpc.farnell.com/dfrobot/dfr0026/analog-ambient-light-sensor-for/dp/SC15078)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [8 February 2024 09:32 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/26 "2024-02-08T09:32:08Z")

</div>

I tend to use the digital BH1750's. £1 from China (and the shipping is cheaper than CPC as well!)

[https://www.aliexpress.com/item/1005006481798904.html?algo\_exp\_id=776b71d3-506e-47d9-acf7-792fda46e2c7-7&utparam-url=scene%3Asearch|query\_from%3A](https://www.aliexpress.com/item/1005006481798904.html?algo_exp_id=776b71d3-506e-47d9-acf7-792fda46e2c7-7&utparam-url=scene%3Asearch%7Cquery_from%3A)

The nice features are:

- i2c so simple to wire
- Outputs Lux directly.

> **[BH1750 – Ambient Light Sensor](https://components101.com/sensors/bh1750-ambient-light-sensor)**
>
> BH1750 – Ambient Light Sensor

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [8 February 2024 09:36 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/27 "2024-02-08T09:36:30Z")

</div>

I used it to fill-up my basket to the magical £20, so I got FREE delivery.

PS: I'll have to get some BH1750 on my next AE order.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [8 February 2024 09:42 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/28 "2024-02-08T09:42:52Z")

</div>

Yes, I need to do an order but I can never remember what I want and there is far too many goodies to chose from when you start browsing!!

BTW, found the BH1750 for £0.66 + VAT & shipping

[https://www.aliexpress.com/item/1005005850310036.html?gps-id=pcDetailTopMoreOtherSeller&\_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:7a9e0f41-d568-482d-a737-5d052f8ad14b,tpp\_buckets:668%232846%238116%232002&utparam-url=scene%3ApcDetailTopMoreOtherSeller|query\_from%3A](https://www.aliexpress.com/item/1005005850310036.html?gps-id=pcDetailTopMoreOtherSeller&_t=gps-id:pcDetailTopMoreOtherSeller,scm-url:1007.40050.354490.0,pvid:7a9e0f41-d568-482d-a737-5d052f8ad14b,tpp_buckets:668%232846%238116%232002&utparam-url=scene%3ApcDetailTopMoreOtherSeller%7Cquery_from%3A)

7-day delivery.

---

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [8 February 2024 12:42 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/29 "2024-02-08T12:42:56Z")

</div>

One good thing though with this kind of "techno-shopping", not as costly as when your life companion is downtown, not restricted to window shopping only

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [8 February 2024 13:48 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/30 "2024-02-08T13:48:32Z")

</div>

Actually going to order a couple of these which look interesting though a little more expensive:

[https://www.aliexpress.com/item/1005006424318629.html?algo\_exp\_id=7fbb8814-29a6-4419-b416-f760832bdddd-0&utparam-url=scene%3Asearch|query\_from%3A](https://www.aliexpress.com/item/1005006424318629.html?algo_exp_id=7fbb8814-29a6-4419-b416-f760832bdddd-0&utparam-url=scene%3Asearch%7Cquery_from%3A)

Realised that I need some GoPro stuff so going to bulk up the order a bit with those.

---

<div class="post-metadata">

### Author: ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)
#### Post date: [8 February 2024 15:46 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/31 "2024-02-08T15:46:59Z")

</div>

Hey - stop it now!

I don't need anything, but .....

🤣

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [8 February 2024 16:07 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/32 "2024-02-08T16:07:25Z")

</div>

I'm so weak-willed that after reading about the items above I had to do an impulse-buy...  
 ![impluse_buy](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc3642276815737807aa9b5329504287840391ec.png)

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [8 February 2024 17:08 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/33 "2024-02-08T17:08:40Z")

</div>

> [@Sean-McG](#):
>
> Hey - stop it now!
> 
> I don't need anything, but .....

> [@dynamicdave](#):
>
> I'm so weak-willed that after reading about the items above I had to do an impulse-buy...

Yes, my 2 £1 sensors turned into a £45 purchase! But, hey, at least I got free shipping (which would have been £1.99)!! 🥴

But at least I finally got a proper case for my GoPro along with another battery and a portable charger and a rucksack mount. Should all arrive before the Finland arctic circle holiday coming up. 😏

---

<div class="post-metadata">

### Author: ![Bingo2023](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bingo2023/32/88131_2.png) [@Bingo2023](https://discourse.nodered.org/u/Bingo2023)
#### Post date: [8 February 2024 17:22 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/34 "2024-02-08T17:22:23Z")

</div>

I'm also testing this as it is very useful 🙂

Reading seem to work OK (just testes some variables).

Writing is not working for me, below you can see how I do it.  
What I observe is, that something is transmitted, because on HA I see that the value goes to zero but not the supposed 30.

Any idea why?

 ![2024-02-08_18h17_17](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb34338ed60b56e3f73257627525aafe4696b26c.png)

---

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [8 February 2024 17:42 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/35 "2024-02-08T17:42:24Z")

</div>

I've bought so much stuff from AE that is sitting on my desk or in boxes waiting to see the light-of-day.  
Think I might draw up a list of all the 'kit' and add it as a codicil to my Will for my grandsons to inherit.

---

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [8 February 2024 18:36 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/36 "2024-02-08T18:36:58Z")

</div>

I'm wondering what value my relatives will keep when inheriting my collection of "stuff" ??

""he was a bit silly, wasn't he? All those wemos sitting here and everywhere, hidden, have you now found them all?"

---

<div class="post-metadata">

### Author: ![Bingo2023](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bingo2023/32/88131_2.png) [@Bingo2023](https://discourse.nodered.org/u/Bingo2023)
#### Post date: [8 February 2024 20:19 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/37 "2024-02-08T20:19:19Z")

</div>

answer below.  
 ![2024-02-08_21h18_34](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb2fd52f5a6617232be67a902c488797265d01b6.png)

---

<div class="post-metadata">

### Author: ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)
#### Post date: [9 February 2024 11:58 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/38 "2024-02-09T11:58:45Z")

</div>

> [@krambriw](#):
>
> You remember all discussions about video surveillance, cameras, rtsp etc etc?

Absolutely ! I don't remember that you had a lighting control system: great!  
Thanks to your `.yaml` it works now 🤝 !  
I think the `api:` was in the wrong place...?

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/1/51dfc9c27f5c26082c2a8cbc42cd3a80d6487e65.png)

---

<div class="post-metadata">

### Author: ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)
#### Post date: [9 February 2024 12:06 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/39 "2024-02-09T12:06:18Z")

</div>

"What are we going to do with all this? We can't throw them away? It brings back so many memories: he spent so many hours on it ! How many times we waited for him for dinner!" 🤣

---

<div class="post-metadata">

### Author: ![twocolors](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/twocolors/32/36787_2.png) [@twocolors](https://discourse.nodered.org/u/twocolors)
#### Post date: [12 February 2024 06:54 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932/40 "2024-02-12T06:54:02Z")

</div>

No - but more than happy to look at a Pull Request.

[Previous page](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932.md?page=1)

[Next page](https://discourse.nodered.org/t/announce-node-red-contrib-esphome/74932.md?page=3)
