franc-carter / bauhn-wifi Goto Github PK
View Code? Open in Web Editor NEWA small perl program to control the Bauhn/Aldi Wi-Fi power points
A small perl program to control the Bauhn/Aldi Wi-Fi power points
Just wondered if whilst creating this repo you've come across how to enable remote access (i.e. turn the socket on/off when on a different network)?
From the NB forum I *_believe_* you have to send a TCP "login" command with the socket's "remote password" to vicenter.orvibo.com (IP: 42.121.111.208) followed by the subscribe command, to allow control remotely. The vicenter.orvibo.com site appears to be responsible for forwarding all commands to the socket.
Any guidance would be much appreciated
Franc, I have adapted your code and wondered if you would like it. What I have done is integrate the switching code with DPMS so that when the screen blanks the switch turns off and when it unblanks the switch turns on. This allows me to power down all my peripherals automatically. This is also useful in a home theatre situation where you may want to power down the audio system and other components, projectors or even say a TV signal amplifier when the computer goes to sleep in order to save energy.
There are a few bugs to work out but they are minor (what to do if the switch doesn't respond and at startup). I think a script call-out might be nice too (for plugin actions)
Let me know.
As put in Grayda/ninja-allone:
I written up a quick look at how the app manages to send the WiFi password to the S20 when it is in quick red flashing factory reset mode. It uses the length of the packets transmitted to send the password in the clear. I've written some words on http://blog.slange.co.uk/orvibo-s20-wifi-power-socket/ in case this is of interest.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.