2024年11月23日星期六 下午4:07:31

How to Integrate Smart Plug BroadLink SP4L(cn) into Home Assistant step by step

2 年 前
#2341 引用
Smart Plug  BroadLink SP4L(cn)  Integration into  Home Assistant


博联 BroadLink 智能插座
型号:SP4L(cn)

https://item.jd.com/100021660214.html#product-detail

Home Assistant 2022.3.0
Frontend version: 20220301.0 - latest


Version  core-2022.3.0
Installation Type  Home Assistant Core
Development  false
Supervisor  false
Docker  false
User  homeassistant
Virtual Environment  true
Python Version  3.9.2
Operating System Family  Linux
Operating System Version  4.19.66-v7+
CPU Architecture  armv7l
Timezone  UTC



/home/homeassistant/.homeassistant

https://www.ibroadlink.com/productinfo/777928.html
0
2 年 前
#2342 引用
Device Setup Guide
Smart Plug BroadLink SP4L(cn)pair to broadlink app

1.下载broadlink app(注册or登录-选中国服务器)
2.将broadlink app升级到最新版本 v1.7.17  20230312

3.恢复出厂设置 -  按住 开关10s
4.等待插座wifi 热点出现  broadlink-wifi-device

Other

hostName-ee-da-80  *-*-*-EE-DA-80  192.168.2.114  绑定

0
2 年 前
#2343 引用
Quick Setup Guide


Step 1: Add broadlink Integration

Note

ha core 2023.2 已为内置集成  updated:20230312

https://github.com/home-assistant/core/tree/dev/homeassistant/components/broadlink
0
2 年 前
#2344 引用
3
0
2 年 前
#2345 引用
5

/home/homeassistant/.homeassistant
0
2 年 前
#2346 引用
error



switch:
- platform: broadlink
#填写SP mini 3的固定内网IP
host: x.x.x.x
#填写SP mini 3的MAC地址
mac: 'xx:xx:xx:xx:xx:xx'
type: spmini2
#根据需要命个名
friendly_name: 'spmini3'




2022-03-09 23:40:26 WARNING (MainThread) [homeassistant.components.broadlink.switch] The 'host' option near /home/homeassistant/.homeassistant/configuration.yaml:33 is deprecated, please remove it from your configuration
2022-03-09 23:40:26 WARNING (MainThread) [homeassistant.components.broadlink.switch] The 'type' option near /home/homeassistant/.homeassistant/configuration.yaml:33 is deprecated, please remove it from your configuration
2022-03-09 23:40:26 ERROR (MainThread) [homeassistant.config] Invalid config for [switch.broadlink]: [type] is an invalid option for [switch.broadlink]. Check: switch.broadlink->type. (See /home/homeassistant/.homeassistant/configuration.yaml, line 33). Please check the docs at https://www.home-assistant.io/integrations/broadlink

0
2 年 前
#2347 引用

Smart Plug BroadLink SP4L(cn) Manual configuration steps

Manual  Add Integration  broadlink


Manual configuration steps
If there wasn’t any discovered automatically, don’t worry! You can set up a manual integration entry:

Step 1: Add broadlink Integration





Browse to your Home Assistant instance.
In the sidebar click on  Configuration.
From the configuration menu select:  Integrations.
In the bottom right, click on the  Add Integration button.
From the list, search and select “Broadlink”.

input: Smart Plug BroadLink SP4L(cn)ipaddress

Host:192.168.101.53      

Follow the instruction on screen to complete the set up.


see:https://www.home-assistant.io/integrations/broadlink/#configuration

Step 2:  Device  Discovered

Failed to set up
Check the logs


Log Details (ERROR)
30056 (SP4L-CN at 192.168.101.53) is locked. Click Configuration in the sidebar, click Integrations, click Configure on the device and follow the instructions to unlock it



Step 4: Unlock the device


Unlock the device
30056 (SP4L-CN at 192.168.101.53) is locked. You need to unlock the device in order to authenticate and complete the configuration. Instructions:

Open the Broadlink app.
Click on the device.
Click ... in the upper right.
Scroll to the bottom of the page.
Disable the lock.


博联智能- 插座-右上角三个点-属性 - 解锁
0
1 年 前
#20358 引用
https://github.com/freemsly/Home-AssistantConfig20221103/commit/4a9b9206a561cfcf04fbee3762ecce84db60d5a2
0