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.

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) .

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, ...)