-
Notifications
You must be signed in to change notification settings - Fork 4
DALLAS
だから edited this page May 7, 2024
·
1 revision
The PvBrain has 4 locations to use Dallas probes also known as DS18B20
.
It is possible to add more dallas by wiring several to the same PvBrain connector.
The recommended resistance value is 4.7kΩ.
- Dallas uses ESP pin GPIO47.
It is necessary to replace the address with that of your own dallas.
To do this, before declaring your sensor, look at your logs, you will obtain something like this:
Now we can add the individual sensors to our configuration:
sensor:
- platform: dallas
address: 0xA40000031F055028
name: pvbrain2_dallas_1
id: dallas_1
- platform: dallas
address: 0xDD0000031EFB0428
name: pvbrain2_dallas_2
id: dallas_2
- platform: dallas
# ...
The platform dallas:
is already defined by default on the pvbrain. The configuration file is located in pvbrain2/base/device_base.yaml
# This is already present by default if the `device_base` package is included in your pvbrain2.yaml:
dallas:
- id: dallas_hub
pin: GPIO47