Skip to content

Instantly share code, notes, and snippets.

@marcelrv
marcelrv / gist:62adc1d1cfc67048d3f51ae4e003535b
Created September 6, 2025 11:38
dbus-serial battery log.md
Starting /service/dbus-serialbattery.ttyUSB0...
root@raspberrypi2:~# tail -f /var/log/dbus-serialbattery.ttyUSB0/current
@4000000068bc1c622746216c INFO:SerialBattery:> CCCM T MOS: True | DCCM T MOS: True
@4000000068bc1c62274bcaa4 INFO:SerialBattery:> CCCM SOC: False | DCCM SOC: False
@4000000068bc1c6227520c34 INFO:SerialBattery:> CHARGE FET: 1 | DISCHARGE FET: 1 | BALANCE FET: True
@4000000068bc1c62275d6674 INFO:SerialBattery:Serial Number/Unique Identifier: 41216494749
@4000000068bc1c9f0161f73c INFO:SerialBattery:Exit signal received, exiting gracefully...
@4000000068bc1c9f026e8924 INFO:SerialBattery:Stopped dbus-serialbattery with exit code 0
@marcelrv
marcelrv / kali.md
Created January 27, 2025 10:42
Raspberry PI Kali Linux

Kali Linux Raspberry Pi Image fixes

Wifi not available

wlan device is marked as unmanaged in the network

To enable this one time: sudo nmcli save dev set wlan0 managed yes

To let the fix survice reboot

@marcelrv
marcelrv / thermalCamera.md
Created November 14, 2024 16:33
Thermal imager for Android phones Opensource resources

Software

Alternatives to InfiRay P2 Pro thermal camera usiong same chipset

  • Mileseey TR256i TR160i
  • Victor 328B
  • InfiRay P2 Pro thermal camera
  • HTI HT-203U 256×192
  • Topdon TC001 Thermal Camera

Camera driver for win & linux

@marcelrv
marcelrv / fixing.md
Last active November 14, 2024 16:57
RPI Zero 2W Bluetooth and SSH

RPI Zero 2W Bluetooth and SSH issues

Fix Bluetooth not working

Add to the /boot/boot_config the following

[all]
dtoverlay=miniuart-bt
core_freq=250
@marcelrv
marcelrv / tinybee.md
Last active May 21, 2025 07:20
Setting up TMC 2209 drivers, connecting via UART toMKS tinybee
@marcelrv
marcelrv / openwrt-wireguard.md
Last active July 24, 2023 13:37
Wireguard clients config