Skip to content

BigBoySystems/third-i-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Third-I backend

A backend for the thingy.

Quick Start

Prerequisites

  • pipenv

Development

Install all the dependencies:

pipenv install --dev

Run the dev server, example command:

CONFIG=/tmp/stereopi.conf \
    CAPTIVE_PORTAL=/run/captive-portal.sock \
    MEDIA=/tmp/media \
    SERIAL=/tmp/writer \
    pipenv run dev
  • CONFIG is the path to a stereopi.conf. Normally located in /boot on the StereoPi
  • CAPTIVE_PORTAL is the path to the Unix socket of the captive portal. See the captive portal for more information
  • MEDIA is the path to a directory containing the videos and pictures, usually /media on the StereoPi
  • SERIAL, optional, path to the serial device (the thingy with the buttons and the screen)

Sample data for the serial communication

[Hello]
[PARAM_ASK|audio_enabled|0xff]
[PARAM_ASK|audio_enabled|0x378c1418]
[PARAM_ASK|invalid_key|0x19359147]
[PARAM_SET|audio_enabled:1|0x3b95c0da]
[PARAM_SET|invalid_key:1|0x6bafad8b]
[WIFI_ON|-|0xc012004]
[WIFI_OFF|-|0xdf54527d]
[REC_START|-|0x748a24bd]
[REC_STOP|-|0x96f63b1d]
[TAKE_PICTURE|-|0xa679117a]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages