vagrant@vagrant:~$ vagrant@vagrant:~$ curl -H "X-Boxee-Auth: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJJRCI6ImJmNzY2NTkxLTU0YTgtNGY1Yy1iN2FlLTY4OWJlODQ2YmRkZCIsImV4cCI6MTY2MTU2NzY0OSwiaXNzIjoiYm94ZWUtc2VydmljZSJ9.Aygr19ECRBB_nfkESThQ6RLZy5o29Gl-_i5SCAkBys8" -H "Content-Type: application/json" https://api.box-ee.com/api/v1/device/list | jq Q6RLZy5o29Gl-_i5SCAkBys8" -H "Content-Type: application/json" https://api.box-ee.com/api/v1/device/list | jq % % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0100 57 100 57 0 0 195 0 --:--:-- --:--:-- --:--:-- 195{ "count": 0, "devices": [], "msg": "found", "status_code": 200}vagrant@vagrant:~$ e vagrant@vagrant:~$ ex vagrant@vagrant:~$ exi vagrant@vagrant:~$ exit vagrant@vagrant:~$ exitexit
Box-ee Documentation
Back to homepage

BOX-EE Documentation

The BOX-EE project is in beta stage and as we continue to iterate, we’ll continue to work on providing the best experience for our users.

Your feedback is extremely valuable so please reach out with either an email to epuerta@box-ee.com or a general post in our discord server

BOX-EE is an IOT smart box that focuses on the safety of deliveries. It pairs with a free cloud account that allows you to transform your tracking number into a one-time security key.

We at BOX-EE have personally experienced both damaged packages and stolen packages so we directed our frustration to building and creating a community driven project that aims at solving this pain point.

Build your own DIY BOX-EE IOT box with our tutorials as we hope to foster a community of builders and developers for this platform.

This project is for ANYONE with ANY level of experience. We provide all the tools and documentation needed. If there are any questions, post them in the BOX-EE discord channels where others can also help.

There are 3 main components of the BOX-EE project

IOT

The core of BOX-EE is building a smart box to keep your deliveries safe.

Get started with our docs

Show me the Docs!

Web

Sign up and interact with your IOT smart box through our web app.

Login

API

Our public api’s are OpenAPISpec3 compliant and well documented.

check them out!

OpenAPISpec3

BOX-EE platform offers the following

  • Cloud Web Platform

  • Open source CLI

  • Open source BOX-EE IOT Code

  • BOX-EE schematics, bill of materials, and how-to’s

  • Community support and help

Quick Start


  • Login/Register

    After registering, an email verification link will be sent and must be verified before signing in. As of 11/22/2022, the email verification link will be sent from our identity management provider Ory. Check your spam folder if you did not receive an email from BOX-EE via Ory.
    1. Go to BOX-EE web
    2. Register an account
      • Verify email
    3. Login with email and password
    1. Register
    curl -X POST -d '{"email":"you-email","password":"your-password"}' -H "Content-Type:application/json" https://api.box-ee.com/api/v1/self-service/register | jq
    
    {
      "msg": "registration successful",
      "status_code": 200
    }
    
    1. Login
    curl -X POST -d '{"email":"you-email","password":"your-password"}' -H "Content-Type:application/json" https://api.box-ee.com/api/v1/self-service/login | jq
    
    {
      "msg": "login successful",
      "session_token": "your-session-api-token",
      "status_code": 200
    }
    
    1. Install latest release
    curl -o boxee.zip -L $(curl -s https://api.github.com/repos/epuerta9/box-ee-cli/releases/latest | jq .zipball_url -r) && unzip boxee.zip
    
    esteban@xps15:boxeeclidemo$ ls
    boxee.zip  epuerta9-box-ee-cli-291d839
    
    1. (Optional) Move binary to your PATH
    sudo mv epuerta9-box-ee-cli-291d839/bin/boxee /usr/local/bin
    
    1. Create box-ee config file
    esteban@xps15:boxeeclidemo$ ./boxee init -e your-email
    running init config
    
    esteban@xps15:boxeeclidemo$ cat .box-ee.yaml 
    address: https://api.box-ee.com
    email: your-email
    
    1. Register
    esteban@xps15:boxeeclidemo$ ./boxee register -e your-email -p your-password
    
    1. Verify your email

    2. Login

    esteban@xps15:boxeeclidemo$ ./boxee login -p your-password | jq
    {
      "msg": "login successful",
      "session_token": "your-api-token",
      "status_code": 200
    }
    

  • Add your first device

    1. Click the floating plus icon on your home page
    2. Specify the following
      • Name - a friendly identifier for your device
      • Type - a descriptive label usually indicating what kind of device
        • i.e outdoor, main, front door.
    curl -H "X-Boxee-Auth: your-session-token" -H "Content-Type: application/json" -d '{"device_name": "default", "device_type": "main"}' https://api.box-ee.com/api/v1/device | jq
    
    {
      "device_id": "ba4759df-4787-4110-a744-1530da326a6d",
      "device_name": "default",
      "device_type": "main",
      "msg": "created",
      "status_code": 202
    }
    
    ./bin/boxee device add
    
    {"device_id":"f4431800-806a-45d9-b7cf-0fae3d0659d4","device_name":"default","device_type":"main","msg":"created","status_code":202}
    

  • Send a tracking number

    1. Click the device card you want to add a tracking number to
    2. Open the right navigation drawer
    3. Select “Add Tracking Number”
    4. Submit tracking number
    curl -X POST -H "Content-Type: application/json" \
    -H "X-Boxee-Auth: your-api-token" \
    -d '{"tracking_number": "12345678", "device_id": "device-id-string"}' \
    https://api.box-ee.com/api/v1/tracking| jq
    
    {
      "msg": "created",
      "status_code": 202
    }
    
    ./boxee tracking add --tracking-number 12345678
    
    {
      "msg": "created",
      "status_code": 202
    }
    

  • Download latest code release
curl -o boxee-client.zip -L $(curl -s https://api.github.com/repos/epuerta9/box-ee-client/releases/latest | jq .zipball_url -r) && unzip boxee-client.zip
Build your box

Join our Community

We value everyone that is part of the community and encourage people to connect with us on Discord.

Reach out and say hello!


Next section