Introduction Gallery service plugin - 1.0
previous EInk service - 1.0
next Monitoring service - 1.0

1.2.4. Gallery service plugin - 1.0¶

This service takes a list of images in the /images_artwork folder and display a random image on the screen.

this service is handled by default in the wall_paperbundle.

Gallery service depends on the eink service, for the image display.

1.2.4.1. Configuration¶

No additional configuration is required for this service,

Env Variable

Description

FILES_PATH

folder in which the images are stored for the gallery

1.2.4.2. Detailed commands¶

1.2.4.2.1. random_get_image¶

This function take a random image and send it to the eink screen. The service communicate with the eink service directly to trigger the display.

1.2.4.3. Sample for using the gallery using the admincli / admin_web commands¶

deploy_app('wall_paper', False)
activate_app('wall_paper-1.0', {"FILES_PATH":"/images_artwork"})
start_app('wall_paper-1.0')

scheduling a periodic change using the wall paper / gallery service :

The current following command line trigger the random_get_image every 20 minutes

call_service('scheduler', 'update_or_create_job', 'gallery_refresh', 'call_service(\'gallery\',\'random_get_image\')','*/20 * * * *' , True)

undeploying

stop_app('wall_paper-1.0')
undeploy_app('wall_paper-1.0')

Logo

Table of Contents

  • RustiQ IOT
  • Why RustiQ IoT ?
  • Concepts and First Overview
  • Project Examples & Blueprint Implementations
  • 1. Introduction
    • 1.1. Overview
    • 1.2. Services Description
      • 1.2.1. Admin Web - 1.0
      • 1.2.2. Ble Admin 1.0
      • 1.2.3. EInk service - 1.0
      • 1.2.4. Gallery service plugin - 1.0
      • 1.2.5. Monitoring service - 1.0
      • 1.2.6. Powermanagement 1.0 service
      • 1.2.7. RtcTimeService 1.0 service
      • 1.2.8. Scheduler service-1.0
      • 1.2.9. Supervisor 1.0 service implementation
      • 1.2.10. Transfer Service 1.0 Implementation
      • 1.2.11. WiFi Service 1.0
  • 2. BluePrints for Implementation
  • 3. Developer Documentation
  • 4. Troubleshooting

Reference

  • Glossary

  • General Index
previous EInk service - 1.0
next Monitoring service - 1.0
© Copyright 2025, Patrice Freydiere. Created using Sphinx 6.2.1. Insipid Theme. Show Source.