forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblitzwolf_SHP5
30 lines (24 loc) · 1.7 KB
/
blitzwolf_SHP5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
date_added: 2019-05-07
title: BlitzWolf BW-SHP5
category: plug
type: Plug
standard: eu
link: https://www.banggood.com/BlitzWolf-BW-SHP5-2_1A-Dual-USB-Ports-16A-Smart-WIFI-Socket-EU-Plug-Work-with-Alexa-Google-Assistant-BlitzWolf-Tuya-APP-p-1426555.html
image: https://www.blitzwolf.com/bg_os/other/upload_temp/products/original/201902/1550806813_26.jpg
template: '{"NAME":"SHP5","GPIO":[57,145,56,146,0,22,0,0,0,0,21,0,17],"FLAG":0,"BASE":18}'
link2: https://www.aliexpress.com/item/32997823815.html
mlink: https://www.blitzwolf.com/BlitzWolf-BW-SHP5-3680W-EU-Wifi-Socket-Smart-Charger-with-Dual-USB-Ports-Compatible-with-French-Standard,-Works-with-Alexa,-Scheduled-Control,-Remote-Control,-Monitor-Power-Use-p-326.html
---
Disassembly to flash the module is not trivial, please follow online tutorials.
Flashing with a 3.3V programmer seems to work, even though the low-voltage part of the module operates with 5V.
The hardware button switches socket power by a single press and USB power by a double press.
If inversion is desired, execute command `SetOption11 1`.
Be aware that the HLW8032 power measurement component reports invalid readings for values lower than 5W.
To discard low values and report 0W instead, execute command `SetOption39 1`.
You might wish to keep USB power active at all times.
Check out the command `ButtonRetain 1` for MQTT based retention.
Furthermore, the red LED to indicate the power status of the module will be illuminated as long as any of the two relays are active.
To ignore USB power and indicate socket power state only, execute command `LedMask 1`.
Important: it is possible that your device will enter a bootloop due to a conflict with UART/serial logging.
Fix this using: SerialLog 0