Smart Home Automation Forum
ESPHOME, KC868-A4S, sim 800l - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A4S (https://www.kincony.com/forum/forumdisplay.php?fid=41)
+--- Thread: ESPHOME, KC868-A4S, sim 800l (/showthread.php?tid=3567)



ESPHOME, KC868-A4S, sim 800l - SERJ_lebedev - 11-28-2023

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!


RE: ESPHOME, KC868-A4S, sim 800l - admin - 11-28-2023

# 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.


RE: ESPHOME, KC868-A4S, sim 800l - SERJ_lebedev - 11-28-2023

(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)


RE: ESPHOME, KC868-A4S, sim 800l - admin - 11-28-2023

ok, good.