Skip to content

mariobob/SmartHomeInventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Home Inventory

Overview

This Google Apps Script system adds a 🏠 Smart Home Tools menu to the Smart Home Inventory Google Sheet, with tools for keeping the inventory complete and tidy β€” autofilling device info from a model number, validating rows against a device database, sorting, and more. Explore the menu (including ℹ️ Help) to see what's available.

Features

Autofill

  • βœ… Automatic population: Enter a model number β†’ related fields auto-fill instantly
  • βœ… Smart detection: Only fills empty fields or fields with "-" placeholder
  • βœ… Non-intrusive: Won't overwrite data you've already entered
  • βœ… User feedback: Shows notifications on success or if model not found

Validation

  • βœ… Comprehensive checks: Validates all items against the device database
  • βœ… Beautiful HTML report: Shows discrepancies in an easy-to-read format
  • βœ… Cell references: Identifies exactly which cells have issues
  • βœ… Auto-fix option: Automatically correct all discrepancies with one click
  • βœ… Database stats: View statistics about your device database

General

  • βœ… Custom menu: Easy access to all tools via "🏠 Smart Home Tools" menu
  • βœ… Clean code: Well-structured with separated concerns
  • βœ… Device database: Pre-loaded with your existing inventory

Installation

Step 1: Open Google Spreadsheet

Open the Google Spreadsheet containing your "Items" sheet.

Step 2: Open Apps Script editor

  1. In Google Sheets, click Extensions β†’ Apps Script
  2. This opens the script editor in a new tab

Step 3: Create script files

Copy every file from src/autofill/ into the Apps Script editor, keeping the same file names. Delete the default Code.gs file if it still exists. (Or push them with clasp β€” see the deploy notes.)

Step 4: Name the project

  1. Click "Untitled project" at the top
  2. Rename it to "Smart Home Inventory - Autofill"
  3. Click away to save the name

Step 5: Reload spreadsheet

  1. Close the Apps Script tab
  2. Go back to the spreadsheet
  3. Reload the page
  4. A new menu should appear: 🏠 Smart Home Tools

Step 6: Authorize the Script

  1. Click 🏠 Smart Home Tools β†’ βœ… Validation β†’ Show Database Stats
  2. Google will ask for authorization
  3. Click Review Permissions β†’ Choose your account
  4. Click Advanced β†’ Go to Smart Home Inventory - Autofill
  5. Click Allow

About

Utilities for Smart Home Inventory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors