11-22-2025, 11:58 AM
(11-22-2025, 12:24 AM)admin Wrote: you can add the DS18B20 sensor yaml code to our N60 yaml file.
how to add DS18B20, see here : https://esphome.io/components/sensor/dallas_temp/
just need define 1-wire bus firstly.
Thanks for a quick answer! However, I already have about 30 Dallas sensors in my house and few of them connected to other Kincony devices also.
So I know how it should be done in generally.
For example in KC868-A8M I have the following code which works fine.
one_wire:
- platform: gpio
pin: GPIO14
sensor:
- platform: dallas_temp
address: 0x813c01e07654d228 #replace with your sensor's ID
name: "Alaporras keskus lämpötila"
But wit N60 there´s a lot of more stuff:
esphome:
name: spk-mittaukset
friendly_name: SPK Mittaukset
esp32:
variant: esp32s3
framework:
type: arduino
# Enable logging
logger:
# baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: "**************************"
ota:
- platform: esphome
ethernet:
type: W5500
clk_pin: GPIO42
mosi_pin: GPIO43
miso_pin: GPIO44
cs_pin: GPIO41
interrupt_pin: GPIO2
reset_pin: GPIO1
uart:
rx_pin: 9
tx_pin: 10
baud_rate: 115200
stop_bits: 1
data_bits: 8
parity: NONE
text_sensor:
- platform: ethernet_info
ip_address:
name: ESP IP Address
id: eth_ip
address_0:
name: ESP IP Address 0
address_1:
name: ESP IP Address 1
address_2:
name: ESP IP Address 2
address_3:
name: ESP IP Address 3
address_4:
name: ESP IP Address 4
dns_address:
name: ESP DNS Address
mac_address:
name: ESP MAC Address
font:
- file: "gfonts://Roboto"
id: roboto
size: 15
i2c:
sda: 18
scl: 17
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
address: 0x3C
lambda: |-
it.printf(0, 15, id(roboto), "IP: %s", id(eth_ip).state.c_str());
modbus:
modbus_controller:
- address: 1
update_interval: 5s
sensor:
- platform: modbus_controller
address: 100
register_type: holding
name: bl0910_1_current_1
id: n60_1_current_1
unit_of_measurement: A
device_class: current
accuracy_decimals: 3
value_type: U_DWORD_R
filters:
- multiply: 0.001
...and so on...
I´ve tried several ways for a few evenings but I just can´t figure out in which place I should put that sensor setup. Where ever I put it, I get an error.
Could you please point out the right spot for me?

