Noduino OpenPlug

I recently picked up 2 Noduino Openplug off eBay to try and use as a cheaper alternative to Wemo(although my Wemos work really well). These are ESP8285/ESP8266 based.

I have to admit the initial setup is very odd, requiring you to install this Chinese chat app called WeChat which does try to suck your contact out at some point. I used this to get the OpenPlug on my wifi and then disabled all its app permissions.

It emulates a Wemo Switch for Alexa use and Alexa does recognize it, but the Openhab Wemo add-on does not see it.

I was hoping to get this working with openHAB without flashing it, although this might be a good candidate for either the Homie firmware or the Wemo emulation firmware for ESP8266.

It is accessible via some online portal but this looks to be Publicly accessible, so flashing it is probably the best way to make use of these and have security/peace of mind.

Hopefully someone smarter than me has ordered one too :wink:


http://wiki.jackslab.org/Noduino_OpenPlug

https://github.com/icamgo/noduino-sdk/tree/master/sketch/open-plug

1 Like

Looks interesting…
Personally I’d be trying to flash it… Possibly the “tasmota” firmware for the Sonof device might work…

I did manage to get this to work with some local http commands for now. (Until I figure how and what to flash it with)

Item

Frame label="Switches" {
		Switch item=WeMoSwitchOpenPlug1_Switch icon="light" label="Master Bedroom Salt Lamp"
	}

Rules

rule "OpenPlug Switch 1 On"            
     when
         Item WeMoSwitchOpenPlug1_Switch received update ON 
     then
         val String results = executeCommandLine("/openhab2/conf/scripts/openplugon1.sh", 5000)
         logInfo("OpenPlug", results)
     end

rule "OpenPlug Switch 1 Off"
when
    Item WeMoSwitchOpenPlug1_Switch received update OFF 
then
    val String results = executeCommandLine("/openhab2/conf/scripts/openplugoff1.sh", 5000)
    logInfo("OpenPlug", results)
end

openplugon1.sh

#!/bin/bash
cat /openhab2/conf/scripts/openplugon1.txt | nc 192.168.1.65 80

openplugon1.txt

POST /upnp/control/basicevent1 HTTP/1.1
Host: 10.0.1.13
Accept: */*
Content-type: text/xml; charset="utf-8"
Content-Length: 83
 
<?xml version="1.0" encoding="utf-8"?><s:Body><BinaryState>1</BinaryState></s:Body>