miomia
(Miomia)
1
Hi
I can’t find the error.
Platform not found " platform: “jsn_sr04m”
Please help.
captive_portal:
web_server:
port: 80
i2c:
sda: 21
scl: 22
scan: True
id: bus_a
uart:
- id: uart_1
tx_pin: GPIO12
rx_pin: GPIO13
baud_rate: 9600
- id: uart_2
tx_pin: GPIO17 # blue
rx_pin: GPIO16 # green
baud_rate: 9600
switch:
- platform: restart
name: "lexus_parking Restart"
sensor:
- platform: "jsn_sr04m"
name: "level_grey_water"
update_interval: 30s
uart_id: uart_1
EBME2
(Ebme2)
2
Hi
Doesn’t look like jsn_sr04m is a valid package and you need to use jsn_sr04t. The following has a bit of info.
PS I’m not familiar with these but always worth checking the ESPHome official documentation.
1 Like
I use the ultrasonic
platform like this:
sensor:
- platform: ultrasonic
trigger_pin: GPIO13
echo_pin: GPIO12
name: 'Garage Distance Meter'
update_interval: 5s
accuracy_decimals: 1
unit_of_measurement: cm
pulse_time: 25us
filters:
- filter_out: nan
- delta : 0.02
- lambda: return (x * 100);
There’s some additional info in this thread as well:
Can’t get JSN-SR04T distance sensor to work - ESPHome - Home Assistant Community
1 Like
miomia
(Miomia)
4
Thanks
I change jsn_sr04m on jsn_sr04t and its ok