ACCKIP AP-SP Power Socket with Tasmota
Contents
1 General
This is a short note about my ACCKIP AP-SPI WiFi powersocket hack to get it running with Tasmota.
2 Buy
This is one of the WiFi power sockets that you can buy with swiss connectors.
Price is about 12 USD, which is quite cheap.
3 Flashing
I tried out the Tasmota Firmware which is doing an amazing job once it is running.
Tasmotizer is a all-in-one flasher which can flash esp-8266 based iot devices out of the box
Of course you need some basic soldering skills and few dupont lines to get it running.
For flashing, I used the tool I have for flashing ESP-01 modules, it worked as expected.
Of course you can use any FTDI if it supports 3.3V logic level.
4 Soldering
To get the firmware into the ESP, just solder one end of the dupont lines into the esp temporarily, once firmware is flashed, you can update it over the air later on.
If you open the power socket, you can find the TWE2S chipset from Tuya which is mainly an ESP8266EX.
5 Configuration
Once you successfully flashed the powersocket before dying by a electro shock, you will see the tasmotoas firmware boot an accesspoint.
Then you can log into the webinterface of IP 192.168.4.1 as described on the Tasmota hompeage.
After you fed the credentials of your WiFi connection, you can log into the tasmota webinterface and configure the firmware so, that it is working with all the features.
For that go to: CONFIGURATION > CONFIGURE TEMPLATE and configure as shown below:
It is important to configure the IOs exactly as given, but once done, you have a fully opensource software based powersocket with all the features of tasmota supported by your hardware.
- Wifi UI for controlling the powersocket
- URL Power Switch Triggers
- PowerConsumption counter
- Scheduled powerswitch
- MQTT client
- Syslog client
- Domoticz Support
- many more ....