Skip to content

Android app allowing to control devices in the room using Arduino

License

Notifications You must be signed in to change notification settings

MatthewProg/SmartRoom

Repository files navigation

Smart Room (Android)

Table of Contents
  1. About
  2. Features
  3. Getting Started
  4. Documentation
  5. License

About

One day I thought about adding some cool lights in my room, but it seemed too easy for me. So I decided to not only add lights, but also to make my room a bit smarter.

Currently, the app allows you to set PWM values for N-MOSFETs or Arduino pins. You can also read values of pins or custom text/value coded in Arduino using its ID.

Features

click image to play GIF

switches new switch sensors macros reuse switches
Control devices Add new switches Read sensors Run macros Re-use created switches

Getting Started

Project structure

Docs - Documentation directory
SmartRoom - Xamarin.Android project
SmartRoom.Emulator - .NET Core 3.1 project
SmartRoom.Tests - .NET Framework 4.7.2 project
SmartRoom.WiFi - PlatformIO ESP-01S project
SmartRoom.Controller - PlatformIO Arduino Nano project

Set up

Controller projects
  1. Clone repository git clone https://github.com/MatthewProg/SmartRoom.git
  2. Install PlatformIO IDE from link
  3. Open VS Code
  4. In PIO Home click Open project
  5. Navigate to repo location and open SmartRoom.WiFi or SmartRoom.Controller
Application projects
  1. Clone repository git clone https://github.com/MatthewProg/SmartRoom.git
  2. Open SmartRoom.sln

NOTE: If you run into problems with packages. Remove SmartRoom reference from SmartRoom.Tests project and try again. Don't forget to later add a reference

Documentation

  1. Schematic
  2. Communication
MIT License

Copyright (c) 2021 Mateusz Ciaglo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Android app allowing to control devices in the room using Arduino

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published