Temp Loggerna har anlänt
Posted: Fri Mar 17, 2023 9:45 am
Hej igen,
har fått mina logger och sensorer från England idag.
Består av en USB ansluten mottagare och 5 sensorer för temperatur.
Programvara med grafik följer med samt plug in programvara för export till server eller via e-mail.
Fungerade direkt och visar uppdaterad temperatur varje 45 sec.
Det som är intressant är hur man kan bearbeta inläst data i kombination med Tellstik.
Visar den info som finns om data från sensorerna.Har ännu inte den kunskapen jag skulle behöva för att snabbt fixa det (ännu lol).
General
This Temperature Messenger is an add-on to the Temperature logger system and it enables you to send measured temperatures to web services or as a message to email recipients. This is done if rule-defined conditions are met. The Messenger accepts rules testing time, date temperature and sensor id. For example, with the Temperature Messenger can be set to send the measurement of sensor 3 by email every Thursday 11:30.
In order to send measurement data to a web server, a web server with server-side scripting support (like Apache/ MS IIS) is needed to process the data. Preferably the web server can use a database as well.
*****************
Temperature Messenger Application
The Temperature Messenger application is a program for editing rules that are executed by the temperature messenger service program.
The main dialog of the program consists of a list of rules to be applied to the incoming data.
A rule is an action that is taken when a set of conditions is met.
******************
For the http request the following items are needed:
URL field consists the URL address to which the http request is send
Method field specifies the http-request method GET or POST
The message field contains the data of the request, as URL-encoded text. It can contain message tags.
You can test the http request by pushing the <test message> button. This test will report the http-request status code if the navigation did not succeed.
The test-message is sent with labels having the following values:
$id = 1234
$name = "<name>"
$T = 12.3
time and date labels = the actual time
The web-server can process the request by interpreting the GET or POST data and store this data in a database. In order to do so a server-side script is necessary. A second page can be used to read out the measurements from the database.
**************
Message tags
Tags start with a dollar sign ($) and are directly followed by an identifier. A tag is replaced by an actual value when the message is prepared for sending.
The following tags are available:
Tag
Description
$T Temperature
$id ID of sensor
$name Name of the sensor, as set in the temperature logger software.
$time Actual local time hh:mm
$date Actual date dd-mm-yyyy
$minute Local time minute
$hour Local time hour
$dayofweek Day of week: Sunday, Monday...
$day Day field of date
$month Month field of date
$year Year field of date
Example:
The text "Sensor $id measures a temperature of $T degrees Celsius" will be send as:
"Sensor 8234 measures a temperature of 20.3 degrees Celsius"
When sending the message via a HTTP request, the message is send as URL-encoded text. In order to escape translation of the '&' and '=' characters, these characters should entered as '&&' and '=='.
Example:
The text "$time&&$id&&$T" will be transferred as
"09%3A22&8234&20%2E4" ( 09:22&8234&20.4 )
Kommer att senare försöka åstakomma något användbart
har fått mina logger och sensorer från England idag.
Består av en USB ansluten mottagare och 5 sensorer för temperatur.
Programvara med grafik följer med samt plug in programvara för export till server eller via e-mail.
Fungerade direkt och visar uppdaterad temperatur varje 45 sec.
Det som är intressant är hur man kan bearbeta inläst data i kombination med Tellstik.
Visar den info som finns om data från sensorerna.Har ännu inte den kunskapen jag skulle behöva för att snabbt fixa det (ännu lol).
General
This Temperature Messenger is an add-on to the Temperature logger system and it enables you to send measured temperatures to web services or as a message to email recipients. This is done if rule-defined conditions are met. The Messenger accepts rules testing time, date temperature and sensor id. For example, with the Temperature Messenger can be set to send the measurement of sensor 3 by email every Thursday 11:30.
In order to send measurement data to a web server, a web server with server-side scripting support (like Apache/ MS IIS) is needed to process the data. Preferably the web server can use a database as well.
*****************
Temperature Messenger Application
The Temperature Messenger application is a program for editing rules that are executed by the temperature messenger service program.
The main dialog of the program consists of a list of rules to be applied to the incoming data.
A rule is an action that is taken when a set of conditions is met.
******************
For the http request the following items are needed:
URL field consists the URL address to which the http request is send
Method field specifies the http-request method GET or POST
The message field contains the data of the request, as URL-encoded text. It can contain message tags.
You can test the http request by pushing the <test message> button. This test will report the http-request status code if the navigation did not succeed.
The test-message is sent with labels having the following values:
$id = 1234
$name = "<name>"
$T = 12.3
time and date labels = the actual time
The web-server can process the request by interpreting the GET or POST data and store this data in a database. In order to do so a server-side script is necessary. A second page can be used to read out the measurements from the database.
**************
Message tags
Tags start with a dollar sign ($) and are directly followed by an identifier. A tag is replaced by an actual value when the message is prepared for sending.
The following tags are available:
Tag
Description
$T Temperature
$id ID of sensor
$name Name of the sensor, as set in the temperature logger software.
$time Actual local time hh:mm
$date Actual date dd-mm-yyyy
$minute Local time minute
$hour Local time hour
$dayofweek Day of week: Sunday, Monday...
$day Day field of date
$month Month field of date
$year Year field of date
Example:
The text "Sensor $id measures a temperature of $T degrees Celsius" will be send as:
"Sensor 8234 measures a temperature of 20.3 degrees Celsius"
When sending the message via a HTTP request, the message is send as URL-encoded text. In order to escape translation of the '&' and '=' characters, these characters should entered as '&&' and '=='.
Example:
The text "$time&&$id&&$T" will be transferred as
"09%3A22&8234&20%2E4" ( 09:22&8234&20.4 )
Kommer att senare försöka åstakomma något användbart