SensorReport and SensorEvent added to Telldus Live support; Added capability to pass arguments to datafetcher FETCH_EXECUTE

Merged
#8 · Created  · Last updated

Merged pull request

Merged in MarcusKarlsson/automagically (pull request #8)

74fcec2·Author: ·Closed by: ·2014-01-28

Description

Part #1

The failed pull from yesterday has now been completed. Sensors works in two steps. First a SensorReport and then SensorEvents.

To use: Send once: sensor_report,SD99:Test:oregon:EA4C:temp:0 Send to update value: sensor_event,SD99:oregon:EA4C:temp:5

Typically, add a signal transform to use sensor_events. But before that, make sure to send in a sensor_report with the same Id.

SensorReport sensor_report,SD[ID]:[NAME]:[PROTOCOL]:[MODEL]:[MEAS_TYPE]:[VALUE]

SensorEvent: sensor_event,SD[ID]:[PROTOCOL]:[MODEL]:[MEAS_TYPE]:[VALUE]

Part #2

Added capability to pass arguments to datafetcher FETCH_EXECUTE. Global variables and general settings are possible to pass, e.g. /bin/echo 5,$Location Latitude$,$Location Longitude$,$Timezone$ /bin/echo Temp:$floatSMHITemp$

/Marcus

0 attachments

0 comments

Loading commits...