跳转至

将消息发送给你的邮箱

《HomeAssistant智能家居实战篇》视频

【操作步骤】

  1. 配置邮箱属性(163邮箱必须)
  2. 在HomeAssistant中配置SMTP组件
  3. 调用服务发送通知邮件

【参考】

  • SMTP通知组件在HomeAssistant中的配置

    notify:
      - platform: smtp
        name: my_email
    
        server: smtp.163.com
        port: 994
        timeout: 15
        encryption: tls
        username: xxxxx@163.com
        password: xxxxxxxx
        sender: xxxxxx@163.com
        sender_name: My Home Assistant
    
        recipient:
          - xxx@xxx.com
    
  • https://www.home-assistant.io/integrations/smtp/

返回课程目录↩