This is a plugin for homebridge. It is a fully-working implementation of a ediplug wireless socket accessory. Works in Version 0.5 with old firmware. Later versions of this code are designed to work with the latest firmware.
"accessories": [
{
"accessory": "Ediplug",
"name": "some light in some room",
"user":"admin",
"pw":"1234",
"ip":"192.168.1.123",
"lightbulb": "t"
}
]
I use Ediplug to control lights so :
- if
"lightbulb" : "t"
you will see the light symbol in Home App. - if
"lightbulb" : "f"
, ediplug will be shown as a socket.
This is just an example which needs to be adjusted to your setup!!
For ediplug SP-2101W V2 the password is generated during the setup of the Smartplug using the EdiSmart App. To find out this password it is necessary to perform the following steps:
- Find out the IP your Smartplug is actually using (you will need this in step 9).
- Delete the Smartplug from the EdiSmart App.
- Perform a factory reset on the Smartplug .
- As soon as the Smartplug is in "Installation Mode", connect your Smartphone with the "EdiPlug.Setup xx" WLAN as well as your PC.
- In the browser on your Smartphone (or PC connected with the Smartplug) enter "http://192.168.20.3:10000/tnb2". The response should be "OK".
- On your Smartphone open the EdiSmart App.
- On your PC connect again to your "normal" WLAN or LAN.
- On your Smartphone select the WLAN and password for your Smartplug.
- As soon as you are requested to enter a new name for your Smartplug, start Telnet with the IP from step 1 and Port 1355 on your PC
- On your Smartphone type in the new name for your Smartplug and press OK.
- Now immediately, and while your Smartphone is still configuring your Smartplug, type in
nvc all
in the Telnet session on your PC. At the end of the list a password different than "1234" should be shown. If not, again type innvc all
until the newly generated password is displayed.
(Thx Harpau)
Many thanks @seasox for fixing my mistakes. I really appreciate that!!!