Smart Home Automation Forum
KC868-A8S hotel room demo configure for ESPhome - 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-A8S (https://www.kincony.com/forum/forumdisplay.php?fid=24)
+--- Thread: KC868-A8S hotel room demo configure for ESPhome (/showthread.php?tid=1946)

Pages: 1 2


RE: KC868-A8S hotel room demo configure for ESPhome - admin - 03-08-2023

how many channel analog input ports you want?


RE: KC868-A8S hotel room demo configure for ESPhome - Vokob - 05-11-2023

Hello
What about sim800l?
I'd like send sms.
Show me demo plz


RE: KC868-A8S hotel room demo configure for ESPhome - admin - 05-12-2023

see here have sample SIM800L SMS config yaml in ESPHome webpage: https://esphome.io/components/sim800l.html


RE: KC868-A8S hotel room demo configure for ESPhome - Vokob - 05-12-2023

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


RE: KC868-A8S hotel room demo configure for ESPhome - admin - 05-12-2023

because in China have stopped use 2G, unless i can test it for you.


RE: KC868-A8S hotel room demo configure for ESPhome - Vokob - 05-12-2023

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


RE: KC868-A8S hotel room demo configure for ESPhome - admin - 05-12-2023

it need to test and debug, so i can't easy to say whether correct.