Skip to content

Instantly share code, notes, and snippets.

View codingric's full-sized avatar

Ricardo Salinas codingric

  • Melbourne, Australia
View GitHub Profile
@codingric
codingric / Nozzle_wipe_macro.txt
Last active May 2, 2025 12:55
Nozzle wipe klipper macro
```
[gcode_macro NOZZLE_WIPE]
gcode:
G1 X235 F3000
G1 X250 F6000
G1 X235 F6000
G1 X250 F6000
G1 X235 F6000
G1 X250 F6000
import logging
import voluptuous as vol
from homeassistant.components.binary_sensor import BinarySensorEntity
from homeassistant.components.camera import async_get_image
from homeassistant.const import CONF_NAME, CONF_ENTITY_ID, CONF_DEVICE_CLASS
import homeassistant.helpers.config_validation as cv
from PIL import Image
import io
_LOGGER = logging.getLogger(__name__)
#!/bin/bash
cd /home/guest
echo Configuring keys
mkdir .ssh
chown 1000:1000 .ssh
chmod 700 .ssh
cp /mnt/siab/id_* .ssh/
echo Installing fzf
curl -sflL https://github.com/junegunn/fzf/releases/download/v0.60.3/fzf-0.60.3-linux_arm64.tar.gz | tar -zxf - -C /bin/

Captured LG Codes for ERF2R36H-0011 (Australian Version)

This was the remote supplied with my Hisense 58A6HAU.

Note: This remote only sends IR if the bluetooth not paired, once paired only send BT

image

binary_sensor: