my_sensors v0.1.0-rc2 MySensors.Broadcast
Elixir Broadcast mechanism for MySensors data.
Will receive messages in the shape of:
{:my_sensors, {type, data}}
where type
will be:
insert_or_update
delete
anddata
will be anyNode
,Sensor
, orSensorValue
struct.
Link to this section Summary
Functions
Subscribe to events about MySensors Data
Link to this section Functions
Link to this function
do_dispatch_events(action, events, state)
Link to this function
subscribe(pid)
Subscribe to events about MySensors Data.