All projects
Home automation

Control Nest v2

In development

Home automation for lights, fans, and other relay-connected devices. Use the mobile app to manage rooms, switch devices, and set controller-run schedules.

Project overview

Control Nest v2 connects a React Native and Expo mobile app to AutoPiHub controllers on Raspberry Pi. A Next.js website manages houses and controller setup. Each house can have several controllers, and each device belongs to a room.

  • Mobile controls for relay-connected lights, fans, and other devices
  • Several houses, rooms, controllers, and house members
  • On and off schedules that run on the controller
  • Local network discovery and remote access through Cloudflare Tunnel
  • Activity history, energy estimates, and app and controller updates

Technologies

  • React Native
  • Expo
  • Next.js
  • TypeScript
  • Python
  • FastAPI
  • PostgreSQL
  • Cloudflare
  • Raspberry Pi
Visit Control Nest, opens in a new tabAsk us about Control Nest v2

What Control Nest v2 does

Device and room controls

Add devices to rooms and select their controller and GPIO header pin. Use the mobile app to switch relay-connected devices. Each house can have several Raspberry Pi controllers, and house members use their own accounts.

Schedules

Choose the days and on and off times in the app. AutoPiHub runs the schedule on the Raspberry Pi, so the app does not need to stay open.

Local and remote access

The mobile app discovers nearby controllers during setup. Pair the phone and Pi on the same trusted local network. Cloudflare Tunnel provides remote HTTPS access without inbound router port forwarding.

Activity and energy estimates

Review device changes and request history in the mobile app. Optional device power ratings support energy estimates. These estimates are not meter readings.

App and controller updates

The app can check for compatible mobile updates. House admins can start controller firmware updates and follow their progress. Controller updates continue after the phone disconnects. Failed activation restores the previous working release and its data.

Hardware and setup

Use a Raspberry Pi running Raspberry Pi OS, suitable relay hardware, and an Android phone for the published app. Install AutoPiHub, create a house and controller on the website, pair the Pi, then add rooms and devices. The setup guide explains the hardware requirements and installation steps.