This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<profile name="Ender 3 + OctoPrint" version="2019-09-18 11:52:09" app="S3D-Software 4.1.2"> | |
<baseProfile>Creality Ender 3 (modified)</baseProfile> | |
<printMaterial>PLA</printMaterial> | |
<printQuality>Medium</printQuality> | |
<printExtruders></printExtruders> | |
<extruder name="Primary Extruder"> | |
<toolheadNumber>0</toolheadNumber> | |
<diameter>0.4</diameter> | |
<autoWidth>0</autoWidth> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"683f5521.03d7ec","type":"link in","z":"2fe9ea1c.17c506","name":"Master Bedroom Dimmer","links":["29f6fa70.0111d6","ddd0422.a7f81c","d8c78531.f3efb8"],"x":55,"y":400,"wires":[["6f9fb9d2.d630a8"]]},{"id":"98b9b53a.831548","type":"switch","z":"2fe9ea1c.17c506","name":"Philips Hue Dimmer","property":"payload.button_id","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"str"},{"t":"eq","v":"2","vt":"str"},{"t":"eq","v":"3","vt":"str"},{"t":"eq","v":"4","vt":"str"}],"checkall":"false","repair":false,"outputs":4,"x":460,"y":440,"wires":[["c4451284.bb852"],["d330587c.ec3558"],["94d7b051.17b7e"],["6e72b653.bc8898"]],"outputLabels":["On","Bright","Dim","Off"]},{"id":"c4451284.bb852","type":"switch","z":"2fe9ea1c.17c506","name":"On","property":"payload.button_action","propertyType":"msg","rules":[{"t":"eq","v":"press","vt":"str"},{"t":"eq","v":"hold","vt":"str"},{"t":"eq","v":"release_short","vt":"str"},{"t":"eq","v":"release_long","vt":"str"}],"checkall":"false","repair":false,"outputs":4,"x":710,"y":320,"wi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
## Scripts to Adjust Light Brightness | |
################################################################################ | |
################################################ | |
## Example Usage | |
################################################ | |
# - service: script.increase_brightness | |
# data: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# pylint: disable=invalid-name | |
"""Forward messages from twitch chat to discord chat or the other way around""" | |
#--------------------------------------- | |
# Libraries and references | |
#--------------------------------------- | |
import codecs | |
import json | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote_user=pi | |
remote_host=192.168.1.100 | |
remote_path=/home/pi | |
remote_port=22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################ | |
# Automations / Restart Time | |
# Publish timestamps to MQTT broker on start and shutdown. | |
################################################################ | |
- id: restart_time_start | |
alias: Publish Start Time | |
description: Publish current timestamp to MQTT broker on startup. | |
mode: single | |
trigger: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# It should be possible to add these CSS variables to your | |
# frontend theme instead of in the card configuration. | |
- type: glance | |
title: Network Devices | |
columns: 4 | |
show_icon: true | |
show_name: true | |
show_state: false | |
style: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Perform local backups of Gitter.im chat rooms. | |
GITTER_ARCHIVE_URL="https://gitter.im/%s/archives/%s" | |
usage() { | |
echo "usage: $(basename $0) -f -r <chat-room> [-o <output-dir>] [-s <YYYY/MM/DD>] [-e <YYYY/MM/DD>]" 1>&2 | |
exit 1 | |
} |