Skip to content

How to Schedule Lucit Campaigns in Ayuda

Integration Overview

Ayuda (by Broadsign) integrates with Lucit through HTML package generation using specialized lc build tools. This integration creates downloadable HTML packages that are scheduled directly on Ayuda players, providing dynamic content capabilities within the Broadsign ecosystem.

Note: Contact Lucit support to enable these tools for your Ayuda install

Prerequisites

Lucit Operator Profile - You must have access to an Operator Profile in Lucit
Ayuda App Installed - The Ayuda app must be added to your Operator Profile (Settings -> Apps & Data -> ADD NEW)
Lucit Campaign with at least one screen configured
Ayuda Player Access with content scheduling permissions
Lucit Account Representative Contact for HTML package generation
Target Screen Locations identified in Ayuda system

Step-by-Step Integration

Step 1: Lucit Configuration

  1. Switch to Operator Profile
  2. Click on the Profile Drop-Down in the top-right corner of Lucit
  3. Select your Operator Profile from the list
  4. Verify you see the Operator menu items on the left sidebar

  5. Verify Ayuda App is Installed

  6. Navigate to Settings -> Apps & Data
  7. Confirm the Ayuda app appears in your list
  8. If not visible, click ADD NEW and add the Ayuda app

  9. Access Campaign Management

  10. From your Operator Profile, navigate to Campaigns in the left sidebar
  11. Locate your target campaign in the list

  12. Activate Campaign (if needed)

  13. If the campaign shows as Draft status, click on the campaign
  14. Click the ACTIVATE button to make the campaign active
  15. Confirm campaign is now in active/running state

  16. Open Link Player Dialog

  17. From the Campaigns list, click on your campaign name
  18. Click LINK PLAYER button
  19. The Link Player dialog will open showing available integrations

  20. Access Ayuda Tab

  21. In the Link Player dialog, locate the Ayuda tab
  22. If you don't see the Ayuda tab, return to Step 2 to add the app
  23. Click on the Ayuda tab to view integration options

  24. Obtain Campaign Information

  25. Note the Campaign Hash ID (format: lch-xxxx) displayed in the Ayuda section
  26. Document any location-specific requirements
  27. Verify campaign has target screens configured

Step 2: Request HTML Package

  1. Contact Lucit Account Representative
  2. Request "HTML Package" for Ayuda integration
  3. Provide Campaign Hash ID from Step 1
  4. Specify target Ayuda player locations
  5. Include any special requirements or configurations

  6. Package Generation Process

  7. Lucit team creates custom settings.js configuration
  8. HTML package built using specialized lc build tools
  9. Package includes all necessary files for Ayuda player compatibility

Step 3: HTML Package Components

The generated HTML package includes:

Core Files

  • index.html: Main HTML file executed by Ayuda player
  • settings.js: Configuration file with API token and campaign ID
  • lucit.js: Lucit connectivity and content pulling code
  • style.css: Styling for content presentation
  • fallback.jpg: Default creative for network issues

Configuration Details

// settings.js structure
{
  "api_token": "player-bot-api-token",
  "campaign_id": "lch-campaign-hash-id",
  "default_play_duration": 8,
  "fetch_url": "https://layout.lucit.cc/api/v1/campaigns/ayuda/${CAMPAIGN_ID}/pull?api_token=${API_TOKEN}&location_id=${LOCATION_ID}",
  "debug_mode": false
}

Step 4: Ayuda Implementation

  1. Receive HTML Package
  2. Download ZIP file provided by Lucit team
  3. Verify package contents and configuration

  4. Upload to Ayuda System

  5. Access Ayuda content management interface
  6. Upload HTML package ZIP file to content library
  7. Configure content settings according to Ayuda requirements

  8. Schedule Campaign

  9. Create new playlist or add to existing playlist in Ayuda
  10. Add Lucit HTML package to desired time slots
  11. Apply schedule to target screens/zones

Step 5: Testing & Validation

  1. Player Functionality Testing
  2. Verify HTML package loads correctly on Ayuda players
  3. Test dynamic content pulling from Lucit servers
  4. Confirm face number detection from formal_location.xml

  5. Dynamic Content Validation

  6. Make changes in Lucit campaign
  7. Verify updates appear on Ayuda-connected screens
  8. Test location-specific content delivery

  9. Performance Monitoring

  10. Monitor content loading and refresh performance
  11. Check Ayuda player logs for any errors
  12. Verify network connectivity and content delivery timing

Troubleshooting

Common Issues

Problem: HTML package not loading
Solution: - Verify ZIP file was uploaded correctly to Ayuda system - Check that all required files are present in package - Confirm Ayuda player can access external URLs (network permissions) - Review Ayuda player logs for specific error messages

Problem: Content not updating
Solution: - Verify campaign updates are published in Lucit - Check settings.js configuration for correct API token and campaign ID - Confirm network connectivity from Ayuda players to Lucit servers - Test API endpoints manually to verify accessibility

Problem: Location-specific content not working
Solution: - Verify formal_location.xml file exists on Ayuda player - Check that location IDs match between Ayuda system and Lucit configuration - Confirm face number detection is working in HTML package - Test with debug mode enabled for troubleshooting information

Problem: Player status showing "skip"
Solution: - Check network connectivity to Lucit servers - Verify API token validity in settings.js - Review player logs for specific error messages - Confirm campaign is published and accessible via API

Debug Mode

For troubleshooting, HTML packages can be generated with debug mode enabled:

// settings.js with debugging
{
  "debug_mode": true,
  "location_id": "test-face-number" // for local testing
}

Debug mode provides: - Console logging of all operations - On-screen error messages - Detailed network request information - Content loading status updates

Technical Reference

HTML Package Architecture

The Ayuda player executes the HTML package with this workflow: 1. Load Settings: Read configuration from settings.js 2. Face Detection: Extract face number from formal_location.xml 3. Content Fetch: Pull creative from Lucit Drive API 4. Display: Render content at 100% screen dimensions 5. Status Update: Set player status to "ready" 6. Analytics: Fire play pingback on player play() method

API Integration

  • Fetch URL: https://lucit.cc/lucit-drive-api/
  • Endpoint Format: /v1/campaigns/ayuda/${CAMPAIGN_ID}/pull
  • Parameters: API token, location ID
  • Response: Dynamic creative content

Performance Considerations

  • Network Requirements: Reliable internet connectivity required
  • Refresh Timing: Configurable based on content update frequency
  • Fallback Content: Built-in fallback creative for network issues
  • Error Handling: Comprehensive error logging and status reporting

Advanced Configuration

Custom Settings

  • Play Duration: Configurable default display timing
  • Fetch URL: Customizable API endpoint structure
  • Debug Options: Enhanced logging and error display
  • Location Targeting: Face-number-based content customization

Performance Optimization

  • Work with Ayuda team to optimize content refresh rates
  • Monitor network performance and content delivery timing
  • Implement appropriate fallback content for reliability

Next Steps

  1. Request Package: Contact your Lucit Account Representative to request HTML package generation
  2. Coordinate Implementation: Work with Ayuda team for package deployment and testing
  3. Monitor Performance: Track content delivery and update performance across Ayuda network
  4. Scale Implementation: Apply successful integration to additional campaigns and locations

For additional support with Ayuda integration, contact your Lucit Account Representative or submit a support ticket through the Lucit platform.