PHP code example of welterrocks / ecophacs
1. Go to this page and download the library: Download welterrocks/ecophacs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
welterrocks / ecophacs example snippets
sudo EcoPhacs-Configure.php
sudo EcoPhacs-Daemon.php start
EcoPhacs-Client.php devicelist
EcoPhacs-Client.php --device-id E0000111122223333344444 auto --wait 10 charge
EcoPhacse-MQTT.php start