Modified LTSpice_RawRead.py found on https://github.com/nunobrum/PyLTSpice as of 2018-04-25.
Changed to support exports like this:
python3 LTSpice_RawRead.py danitest.raw "V(vin),V(vc2),V(n001)" outfile.csv
| $ uname -a | |
| Linux jay 4.16.12-1-ARCH #1 SMP PREEMPT Fri May 25 23:30:31 UTC 2018 x86_64 GNU/Linux | |
| $ cat /etc/issue | |
| Arch Linux \r (\l) | |
| $ pg_config --version | |
| PostgreSQL 10.4 | |
| $ cd /var/lib/postgres/data/ | |
| $ pg_test_fsync | |
| 5 seconds per test |
| corrected and now to be found at: | |
| https://github.com/pklaus/pklaus/blob/master/pklaus/images/exif/fix_datetime.py |
Modified LTSpice_RawRead.py found on https://github.com/nunobrum/PyLTSpice as of 2018-04-25.
Changed to support exports like this:
python3 LTSpice_RawRead.py danitest.raw "V(vin),V(vc2),V(n001)" outfile.csv
| $ uname -a | |
| Linux owl 5.4.8-arch1-1 #1 SMP PREEMPT Sat, 04 Jan 2020 23:46:18 +0000 x86_64 GNU/Linux | |
| $ cat /etc/issue | |
| Arch Linux \r (\l) | |
| $ pg_config --version | |
| PostgreSQL 12.1 | |
| $ cd /var/lib/postgres/data/ | |
| $ pg_test_fsync | |
| 5 seconds per test |
| $ uname -a | |
| Linux owl 4.15.3-2-ARCH #1 SMP PREEMPT Thu Feb 15 00:13:49 UTC 2018 x86_64 GNU/Linux | |
| $ cat /etc/issue | |
| Arch Linux \r (\l) | |
| $ pg_config --version | |
| PostgreSQL 10.2 | |
| $ cd /var/lib/postgres/data/ | |
| $ pg_test_fsync | |
| 5 seconds per test |
If you want to convert the logs of your FHEM installation from FileLog
to DbLog, you may use the excellent 98_FileLogConvert.pm.
What's a bit inconvenient is that each logfile conversion needs to be started by hand. This is the issue, this Python tool solves: You provide it a list of logfiles and the conversion is done one by one automatically.
Why was this tool written in Python (not Perl as FHEM itself)? Because the
| #!/bin/sh -exu | |
| dev=$1 | |
| cd $(mktemp -d) | |
| function umountboot { | |
| umount boot || true | |
| umount root || true | |
| } | |
| # RPi1/Zero (armv6h): |
For this to work, you need some requirements as mentioned here:
| #!/usr/bin/env python | |
| import simplenote | |
| import os, json | |
| from datetime import date, datetime as dt | |
| def main(): | |
| import argparse, getpass | |
| parser = argparse.ArgumentParser() |
| #!/bin/bash | |
| # <https://archlinuxarm.org/platforms/armv8/broadcom/raspberry-pi-3> | |
| echo -e "\n\nArch Linux ARM to SD Card" | |
| echo -e "For the Raspberry Pi 3, if you want to use the unofficial arm64 variant." | |
| echo -e "(Otherwise use the Raspberry Pi 2 version of this script!)\n\n" | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" 1>&2 |