my_sensors v0.1.0-rc2 MySensors.Transport.Local.LocalNode
Fake Node that operates on the Local
Transport.
Link to this section Summary
Functions
Add a sensor to a node
Start a fake node. opts can contain:
sketch_name
- Defaults to a Pokemon name.sketch_version
- Defaults to 0.1.0-rc2
Stop a node
Link to this section Functions
Link to this function
add_sensor(pid, type)
Add a sensor to a node.
Link to this function
start_link(node \\ nil, opts \\ [])
Start a fake node. opts can contain:
sketch_name
- Defaults to a Pokemon name.sketch_version
- Defaults to 0.1.0-rc2
Link to this function
stop(pid, reason \\ :normal)
Stop a node.