Giter Club home page Giter Club logo

node-red-contrib-envirophat's Introduction

node-red-contrib-envirophat

A simple Node-RED node which runs a Python script to get readings from the Pimoroni Envirophat, then parses those readings as a Javascript object and appends them to a message.

Table of Contents

  1. Related Repositories
  2. Developer Documentation
  3. Contact

Related repositories

Developer Documentation

Requirements

  • You must have Node.js and Node-RED installed. Instructions can be found here.
  • You must have the Pimoroni Envirophat libraries installed on your Raspberry Pi. Instructions for this can be found here. In short, just run the following command in your terminal:
curl https://get.pimoroni.com/envirophat | bash

Installation

Instructions for testing a node module locally can be found here.

The node can be found in npm. To install it, go to your node red directory (usually ~./node-red) and use the following command:

npm install node-red-contrib-envirophat

Note that you will need to restart Node-RED before the node will be loaded. On Raspberry Pi, you can do this with:

node-red-stop && node-red-start

Configuration

All configuration of the node can be done through the Node-RED UI.

See the node's Node Help page within Node-RED for more details/defaults.

Contact

For questions and help, email Tobi.

node-red-contrib-envirophat's People

Contributors

tsmethurst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Forkers

r1ch

node-red-contrib-envirophat's Issues

Use on node-red

Hi,

How does this work on node-red?

I have envirophat working fine, sending data to Initial State, and would now like to try it on Node-Red.

Debug shows this:

19/09/2021, 16:22:18node: 618da7a0094594b6
msg.payload : string[0]
""

How do I get Node-red to show envirophat sensor values?

Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.