tom_l
April 19, 2024, 10:27pm
2
Pretty sure BoM do not supply such a sensor via their API but you could ask for an enhancement in the github repository’s issues section.
As an alternative source for this sensor you could try the Astroweather integration.
.
A much better option would be to use an actual Lux sensor. As especially in the late morning and evening the sun can reflect of the bottom of high to medium clouds and actually increase the light level.
@groston and @terryhonn Here is how I created my outside light sensor:
Hook-up the BH1750 to your ESP as follows:
[lux]
Load up this config to your ESP:
esphome:
name: lux-sensor
platform: ESP32
board: mhetesp32minikit
wifi:
ssid: 'WAPLO' # CHANGE THIS SECTION TO SUIT YOUR NETWORK
password: !secret wifi_pwd
manual_ip:
static_ip: 10.1.1.76
gateway: 10.1.1.1
subnet: 255.255.255.0
api:
# password: !secret api_password ## No longer recommended if using encryption. #…