承接 marjovanlier/ecoflow 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

marjovanlier/ecoflow

最新稳定版本:v1.0.4

Composer 安装命令:

composer require marjovanlier/ecoflow

包简介

A PHP library for working with EcoFlow data.

关键字:

README 文档

README

EcoFlow is a PHP library that provides functionality for interacting with the EcoFlow developer platform. It allows users to integrate their applications with EcoFlow devices and access various features and data provided by the platform.

Features

  • Authenticate and authorize with the EcoFlow developer platform
  • Retrieve device information and status
  • Control and monitor EcoFlow devices remotely
  • Access energy flow data and metrics
  • Perform device-specific actions and configurations

Installation

To install EcoFlow, you can use Composer, the dependency manager for PHP. Run the following command in your project directory:

composer require marjovanlier/ecoflow

Make sure you have Composer installed and your project's composer.json file is properly configured.

Usage

To use the EcoFlow library, you need to sign up for the EcoFlow developer program at https://developer-eu.ecoflow.com/us/. Once you have obtained your API credentials, you can start using the library in your PHP application.

Here's a basic example of how to use the EcoFlow library:

use Marjovanlier\EcoFlow\EcoFlow;

// Create a new instance of the EcoFlow class
$ecoFlow = new EcoFlow('your-api-key', 'your-api-secret');

// Retrieve a list of devices associated with your account
$devices = $ecoFlow->getDevices();

// Sets the permanent wattage of a device (100 for 10W)
$ecoFlow->setParams($deviceSn, 'WN511_SET_PERMANENT_WATTS_PACK', ['permanentWatts' => 100]);

Contributing

Contributions to the EcoFlow library are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

Licence

The EcoFlow library is open-source software licensed under the MIT licence.

统计信息

  • 总下载量: 60
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固