-
Notifications
You must be signed in to change notification settings - Fork 4
Switch Measurement Driver
Ulf edited this page Nov 3, 2013
·
2 revisions
#Overview
If you use the transmitter driver to control your switches, this driver could be a nice add on. The Switch measurement driver count save the time series of a switch.
#Setup
#Configuration
To configure the switch measurment driver, you have to add the following to your things.config.
{thing,"Switch_Measurement",
[{type,actor},
{ets,true},
{driver,{switch_measurement_driver,handle_msg},[{data,[]}]},
{activ,false},
{timer,0},
{database,[]},
{description,"Switch Measurement"}]},In your messages.config you have to configure the switch_measurement_driver and which messages it will receive.
Example:
{{switch_measurement_driver,"default"}, [{<<"leni@ua-TA880GB">>,<<"transmitter_433_resource">>,<<"default">>},