Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESPHOME, KC868-A4S, sim 800l
#1
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!
Reply
#2
# 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.
Reply
#3
(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)
Reply
#4
ok, good.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)