Skip to content

imeshsps/noderedDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ  Smart Home Control Center

A stunning, modern smart home dashboard built with React, Next.js, and Tailwind CSS featuring glassmorphism design, smooth animations, and real-time monitoring.

Dashboard Preview Tailwind Framer Motion

โœจ Features

๐ŸŽจ Modern Design

  • Glassmorphism UI with frosted glass effects
  • Gradient backgrounds and neon accents
  • Smooth animations powered by Framer Motion
  • Responsive layout - looks great on all devices
  • Dark theme with cyberpunk aesthetics

๐Ÿก Smart Home Monitoring

๐ŸŒก๏ธ Climate Control

  • Real-time temperature tracking with sine-wave simulation
  • Humidity monitoring with animated progress bars
  • Air Quality Index (AQI) with color-coded status
  • COโ‚‚ level monitoring
  • Beautiful gradient cards for each metric

โšก Energy Monitoring

  • Live power consumption chart with area graphs
  • Real-time cost calculation
  • Voltage and current monitoring
  • Daily energy usage tracking (kWh)
  • Color-coded power status (Efficient/Moderate/High Usage)

๐Ÿ’ก Smart Lighting

  • 5 room control: Living Room, Bedroom, Kitchen, Bathroom, Study
  • Interactive ON/OFF toggles
  • Brightness indicators with animated progress bars
  • Power consumption per room
  • Active lights counter
  • Room-specific emojis and colors

๐Ÿ›ก๏ธ Security System

  • Door sensors (Front, Back, Garage)
  • Motion detectors (Hallway, Living Room, Garden, Driveway)
  • Window sensors (Kitchen, Bedroom, Study)
  • Real-time alert feed with animations
  • Color-coded status indicators
  • Arm/Disarm toggle button
  • Security statistics dashboard

๐ŸŒค๏ธ Weather Station

  • Animated weather icons
  • 5 weather conditions: Sunny, Partly Cloudy, Cloudy, Rainy, Stormy
  • Current temperature display
  • Wind speed monitoring
  • Humidity tracking
  • Atmospheric pressure
  • "Feels like" temperature

๐ŸŽฏ Technical Features

  • Real-time data simulation with realistic patterns
  • Smooth transitions and micro-interactions
  • Staggered animations for elegant loading
  • Hover effects and scale transforms
  • Auto-updating charts using Recharts
  • Context-based data generation
  • Responsive grid layout

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 16.x or higher
  • npm or yarn

Installation

# Install dependencies
npm install

# Run development server
npm run dev

Open http://localhost:3000 to see the dashboard!

Build for Production

# Create optimized production build
npm run build

# Start production server
npm start

๐Ÿ“ Project Structure

smart-home-dashboard/
โ”œโ”€โ”€ pages/
โ”‚   โ”œโ”€โ”€ _app.js           # App wrapper with global styles
โ”‚   โ””โ”€โ”€ index.js          # Main dashboard page
โ”œโ”€โ”€ components/
โ”‚   โ”œโ”€โ”€ StatusCard.js     # Metric status cards
โ”‚   โ”œโ”€โ”€ ClimateCard.js    # Temperature & humidity
โ”‚   โ”œโ”€โ”€ EnergyChart.js    # Power monitoring chart
โ”‚   โ”œโ”€โ”€ SecurityPanel.js  # Security alerts feed
โ”‚   โ”œโ”€โ”€ LightingControl.js # Room lighting controls
โ”‚   โ””โ”€โ”€ WeatherWidget.js  # Weather information
โ”œโ”€โ”€ styles/
โ”‚   โ””โ”€โ”€ globals.css       # Global styles & Tailwind
โ”œโ”€โ”€ public/               # Static assets
โ”œโ”€โ”€ tailwind.config.js    # Tailwind configuration
โ”œโ”€โ”€ next.config.js        # Next.js configuration
โ””โ”€โ”€ package.json          # Dependencies

๐ŸŽจ Design System

Color Palette

  • Primary Cyan: #00d9ff - Main accent color
  • Purple: #7b2cbf - Secondary accent
  • Neon Green: #06ffa5 - Success states
  • Yellow: #ffb800 - Warnings
  • Pink: #ff006e - Alerts/Critical

UI Components

  • Glass Cards: Frosted glass effect with backdrop blur
  • Gradient Text: Multi-color gradient text effects
  • Neon Borders: Glowing cyan borders on hover
  • Stat Cards: Hoverable cards with scale animations
  • Progress Bars: Animated gradient progress indicators

๐Ÿ› ๏ธ Technologies Used

๐Ÿ“Š Data Simulation

All data is generated client-side with realistic patterns:

  • Temperature: Sine-wave based variations for smooth, natural changes
  • Energy: Dynamic power simulation with cost calculations
  • Security: Random events with realistic probabilities
  • Lighting: Auto-toggles with brightness variations
  • Weather: Condition changes with appropriate temperatures

๐ŸŽฏ Customization

Changing Colors

Edit tailwind.config.js:

theme: {
  extend: {
    colors: {
      accent: {
        cyan: '#00d9ff',    // Change these!
        purple: '#7b2cbf',
        green: '#06ffa5',
        // ...
      }
    }
  }
}

Modifying Data Update Intervals

Edit component useEffect intervals:

// Example: Change update frequency
const interval = setInterval(() => {
  // Update logic
}, 2000) // Change from 2000ms (2s) to your preferred interval

Adding New Rooms

Edit LightingControl.js:

const [rooms, setRooms] = useState([
  { id: 6, name: 'Office', icon: '๐Ÿ–ฅ๏ธ', on: false, brightness: 0, color: '#00BFFF' },
  // Add more rooms here
])

๐ŸŒŸ Features Showcase

Animations

  • Page load: Staggered animation of all components
  • Data updates: Smooth value transitions
  • Hover effects: Scale, glow, and color transitions
  • Weather icon: Rotating and scaling animation
  • Security feed: Slide-in alerts with exit animations

Interactions

  • Lighting toggles: Click to turn lights on/off
  • Security arm/disarm: Toggle system status
  • Hover cards: All cards respond to hover with scale effects
  • Chart tooltips: Interactive data point information

๐Ÿ“ฑ Responsive Design

The dashboard is fully responsive:

  • Mobile: Single column layout
  • Tablet: 2-column grid
  • Desktop: 3-4 column grid
  • 4K: Maximum width with centered content

๐Ÿ”ฎ Future Enhancements

Potential additions:

  • Real API integration (weather, IoT devices)
  • User authentication
  • Historical data persistence
  • Voice control integration
  • Mobile app version
  • Custom themes/color schemes
  • Automation rules & schedules

๐Ÿ“„ License

MIT License - Feel free to use for your projects!

๐Ÿค Contributing

Contributions welcome! Feel free to:

  • Report bugs
  • Suggest new features
  • Submit pull requests
  • Improve documentation

๐Ÿ’ก Inspiration

This dashboard is inspired by:

  • Modern IoT platforms
  • Cyberpunk aesthetics
  • Glassmorphism design trend
  • Smart home control interfaces

Built with โค๏ธ using React, Next.js, and Tailwind CSS

Enjoy your beautiful smart home dashboard! ๐Ÿš€โœจ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published