Hey there,
I’ve recently gotten myself a Revogi Power Strip and I want to share some informations about it.
First of all you shouldn’t use it with their Cloud System because every thing is unecrypted. To use it with HASS I’ve created a simple Shell Script with that I can use the built-in LAN port and it doesn’t Connect itself to the cloud-server. If anyone want’s the script, i can upload it and give you some advice.
The Strip is really hacker-friendly because it has a telnet-server and is running rlx-linux, but the downside of this is that the strip is open like a barn-door.
I’ve also created a component for HASS. I don’t know if it’s coded how it should be but it works. Maybe someone can give me some advice.
Hi,
I just bought the power Strip. I wanted a watt-meter. Controlling the power is a welcome addition but the fact that the android app wants access to EVERYTHING (including audio, camera, a.s.o.) is a disappointment. Also the fact that it has to connect to Revogi server and also requiring me to give up my router password through the app add-up to that.
I found your comments here and the HASS script. However, what I really am interested in is your Shell Script and the advice
Ok Guys it’s been a while, but finally I can give you a little Tutorial to use the strip with Hass.
One thing I have to say it currently works only with the build in LAN-Port.
DISCLAIMER: If you break your strip, I don’t take any responsebility.
You want to have the strip unconfigured so it broadcasts the Revogi Wifi.
You need a Computer with wifi and a telnet-client.
Connect your Device with the Revogi Wifi and make a telnet connection to the ip of the strip. Username is root.
go to /etc/init.d/ and make a file (I named mine “anti-revogi”) with this content:
#! /bin/sh
#check if udhcpd is running
while :
do
resUDHCPC=`ps -aux | grep "udhcpc"`
resUDHCPD=`ps -aux | grep "udhcpd"`
if [ "${resUDHCPD}" ]; then
killall udhcpd
fi
if ! [ "${resUDHCPC}" ]; then
udhcpc -i br0 -p /var/run/udhcpc.pid -s /etc/udhcpc.script
fi
if [ "${resUDHCPC}" ] && ! [ "${resUDHCPD}" ]; then
brctl delif br0 wlan0
ifconfig wlan0 down
fi
done
5 . go to /etc/ and open the file inittab. Now you add at the end of it:
# Start the anti-revogi script
::respawn:/etc/init.d/anti-revogi
your file should now look like:
# Boot-time system configuration/initialization script.
::sysinit:/etc/init.d/rcS
# Start an shell on the console (whatever that may be)
#::askfirst:-/bin/sh
::respawn:-/bin/sh
# Always Start an process on the console
::respawn:/bin/switch
# Start the anti-revogi script
::respawn:/etc/init.d/anti-revogi
6 . Now you plug a networkcable, with a dhcp-server in the network active, in and reboot the strip.
7. Setup your Hass with the provided component and enjoy your strip.
Where do i need to putt the home assistant component to make it work? I’m new to HASS (I’m using Hassio) and i have no idea where the python script needs to go.
I’m in switzerland. Max Heuri is providing Revogi OEM devices under the name MaxSmart.
I’m currently using their cloud ,but I managed to find the API for on/off, and now I want to extend my use to Home Assistant and get rid of the stupid badly develop app.
My article is in french but google transalates it fine
By the way, I just realize there are huge differences between the MaxSmart and the Revogi.
The MaxSmart plugs do not run on WIFI, but on PowerLAN
The MaxSmart Application does NOT need Internet to be connected. The appilcation communicates directly with the devices if the cloud is not connected. This a very very GOOD POINT (Thank you Max Heuri)
I found out anyway that these are Revogi devices by looking up on the MAC vendor.
Therefore, with the MaxSmart devices, their might not be any need to hack into the devices to disable wifi and cloud connection. Also, I would be curious if any Revogi user would try the MaxSmart application (I use it on Android) to see if it can see and command the native revogi devices. Would be helpful for you all Revogi users.