New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pimatic-homeduino

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pimatic-homeduino

pimatic plugin to use various 433mhz devices, sensors and more with an arduino.

  • 0.8.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

pimatic-homeduino

Plugin for using various 433mhz devices and sensors with a connected arduino with homeduino sketch.

This plugins supports all 433mhz devices with rfcontroljs protocol implementations.

Hardware

Configuration

You can load the plugin by editing your config.json to include:

{
  "plugin": "homeduino",
  "driver": "serialport",
  "driverOptions": {
    "serialDevice": "/dev/ttyUSB0",
    "baudrate": 115200
  },
  "receiverPin": 0,
  "transmitterPin": 4
}

in the plugins section. For all configuration options see homeduino-config-schema

The pin numbers are arduino pin numbers. The receiverPin must be either 0 (INT0) or 1 (INT1). The transmitterPin can must bq a digitial pin between 2 (D2) and 13 (D13) .

nano-pins

Devices must be added manually to the device section of your pimatic config.

A list with all supported protocols and protocol-options can be found here.

weather-station sensor example:

{
  "id": "rftemperature",
  "name": "Temperature",
  "class": "HomeduinoRFTemperature",
  "protocol": "weather2",
  "protocolOptions": {
    "id": 42,
    "channel": 1
  }
}

For protocol options see:

switch example:

{
  "id": "rfswitch",
  "name": "RFSwitch",
  "class": "HomeduinoRFSwitch",
  "protocol": "switch1",
  "protocolOptions": {
    "id": 42,
    "unit": 0
  }
}

DHT11/22 sensor example:

{
  "id": "homeduino-temperature",
  "name": "DHT",
  "class": "HomeduinoDHTSensor",
  "type": 22,
  "pin": 13
}

PIR sensor example:

{
      "id": "homeduino-pir",
      "name": "PIR",
      "class": "HomeduinoRFPir",
      "protocol": "pir1",
      "protocolOptions": {
        "unit": 0,
        "id": 17
      },
      "resetTime": 6000
}

TODO

  • Protocol documentation (options, ...)

FAQs

Package last updated on 10 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc