Download the PHP package turbopixel/deye-inverter-status without Composer
On this page you can find all versions of the php package turbopixel/deye-inverter-status. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download turbopixel/deye-inverter-status
More information about turbopixel/deye-inverter-status
Files in turbopixel/deye-inverter-status
Package deye-inverter-status
Short Description Simple library for reading Deye inverter status information.
License MIT
Homepage https://hemk.es
Informations about the package deye-inverter-status
deye-inverter-status
Simple library for reading Deye inverter status information.
Reads the current deye inverter status and returns all information in an array. This script accesses the inverter and reads out the status.html page, which contains all necessary information from the inverter.
Works with DEYE SUN600 / SUN800.
Features
- Lightweight - Portable with only one file
- Easy - Easy to use, minimal requirements.
- Free - Open source and licensed under MIT license
Requirement
- PHP Version >= 8.2
- PHP Modules ext-curl, ext-dom
Installation
Install via composer
Add turbopixel/deye-inverter-status to the composer.json file.
And update composer
Alternative clone this repository:
Example
It is important that the inverter is connected to the same network!
The library is designed to be very simple. Copy the following code, adjust the variables and execute the PHP file on the console.
example.php (open)
Run on console:
Example output
Deye variable description
Variable name | Type | Description |
---|---|---|
webdata_sn | int | serial no |
webdata_msvn | ? | Firmware version (main) |
webdata_ssvn | ? | Firmware version (slave) |
webdata_pv_type | ? | Inverter model |
webdata_rate_p | ? | Rated power |
webdata_now_p | int | Current power |
webdata_today_e | float | Yield today |
webdata_total_e | float | Total yield |
webdata_alarm | int | Alerts |
webdata_utime | int | Last updated |
cover_mid | int | Device serial number |
cover_ver | string | Firmware version |
cover_wmode | string | ? |
cover_ap_ssid | string | Wireless SSID |
cover_ap_ip | string | Wireless IP address |
cover_ap_mac | string | Wireless MAC address |
cover_sta_ssid | string | Router SSID |
cover_sta_rssi | string | Signal Quality |
cover_sta_ip | string | IP address |
cover_sta_mac | string | MAC address |
status_a | int | Remote server A |
status_b | int | Remote server B |
status_c | int | Remote server C |
License
Open LICENSE file.
All versions of deye-inverter-status with dependencies
ext-dom Version *
ext-curl Version *