kea / brixo-php
This project allows you to communicate with the BRIXO battery, by using a BLED112 dongle.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Type:project
Requires
- php: >7
- kea/bglib-php: dev-master
Requires (Dev)
- phpunit/phpunit: ^6.4
This package is not auto-updated.
Last update: 2024-11-09 03:47:34 UTC
README
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