Hi, how are you happy with that? I need some solution that will measure my lighting intensity because of solar panels. If the electricity purchase price is low, the solar panels don’t produce anything because the overflows are turned off and so I can’t see data-wise if the sun is shining, but I would need to know if I can turn on high EV charging or turn on the heating.
I can’t say that it works well as a solar meeter.
I get this:
But I think it looks the same every day, even on cloudy and rainy days.
Edit
Yeah as expected it looks the same pretty much every day even days when it’s raining.
@Hellis81 Ok, thank you, so I need something more useful for information on whether the sun is shining or not.
So my tip was not that useful…
As a test, I have ordered a few of these new IKEA light/motion sensors to but against a window for using the light sensor to control lights based on the outside luminescence.
They are cheap and use AAA batteries.
According to this image the ZigBee antenna is right up against the Li-ION battery. You can see the antenna on the zigbee microcontroller in the cut-out in the green PCB. That would reduce the range in the direction outward of where the battery is located as the outer shell of the battery is made of steel.
Maybe in some situations where the sensor is performing poorly you could try rotating it 90 degrees and see if the RSSI improves over a period of hours.
this sensor is a big sh…for illuminance lol the 4 november was a rainy day and the 5 november was a very shining day, same values…lol
work like a charm in esphome
source : https://www.instructables.com/Interfacing-Photoresistor-With-ESP32/
code esphome:
sensor:
- platform: adc
pin: 34
name: "Luminosite Huawei Solar Cuisine"
id: illumination_huawei_solar2
unit_of_measurement: lux
update_interval: 5s
filters:
- lambda: return (( x * 3.3 / 10000.0) * 3000000.0);
```
Apparently… @Hellis81 has the same findings.
You would think that an outdoor sensor would be perfect.
Of course ESPHome gives you more guarantee to work but WiFi & mains power are a big disadvantage - at least for me.
even in front of a windows, inside? you cant plug a usb cord on a wall socket?
if you already use some bluethooth Proxy in Esphome, its really simple to add this lux sensor to one of them.
or if you have Z2M the AQARA P1 is cheap Motion Sensor P1 - Aqara
ALiexpress Aqara motion sensor with luminance 9.21€ free shiping to France
Yeah, BT could be another option but still: that cable on a wall…
I don’t have an outlet close enough to a window to be acceptable.
The IKEA VALLHORN (also zigbee) is in the same pricerange, ‘locally’ available AND with rechargeable AAA batteries which could last longer.