library omega-temperature-php
Reads the temperature from a dual channel temperature sensor from Omega
duffleman/omega-temperature-php
Reads the temperature from a dual channel temperature sensor from Omega
- Monday, March 21, 2016
- by Duffleman
- Repository
- 1 Watchers
- 0 Stars
- 8 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
omega-temperature-php
PHP script that connects to the Omega dual channel temperature sensor over a socket., (*1)
How to?
run php index.php {ip} {port?} on the command line.
Default port is 2000., (*2)
You can also refer to index.php on how to run this within your own script., (*3)
It's important to know that because the box does not respond instantly, this script can take a few seconds to run.
If you are running this on the web, best run it as a seperate task and cache/database the results., (*4)
Omega Settings
Via the web interface for the Omega box, go to Configuration.
Under "Terminal Server", set the following settings:, (*5)
- TCP/UDP: TCP
- Server Type: Continuous
- Forward CR: disable
- Number of Connections: 3
- Port: 02000
- Disconnect After Data Sent: False (Unchecked)
dev-master
9999999-dev
Reads the temperature from a dual channel temperature sensor from Omega
Sources
Download
MIT
by
George Miller