/hackerbox-073-door-sign

Re-purposing the Hackerbox 073 "LanLord" into an IoT door sign

Primary LanguageC++MIT LicenseMIT

A Sign For Your Door

An automated door sign for your office based on the Hackerbox 073 "LanLord"

Hardware

Hackerbox 073 "LanLord"

Other stuff

Software

Dependencies

Configuration

  1. Duplicate/copy network.example.h to a new file named network.h
  2. Modify network.h, adding your WIFI_NET_SSID and WIFI_NET_PASS

Use

At boot time, the board will connect to your WiFi network and display its IP address.

Message Priority

The message status is represented as a byte where each bit represents a message's boolean state. If more than one message bit is set to true, the most significant bit will take priority.

The bit mapping for messages can be found in the source code and looks as follows:

// Bit mapping
#define ENTER_BIT_IDX        0
#define DONOTDISTURB_BIT_IDX 1
#define MEETING_BIT_IDX      2

URLs

"Meeting in progress"
  • http://<device_ip>/meeting?on
  • http://<device_ip>/meeting?off
"Do Not Disturb"
  • http://<device_ip>/donotdisturb?on
  • http://<device_ip>/donotdisturb?off
"Please Enter"
  • http://<device_ip>/enter?on
  • http://<device_ip>/enter?off

Wall Mount

Included in this repository is a 3d printable STL file for mounting your board.

Integrations

Hubitat

Hubitat provides a handy HTTP GET switch virtual device.

  1. Follow the directions on the Hubitat documentation to install this driver.
  2. Connect to your Hubitat dashboard
  3. Click the "Devices" button Screenshot from 2022-09-05 10-01-38
  4. Click the "Add Device" button Screenshot from 2022-09-05 10-01-54
  5. Click the "Virtual" button Screenshot from 2022-09-05 09-58-35
  6. Enter a name for this switch in the Name field Screenshot from 2022-09-05 09-59-19
  7. Select Http GET Switch from the Type field Screenshot from 2022-09-05 09-59-26
  8. Click Save Device
  9. Use the URLs above to control the message using this switch Screenshot from 2022-09-05 10-00-24