Download the PHP package jpvdw/balboa-spa-api without Composer
On this page you can find all versions of the php package jpvdw/balboa-spa-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jpvdw/balboa-spa-api
More information about jpvdw/balboa-spa-api
Files in jpvdw/balboa-spa-api
Download jpvdw/balboa-spa-api
More information about jpvdw/balboa-spa-api
Files in jpvdw/balboa-spa-api
Vendor jpvdw
Package balboa-spa-api
Short Description Balboa spa / jacuzzi API client library for PHP.
License MIT License
Homepage https://github.com/jpvdw86/Balboa-spa-api
Package balboa-spa-api
Short Description Balboa spa / jacuzzi API client library for PHP.
License MIT License
Homepage https://github.com/jpvdw86/Balboa-spa-api
Please rate this library. Is it a good library?
Informations about the package balboa-spa-api
Balboa spa / Jacuzzi API wrapper
This is a PHP Library for the Balboa SPA API. Its reverse engineered en converted to PHP library. It is not an official API and no support on this library !
Example code
$username = 'XXXX';
$password = 'XXXX';
$clientFactory = new \Jpvdw\Balboa\ClientFactory();
$client = $clientFactory->create($username,$password);
// Check capabilities
// Check Model/Device.php for all options
echo $device = $client->getDevice();
echo $device->hasPump0() ? 'Yes' : 'No'.PHP_EOL;
echo $device->hasPump1() ? 'Yes' : 'No'.PHP_EOL;
echo $device->hasLight1() ? 'Yes' : 'No'.PHP_EOL;
echo $device->hasBlower() ? 'Yes' : 'No'.PHP_EOL;
// Get current state data
// Check Model/Panel.php for all options
$panelData = $client->getPanel();
echo $panel->getTemperature().PHP_EOL;
echo $panel->getTargetTemperature().PHP_EOL;
// Control buttons
// Check Service/Buttons.php for al options
$buttons = $client->getButtonActions();
echo $buttons->toggleLights() ? 'done': 'error'.PHP_EOL;
echo $buttons->togglePump1() ? 'done': 'error'.PHP_EOL;
echo $buttons->toggleBlowers() ? 'done': 'error'.PHP_EOL;
echo $buttons->togglePump2() ? 'done': 'error'.PHP_EOL;
// Control Temperature
// Check Service/Temperature.php for al options
$temperature = $client->getTemperatureActions();
echo $temperature->setCelsius(35) ? 'done': 'error'.PHP_EOL;
echo $temperature->setFahrenheit(60) ? 'done': 'error'.PHP_EOL;
``
All versions of balboa-spa-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-curl Version *
ext-json Version *
ext-mbstring Version *
ext-curl Version *
ext-json Version *
ext-mbstring Version *
The package jpvdw/balboa-spa-api contains the following files
Loading the files please wait ....