/brixo-php

This project allows you to communicate with the BRIXO battery, by using a BLED112 dongle.

Primary LanguagePHPMIT LicenseMIT

Brixo API PHP implementation

This project allows you to communicate with the BRIXO battery, by using a BLED112 dongle.

Install

Download and install Composer by following the official instructions.

$ php composer.phar install

Configure

Edit src/test.php changing the device name at line 19 to match device dongle

$deviceName = '/dev/tty.usbmodem1';

Es. Windows "\.\com4", Mac "/dev/tty.xyk", Linux "/dev/ttySxx"

Play

$ php src/test.php

asciicast