Skip to content
 
 

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decrypt_ha_logs

Downloads recent Home Assistant report archives from Robonomics datalog records, decrypts them, and stores the decrypted files in a directory tree that is easy to inspect.

Configuration

Copy creds.yaml.example to creds.yaml and fill in the recipient seed and sender addresses.

recipient_seed: "..."

sender_addresses:
  - address: "..."
    name: "home-a"
  - address: "..."
    name: "home-b"

reports_per_address: 2
reports_dir: reports
clean_reports: true
ipfs_gateway: https://ipfs.io
network_wss: wss://polkadot.rpc.robonomics.network/

Installation

Create a virtual environment in the project directory:

python3 -m venv .venv

Activate it:

source .venv/bin/activate

Install dependencies:

python -m pip install -r requirements.txt

Usage

.venv/bin/python decrypt_ha_logs.py

Use another config file:

.venv/bin/python decrypt_ha_logs.py --creds /path/to/creds.yaml

By default, reports_dir is cleaned before every run. Decrypted reports are stored like this:

reports/
  home-a/
    datalog_16_1710000000/
      cid.txt
      home-assistant.log
      issue_description.json
      trace.saved_traces

About

Downloads recent Home Assistant report archives from Robonomics datalog records

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages