BrightSign Development Environment Setup
January 30, 2026 ยท View on GitHub
This guide helps you set up a local development environment for iterative BrightSign application development. After deploying your first "Hello World" application, use these tools and techniques to debug, log, and refine your application.
Table of Contents
- Connecting to Your Player
- Debugging Applications
- Logging and Diagnostics
- Network Configuration
- Tips for Iterative Development
Connecting to Your Player
Serial Connection
Serial connections provide direct access to the BrightSign shell for configuration and debugging.
Resources:
Quick Steps:
- Connect via serial cable (USB-to-serial adapter may be required)
- Use a terminal emulator (PuTTY, screen, minicom)
- Default settings: 115200 baud, 8N1
- Access BrightSign shell for diagnostics and commands
SSH Connection
SSH provides remote command-line access to your player (must be enabled first).
Prerequisites:
- Player must be on the same network
- SSH must be enabled in Local DWS or via a script
- Know your player's IP address (see FAQ for methods)
Connection:
ssh brightsign@<IP_ADDRESS>
# OR
ssh brightsign@brightsign-<SERIAL_NUMBER>.local
Debugging Applications
HTML and Node.js Applications
Remote debugging allows you to use Chrome DevTools to inspect, debug, and profile your HTML/JavaScript/Node.js applications running on BrightSign players.
Resources:
Debugging Features:
- Console output and errors
- DOM inspection
- JavaScript breakpoints
- Network request monitoring
- Performance profiling
- Memory analysis
BrightScript Applications
BrightScript includes a telnet-based debugger for stepping through code and inspecting variables.
Resources:
Debugging Tips:
- Use
printstatements for quick diagnostics - Leverage the message port for asynchronous event debugging
- Check the autorun log for script errors and stack traces
Logging and Diagnostics
- BrightSignOS System Logs: System logs provide kernel-level diagnostics and OS events.
- Autorun Logs: Autorun logs show application startup, errors, and runtime issues.
Resources:
Access via Diagnostic Web Server (DWS):
- Navigate to
http://<player-ip>(if Local DWS is enabled; see FAQ if not) - Go to
Logtab.
Access via Serial/SSH:
Optionally you can view the whole log output directly when connected via serial or SSH. See the Serial Connection or SSH Connection sections above.
Update Logging Level
Configure the logging level for the system logs to get more detailed output for debugging.
Access via DWS:
- Navigate to
http://<player-ip> - Go to
Advanced -> BrightSignOS Logsto update the logging level. - Or you can also do this using the Local DWS API.
- Set the desired logging level (eg. 3: Trace, 2: Info, 1: Warn, 0: Error).
Network Configuration
- Ethernet is the most stable and preferred method for network connectivity. It is automatically configured by the BrightSign OS.
- Any custom network configuration (like WiFi or other interface like modem, or VPN or proxy settings) requires special configuration.
- Use a BrightAuthor:Connected setup to configure custom network settings.
- OR
- Configure the network in your script using BrightSign OS APIs:
Tips for Iterative Development
Local Development Workflow
- Develop locally - Build and test on your development machine. You may need to mock BrightSign-specific APIs.
- Deploy to SD card - Copy files to SD card or use
curlcommand to upload files via local network:curl --location --request PUT 'http://{{player-ip}}/api/v1/files/sd' \ --digest -u 'admin:ldws-password' \ --form 'file[0]=@"/path/to/file"' - Test on player - Boot player with your application
- Debug locally or remotely - Use Chrome Debugging or SSH debugger or BrightScript debugger
- Iterate - Make changes and redeploy
Best Practices
- Version Control - Keep your code in Git
- Test on Hardware - Don't rely solely on browser testing for HTML apps
- Monitor Logs - Always check logs after deployment
- Start Simple - Get basic functionality working before adding complexity
- Use MCP Prompts - Leverage the BrightDeveloper MCP server for code generation and troubleshooting
Next Steps
- Hello BrightSign Example - Your first deployment
- BrightSign Documentation - Comprehensive API reference
- GitHub Discussions - Community support
Need help? Ask in GitHub Discussions or reach out via the BrightSign Support Community.