Skip to content

Instantly share code, notes, and snippets.

@EverythingSmartHome
EverythingSmartHome / hyperhdr-install.sh
Last active July 27, 2024 20:56
Installs HyperHDR v16.0.0.1
sudo apt update && sudo apt upgrade -y
wget https://github.com/awawa-dev/HyperHDR/releases/download/v16.0.0.1/HyperHDR-16.0.0.1-Linux-`uname -m`.deb
sudo apt install ./HyperHDR-16.0.0.1-Linux-`uname -m`.deb
sudo sed -i '/^User/d' /etc/systemd/system/hyperhdr\@.service
sudo systemctl daemon-reload
sudo service hyperhdr@pi restart
sudo service hyperhdr@pi status
@EverythingSmartHome
EverythingSmartHome / Sonoff NSPanel Flashing commands.txt
Last active December 3, 2022 12:28
Sonoff NSPanel Flashing commands
Get Flash Size and info:
esptool.py flash_id
Read backup flash from esp32 with 4MB of flash size:
esptool.py read_flash 0x0 0x400000 nspanel.bin
Tasmota template for NSPanel:
{"NAME":"NSPanel","GPIO":[0,0,0,0,3872,0,0,0,0,0,32,0,0,0,0,225,0,480,224,1,0,0,0,33,0,0,0,0,0,0,0,0,0,0,4736,0],"FLAG":0,"BASE":1,"CMND":"ADCParam 2,64000,10000,3950 | Sleep 0 | BuzzerPWM 1"}
#Rhasspy home assistant script download (for home assistant OS only):
mkdir -p /share/rhasspy/profiles/en/slot_programs/hass/
cd /share/rhasspy/profiles/en/slot_programs/hass
wget https://raw.githubusercontent.com/rhasspy/rhasspy/master/examples/homeassistant/profile/slot_programs/hass/entities
chmod +x entities
ls -lah entities
@EverythingSmartHome
EverythingSmartHome / esp32-voice.yaml
Last active November 13, 2024 21:04
ESP32 & ESPHome Voice Assistant
esphome:
name: esp32-mic-speaker
friendly_name: esp32-mic-speaker
on_boot:
- priority: -100
then:
- wait_until: api.connected
- delay: 1s
- if:
condition:
@EverythingSmartHome
EverythingSmartHome / flexispot-e7pro-voice.yaml
Created November 13, 2024 18:32
flexispot-e7pro-voice-assistant
esphome:
friendly_name: flexispot-e7q
name: flexispot-e7q
platformio_options:
board_build.flash_mode: dio
on_boot:
- priority: -10
then:
- button.press: button_m
- priority: 600