PHPackages                             unreal4u/ds18b20-sensor-read - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. unreal4u/ds18b20-sensor-read

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

unreal4u/ds18b20-sensor-read
============================

Will read out the w1\_slave file of a DS18B20 sensor and send the output to a MQTT broker

v1.0.3(7y ago)117MITPHPPHP &gt;=7.0.0

Since Jan 3Pushed 7y agoCompare

[ Source](https://github.com/unreal4u/ds18b20-sensors)[ Packagist](https://packagist.org/packages/unreal4u/ds18b20-sensor-read)[ RSS](/packages/unreal4u-ds18b20-sensor-read/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

RPi3 DS18B20 PHP7 Sensor reader
===============================

[](#rpi3-ds18b20-php7-sensor-reader)

This package will read out rpi3 1-wire sensors and send the output of those readings to a MQTT broker.

Working of this package
=======================

[](#working-of-this-package)

**Step 0**:
Ensure you've got a running php7 installation on your RPi3. How to do this falls outside the scope of this application. Don't forget to install composer as well. I'll assume it's installed at `usr/bin/composer.phar`.

**Step 1**:
Install the library in a fresh directory, the minimum stability is there because many dependencies on this class does not yet have any stable releases, this will change in the future:

```
mkdir sensor-readout
cd sensor-readout
/bin/cat
