Your Household — Groups, Rooms and First Items
Register once and HomeBox hands you a household, eight rooms and a starter set of tags. This chapter renames the household, builds a tree of your own places inside it, and shelves the first thing.
The first user and the group
Open the program's address in a browser and register: a name, an email address (it is a login name; nothing is mailed anywhere by a default install), and a password. The lab did the same through the API — registration answers with a plain success and no fanfare, and a login returns a token (transcript t05). Two facts about that token matter to anyone scripting against the API:
- It travels in the
Authorizationheader as it is — this program does not want theBearerprefix most APIs expect, and answers401 valid authorization token is requiredif you add it (transcript t06). - The same login also returns a separate short-lived attachment token, used when the web pages fetch your uploaded files.
Registering creates your group — the household — named after you: the lab's was "Alex Rivers's Home", currency US dollars. Renaming is a settings job; the lab renamed its group to "Maple Cottage Household" through the API (transcript t08). A group's currency is chosen from a list of 161 the program knows (transcript t05), and it is the currency every total in chapter 11 is silently in.
What a fresh household already contains
A new group is not empty, and knowing that saves a confused first hour:
- Two entity types: Item and Location (transcript t06).
- Eight ready-made locations: Attic, Basement, Bathroom, Bedroom, Garage, Kitchen, Living Room, Office.
- A starter set of tags: Appliances, Electronics, General, IOT, Important, Servers.
Keep them, rename them, or delete them — but notice they are top-level places. The seeded Kitchen is not inside any house. If your inventory will ever cover more than one building, build your own tree and let the seeded rooms go.
Building the tree
Locations nest by naming a parent when you create them. The lab built:
Maple Cottage (the house)
├── Kitchen
│ └── Pantry shelf (over the door)
├── Garage
└── Study
Each create is one request carrying the parent's ID (transcript t07), and the program answers any "where does this sit" question with a path — for the pantry shelf: Maple Cottage → Kitchen → Pantry shelf, exactly the breadcrumb a person means by "the high shelf in the kitchen at the cottage". The tree view shows the whole structure at a glance, seeded rooms and all.
Notice, in that transcript, that the house itself received asset ID 000-001 and the kitchen 000-002. Every entity gets one of these short sequential numbers; chapter 12 is about what they are for.
The first item
An item is created the same way, with the Item type and a location as its parent: name it, say where it lives, and you have a record. The lab's first was an invented stand mixer in the Kitchen. A bare record like that is a skeleton — the next chapter puts the evidence on it.
The check for this chapter: your tree shows your places nested the way the building really is, and one real object from your home is recorded in the room it actually occupies.