Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868-A8S hotel room demo configure for ESPhome
#11
how many channel analog input ports you want?
Reply
#12
Hello
What about sim800l?
I'd like send sms.
Show me demo plz
Reply
#13
see here have sample SIM800L SMS config yaml in ESPHome webpage: https://esphome.io/components/sim800l.html
Reply
#14
(05-12-2023, 12:28 AM)admin Wrote: see here have sample SIM800L SMS config yaml in ESPHome webpage: https://esphome.io/components/sim800l.html

I can't do it.
what data should I specify in rx and tx?
Reply
#15
because in China have stopped use 2G, unless i can test it for you.
Reply
#16
(05-12-2023, 10:53 AM)admin Wrote: because in China have stopped use 2G, unless i can test it for you.

Can you see my yaml config? Is it correct?:

esphome:
  name: b8gsm
  platform: ESP32
  board: esp32dev

ota:

logger:

api:

ethernet:
  type: LAN8720
  mdc_pin: GPIO23
  mdio_pin: GPIO18
  clk_mode: GPIO17_OUT
  phy_addr: 0
   
uart:
  baud_rate: 9600
  tx_pin: GPIO15
  rx_pin: GPIO13

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

sensor:
  - platform: sim800l
    rssi:
      name: "Sim800L RSSI"
     
text_sensor:
  - platform: template
    id: sms_sender
    name: "Sms Sender"
  - platform: template
    id: sms_message
    name: "Sms Message"

switch:

  - platform: template
    name: "sms water level error"
    turn_on_action:
    - sim800l.send_sms:
        recipient: '+79260090270'
        message: "water level error!"

  - platform: template
    name: "call water level error"
    turn_on_action:
    - sim800l.dial:
        recipient: '+79260090270'       

binary_sensor:
  - platform: sim800l
    registered:
      name: "Sim800L Registered"
Reply
#17
it need to test and debug, so i can't easy to say whether correct.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)