An automated door sign for your office based on the Hackerbox 073 "LanLord"
- Duplicate/copy
network.example.h
to a new file namednetwork.h
- Modify
network.h
, adding yourWIFI_NET_SSID
andWIFI_NET_PASS
At boot time, the board will connect to your WiFi network and display its IP address.
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
- http://<device_ip>/meeting?on
- http://<device_ip>/meeting?off
- http://<device_ip>/donotdisturb?on
- http://<device_ip>/donotdisturb?off
- http://<device_ip>/enter?on
- http://<device_ip>/enter?off
Included in this repository is a 3d printable STL file for mounting your board.
Hubitat provides a handy HTTP GET switch virtual device.
- Follow the directions on the Hubitat documentation to install this driver.
- Connect to your Hubitat dashboard
- Click the "Devices" button
- Click the "Add Device" button
- Click the "Virtual" button
- Enter a name for this switch in the
Name
field - Select
Http GET Switch
from theType
field - Click
Save Device
- Use the URLs above to control the message using this switch