2017 © Pedro Peláez
 

library acpi-thermal

Read thermal temperature values from sysfs

image

noccylabs/acpi-thermal

Read thermal temperature values from sysfs

  • Friday, August 22, 2014
  • by noccy80
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ACPI Thermal

Read the temperature readings from the ACPI sysfs, (*1)

Installation

    $ composer require noccylabs/acpi-thermal:0.1.*

Usage

You can get a collection of all the available thermal zones using the static getAllZones() method:, (*2)

    use NoccyLabs\Thermal;

    $zones = Thermal\Zone::getAllZones();
    foreach ($zones as $zone) {
        printf("%s = %.1fºC\n",
            $zone->getName(),
            $zone->getTemp()
        );
    }

You can also create a zone directly and start reading from it (assuming it exists):, (*3)

    $zone = new Thermal\Zone("thermal_zone0");        
    echo $zone->getTemp();

The Versions

22/08 2014

dev-master

9999999-dev

Read thermal temperature values from sysfs

  Sources   Download

GPL-3.0

by Christopher Vagnetoft

22/08 2014

0.1.0

0.1.0.0

Read thermal temperature values from sysfs

  Sources   Download

GPL-3.0

by Christopher Vagnetoft