my_sensors v0.1.0-rc2 API Reference

Modules

The MySensors part of the app has a few parts:

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 and data will be any Node, Sensor, or SensorValue struct

Repo Context for MySensors

Handles parsed MySensors packets

Node Object

MySensors packet

Constant values for MySensors packets. Using this module will define module attributes for the MySensors constants. Most things defined from MyMessage.h

Repository for local MySensors Data

Sensor Object

SensorValue Object

Behaviour for MySensors transports to implement

Elixir GenServer implementation of a MySensors.Transport

Fake Node that operates on the Local Transport

UART Tranport for MySensors