Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a function to send data elsewhere, API, MQTT, etc. #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UnderpantsGnome
Copy link

This is similar to the userMotionCode functionality, but passes different data.

The user_reporting_code.userReportingCode function is called, passing in a hash of the same data that is being persisted in the database, along with the video_stream, and the filename that was created.

From there the user can do whatever they wish with the data.

user_reporting_code.userReportingCode(reporting_fields, vs, filename)

The sample in user_reporting_code.py can be used to send the data to an external API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant