Skip to content

emericklaw/Orvibo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Orvibo S20 smart socket PHP API

This code base started from my project to control some LimitlessLED Smart-Lights bulbs through a web interface hosted on a Raspberrypi.

Over time my project expanded to include also some Orvibo S20 smart sockets for which I couldn't find any existing PHP API so wrote this one using the reverse engineered data available from various sources, particularly the Ninja Blocks Java API.

When using the status() function due to the way the sockets communicate back their status a listen IP address must be specified when calling $o->status('192.168.241.252') this IP address must be accessable by the socket.

Please feel free to include this code in your own projects and further develop and expand to support more of the features of the Orvibo smart sockets if you like.

Usage:

$o = new Orvibo('AC:CF:23:9C:A0:D0', '192.168.241.252', 10000);
$o->on();

$o->status('192.168.241.100');

About

API to control Orvibo Wifi socket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%