Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

Adding Dockerfile

Open sostenesapollo opened this issue 1 year ago • 5 comments

Added Dockerfile and how to run using it

Summary by Sourcery

Add Docker usage instructions to the README, providing users with guidance on how to build and run the application using Docker.

Documentation:

  • Add instructions to the README for running the application using Docker, including build and run commands.

sostenesapollo avatar Aug 13 '24 16:08 sostenesapollo

HI @Andkju,

There isn't any way to recover device telemetry data.

I suggest that the data were removed because the TTL expired.

  • The TTL on the Prototype subscription is set to 180 days by default.
  • Thingsboard deletes all data with a TTL value of more than 180 days.

If you wanna store your data for more than 180 days, you may overwrite the default value in the "Save Timeseries" rule node or use the "TTL" metadata field of your message. Here is a link to Cloud Subscriptions Plans, where you can find additional information about Prototype subscription.

sumin-denys avatar Aug 13 '24 11:08 sumin-denys

Dear @SuminDenys The information was displayed on dashboards; is there a way to retrieve it from there? If not, how could I modify the 'TTL' field of the message from my devices without losing the existing information? I only use ThingsBoard in its web version. Thank you very much for your support.

Andkju avatar Aug 13 '24 14:08 Andkju

Hi @Andkju,

The information in the dashboard is only structured data that ThingsBoard obtains from the database and displays using widgets.

  1. There is no way to retrieve old data that is no longer displayed from a dashboard.
  2. You can use the following link: Working with telemetry data to find possible options for how you can rewrite the TTL value via Rule Chain.
  3. Also, I add some screenshots with examples below as a hint for you. image image image

sumin-denys avatar Aug 14 '24 09:08 sumin-denys

Hello @SuminDenys, in the last picture you added a transformation script right? I just put "157788000 " in the default TTL meaning to store the data for 5 years. Please correct me if I'm wrong. Thank you so much for your patience.

Andkju avatar Aug 16 '24 01:08 Andkju

Hi @Andkju,

  1. Yes, I added a transformation script in the last screenshot.
  2. To save data for five years, you must set the Default TTL to value "157766400" in the Save Timeseries node

Here's how it's calculated:

1 year = 365 days
1 day = 24 hours
1 hour = 60 minutes
1 minute = 60 seconds

So:

365×24×60×60=31,536,000 seconds

For a leap year, which has 366 days:

366×24×60×60=31,622,400 seconds

Five years with leap year included equal (31,536,000×4)+31,622,400=157766400

sumin-denys avatar Aug 20 '24 12:08 sumin-denys

I'm closing this issue due to inactivity. Feel free to reopen if you still have some questions.

sumin-denys avatar Sep 05 '24 13:09 sumin-denys