Skip to content

myDevicesIoT/cayenne-plugin-tmp36

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cayenne TMP36 Plugin

A plugin allowing the Cayenne Pi Agent to read data from a TMP36 sensor and display it in the Cayenne Dashboard.

Requirements

Hardware

Software

Getting Started

1. Installation

From the command line run the following commands to install this plugin.

cd /etc/myDevices/plugins
sudo git clone https://github.com/myDevicesIoT/cayenne-plugin-tmp36.git

Install the ADC plugin following its installation instructions. This example uses an MCP3XXX device.

2. Setting the ADC and channel

Specify the ADC device and channel number you are connecting the TMP36 to by modifying init_args under TMP36 in the cayenne_tmp36.plugin file. The adc value should be set to plugin_name:section where plugin_name is the name of the ADC plugin file name and section is the section within that file that defines the ADC extension. For example, cayenne_mcp3xxx:MCP. The channel value should be set to the channel on the ADC device that the TMP36 is connected to.

3. Restarting the agent

Restart the agent so it can load the plugin.

sudo service myDevices restart

Temporary widgets for the plugin should now show up in the Cayenne Dashboard. You can make them permanent by clicking the plus sign.

NOTE: If the temporary widgets do not show up try refreshing the Cayenne Dashboard or restarting the agent again using sudo service myDevices restart.

Releases

No releases published

Packages

No packages published

Languages