All Projects → pimatic → Homeduino

pimatic / Homeduino

Licence: gpl-3.0
Arduino library for home control

Labels

Projects that are alternatives of or similar to Homeduino

Microgranny2
Stars: ✭ 41 (-12.77%)
Mutual labels:  arduino
Esp8266 arduino temperature nodes
Allows a NodeMCU module to be used to capture/display/serve temperature information - uses OLED display and DHT or Dallas type temp sensors
Stars: ✭ 44 (-6.38%)
Mutual labels:  arduino
Bangoskank
A sketch to use an ESP8266 to flood the surrounding area with SSIDs of your choosing.
Stars: ✭ 46 (-2.13%)
Mutual labels:  arduino
Usb Keystroke Injector
☠️ An Arduino-based USB keyboard simulator which injects keystrokes via Bluetooth protocol or predefined payloads in a SD card.
Stars: ✭ 42 (-10.64%)
Mutual labels:  arduino
Esp8266
connecting the Arduino Micro to the ESP8266
Stars: ✭ 42 (-10.64%)
Mutual labels:  arduino
Menu
Minimal AVR LCD Menu System in C
Stars: ✭ 44 (-6.38%)
Mutual labels:  arduino
Pixeltime
An animated weather clock that is easy to make
Stars: ✭ 41 (-12.77%)
Mutual labels:  arduino
Sslclient
🔒Add SSL/TLS functionality to any Arduino library
Stars: ✭ 45 (-4.26%)
Mutual labels:  arduino
Hass Yaap
Yet another alarm (control) panel for Home Assistant.
Stars: ✭ 44 (-6.38%)
Mutual labels:  arduino
Yetanotherhhkbcontroller
Yet another controller for Happy Hacking Keyboard Professional2
Stars: ✭ 45 (-4.26%)
Mutual labels:  arduino
Arduinocore K210
Seeed code for the Kendryte K210 SoC on Arduino
Stars: ✭ 42 (-10.64%)
Mutual labels:  arduino
Esp8266 Relay
Relay control from a web page using the ESP8266 chip
Stars: ✭ 42 (-10.64%)
Mutual labels:  arduino
Iltms automated dust collection
Fully automated dust collection system with blast gate control
Stars: ✭ 45 (-4.26%)
Mutual labels:  arduino
Wattuino
Arduino compatible Boards and Modules based on Microchip ARM and AVR Microcontroller
Stars: ✭ 41 (-12.77%)
Mutual labels:  arduino
Tracer Rs485 Modbus Blynk
An arduino sketch to connect the EPSolar/EPEver Tracer A/B Series (RS-485 Modbus) to an ESP8266 and monitor using the Blynk mobile app.
Stars: ✭ 46 (-2.13%)
Mutual labels:  arduino
Fram mb85rc i2c
Arduino library for I2C FRAM - Fujitsu MB85RC & Cypress FM24, CY15B
Stars: ✭ 41 (-12.77%)
Mutual labels:  arduino
Arduino Nats
An Arduino / ESP8266 / Particle Photon compatible C++ library for communicating with a NATS (http://nats.io) server
Stars: ✭ 44 (-6.38%)
Mutual labels:  arduino
Gy521 Dev Kit
Some tools that aid projects utilising the GY521 breakout board (MPU5060 chip)
Stars: ✭ 47 (+0%)
Mutual labels:  arduino
Mifare Classic Toolkit
RFID / NFC :: Mifare Classic 1k info and tools
Stars: ✭ 46 (-2.13%)
Mutual labels:  arduino
Rf1101se Teensy
Driving one of those cheap RF1101SE boards with a Arduino or Teensy
Stars: ✭ 45 (-4.26%)
Mutual labels:  arduino

homeduino

Arduino library for home automation. The Library can be used on a Arduino compatible board for home automation task via serial connection and in combination with pimatic and the pimatic-homeduino plugin.

Flashing

You can either import all libraries in libraries into your Arduino IDE and open the homeduino.ino sketch or you can compile and flash using the Makefile (recommended).

The Makefile uses Arduino.mk. Because the arduino-mk version that comes with raspbian on the raspberry pi is to old, arduino-mk comes bundled as git submodule with this repository.

sudo apt-get install arduino-core avr-libc avrdude binutils-avr gcc-avr libconfig-yaml-perl libftdi1 libyaml-perl screen python-serial

Then clone the homeduino repository with all submodules:

git clone --recursive https://github.com/pimatic/homeduino.git

Edit the Makefile to use the right BOARD_TAG and MONITOR_PORT. You can list all available BOARD_TAGs with: make show_boards.

You can now compile it by running make or compile and upload it with:

make upload

DS18B20 Support

If you want to connect a DS18B20 sensor to your arduino you have to checkout the onewire branch before make upload:

git checkout onewire
git submodule update --init --recursive

The onewire library disables global interrupts, this could lead to worse receiving performance!

Serial communication

You can use the serial monitor of the arduino IDE or the screen command.

Run

make monitor

Type in your message and press Ctrl+Return. You can exit it with Ctrl+a and then k. Keep in mind that it does not echo what you type.

Commands

All commands sent to homeduino are accepted with ACK or rejected with ERR. Homeduino prints an ready message on serial port open if it is ready to receive commands.

PING

PING message

Sends back a string, can be used to check if the connection is working.

Example: PING hello

RF

receive

RF receive interrupt_pin

Starts receiving 433 mhz RF signals on interrupt pin interrupt_pin using RFControl. interrupt_pin can be 0 or 1.

Example: RF receive 0

When an RF signal is received it prints a message to the serial port:

RF receive 453 1992 88 9228 0 0 0 0 01020102020201020101010101010102010101010202010202020202010102010102020203

send

RF send digital_pin repeats b0 b1 b2 b3 b4 b5 b6 b7 pulse_sequence

Send an rf signal by its buckets and pulse sequence using RFControl.

Example: RF send 4 3 453 1992 88 9228 0 0 0 0 01020102020201020101010101010102010101010202010202020202010102010102020203

DHT

DHT type digital_pin

Reads a DHT temperature sensor of type on pin pin using DHTlib.

Example: DHT 22 3

Responds with: ACK temperature humidity or one of ERR checksum_error, ERR timeout_error, ERR unknown_error.

DR, DW, AR, AW, PM

  • digital read: DR pin
  • digital write: DW pin
  • analog read: AR pin
  • analog write: AW pin
  • pin mode: PM mode

Example: DR 4

Responds with ACK or ACK value.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].