I hereby claim:
- I am samwiseg00 on github.
- I am samwiseg0 (https://keybase.io/samwiseg0) on keybase.
- I have a public key whose fingerprint is 0129 AAA1 C4E2 B0CA 612E 5BB6 06B6 E924 8D4C 29E7
To claim this, I am signing this object:
# Derived from this: https://github.com/gashton/bambustudio_tools/blob/master/bambudiscovery.sh | |
# Python implementation without need for linux | |
# Send the IP address of your BambuLab printer to port 2021/udp, which BambuStudio is listens on. | |
# Ensure your PC has firewall pot 2021/udp open. This is required as the proper response would usually go to the ephemeral source port that the M-SEARCH ssdp:discover message. | |
# But we are are blindly sending a response directly to the BambuStudio listening service port (2021/udp). | |
# Temporary solution to BambuStudio not allowing you to manually specify the Printer IP. | |
# Usage: |
blueprint: | |
name: Low battery level detection & notification for all battery sensors | |
description: Regularly test all sensors with 'battery' device-class for crossing | |
a certain battery level threshold and if so execute an action. | |
domain: automation | |
input: | |
threshold: | |
name: Battery warning level threshold | |
description: Battery sensors below threshold are assumed to be low-battery (as | |
well as binary battery sensors with value 'on'). |
# -*- coding: utf-8 -*- | |
import argparse | |
import configparser | |
import json | |
import os | |
def sanitize_value(value): | |
# Remove leading and trailing whitespaces, including newline characters | |
value = value.strip() | |
# Remove any extra quotes or escape characters |
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or |
''' | |
Please use https://github.com/blacktwin/JBOPS/tree/master/killstream | |
''' |
I hereby claim:
To claim this, I am signing this object: