This is what I did in macOS to switch the shell shell from zsh
to bash
, restoring Homebrew paths, and enabling Colima command-line completion.
First, check your current shell:
blueprint: | |
name: Pico Fan – Simple 5-Button | |
description: > | |
Map a Lutron Fan Pico (PJ2-3BRL-GXX-F01) to one ceiling fan | |
and an optional light. | |
Single presses only – no long-press or double-click logic. | |
domain: automation | |
author: billchurch | |
source_url: https://community.home-assistant.io/t/pico-fan-simple-5-button-remote-for-lutron-caseta-haiku-or-any-fan/901507 | |
input: |
substitutions: | |
device_name: living-fan | |
device_description: Living Room Ceiling Fan | |
friendly_name: Living Room Fan | |
esphome: | |
name: ${device_name} | |
comment: ${device_description} | |
platform: ESP8266 | |
board: esp01_1m |
substitutions: | |
device_name: garage-light | |
friendly_name: Garage Light | |
default_delay: '900' # default delay of 15 minutes (900 seconds) | |
pre_off_warning: '30' # pre-off warning period in seconds | |
location: Garage | |
ha_timer_number: input_number.garage_light_timer | |
switch_name: Garage Interior Light Switch | |
motion_sensor_name: binary_sensor.motion_garage_motion_2 |
import socket | |
import requests | |
import paramiko | |
import time | |
import xml.etree.ElementTree as ET | |
def discover_sonos_devices(): | |
MCAST_GRP = '239.255.255.250' | |
MCAST_PORT = 1900 | |
msg = ( |
These are my notes setting up rtl_433 docker container on a Proxmox host inside an LXC guest...all the inceptions...
newbigip.sh | |
#!/bin/bash | |
# This script will: | |
# - Create a 2 core 4096MB BIG-IP virtual machine | |
# - Install the image specified | |
# - Customize the image by loading bootstrap files to /config and | |
# expects: | |
# startup* | |
# .startup-env |
# Carro Home Daisy Smart Fan with replaced ESP-12 wifi chip #1006938428 #318843266 | |
# Store link: https://tinyurl.com/yp44ux4w | |
# Story here: http://1projectaweek.com/blog/2022/2/8/converting-a-carro-home-dc-fan-to-esp-home | |
substitutions: | |
device_name: penfan | |
device_description: Penelope's Ceiling Fan | |
friendly_name: Penelope Fan | |
esphome: |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000