Smart Home Automation Forum

Full Version: ESPHOME, KC868-A4S, sim 800l
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
Can you advise me how to configure sim800l for use with esphome firmware?
Currently yaml is like this:
Code:
uart:
  baud_rate: 9600
  tx_pin: 15
  rx_pin: 13
sensor:
  - platform: sim800l
    rssi:
      name: "Sim800L RSSI" 
      id: rssi
binary_sensor:
  - platform: sim800l
    registered:
      name: "Sim800L Registered"
but no sensors work in homeassistant....


I have a TTGO T-Call V1.4 board with the same sim 800l module.
everything works fine
The only thing is that there are additional module settings in yaml:
Code:
switch:
  - platform: gpio #SIM800_PWKEY
    pin: 4
    restore_mode: ALWAYS_OFF
    id: SIM800_PWKEY
  - platform: gpio #SIM800_RST
    pin: 5
    restore_mode: ALWAYS_ON
    id: SIM800_RST
  - platform: gpio #SIM800_PWR
    pin: 23
    restore_mode: ALWAYS_ON
    id: SIM800_PWR


thanks!
# Example configuration entry
uart:
baud_rate: 9600
tx_pin: TX
rx_pin: RX

sim800l:
on_sms_received:
- logger.log:
format: "Received '%s' from %s"
args: [ 'message.c_str()', 'sender.c_str()' ]

logger:
baud_rate: 0 # disable uart logger on esp 8266
here is details by epshome: https://esphome.io/components/sim800l.html
if can't work, you can exchange RXD, TXD pin define for a test.
(11-28-2023, 12:17 PM)admin Wrote: [ -> ]if can't work, you can exchange RXD, TXD pin define for a test.

Thank you so much!
you are the best!
swapped pins in yaml and everything works)
ok, good.