Skip to content

Instantly share code, notes, and snippets.

View der-pw's full-sized avatar
🍦

Patrick Wulfert der-pw

🍦
  • Jägermeister-Town, Germany
View GitHub Profile
@der-pw
der-pw / Aqara_WDS.blockly
Created August 27, 2021 09:02
Aqara Wasserdetektoren Zigbee Adapter IOBroker/Blockly
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="7a8W2[q^VaG[UvvHsKOH">id</variable>
<variable id="rO52IFbCnvA#=1(/F[re">Sensor_HB</variable>
<variable id="$1FN`#rI#Y1pS$=;btpt">Parent</variable>
<variable id="KLPNy`gV`Ui}3E~@n$yi">Parent_Name</variable>
<variable id="XWVm9Uh^jf2VaLD70A=h">Threshold</variable>
</variables>
<block type="procedures_defcustomreturn" id="{YMU)#$}hHnV=RldXR64" x="63" y="-662">
<mutation statements="false">
@der-pw
der-pw / Prusa_Mini_JSON2Objects.js
Last active July 21, 2024 04:39
Pollt die Telemetriedaten deines Prusa Mini und stellt den Inhalt in IOBroker-Datenpunkten zur Verfügung.
// ----------------------------------------------------------------------------------------------------
//
// Prusa Mini JSON2Objects V0.2 (der-pw https://github.com/der-pw)
//
// V0.1 erste Idee
// V0.2 stoppt den loop, wenn der Mini nicht erreichbar ist (Log wird nicht zugemüllt)
//
// https://gist.github.com/der-pw/0e1475bbbbbc11da190e72b4b0fe7985
//
// Helfer-Script zum Auslesen der Telemetriedaten des Prusa Mini (http://<prusamini-ip>/api/telemetry)
@der-pw
der-pw / google-photos-material-gallery.markdown
Created June 9, 2023 17:17
Google Photos Material Gallery
@der-pw
der-pw / macro_M106.cfg
Last active February 3, 2024 08:43
extended M106 Macro
[gcode_macro M106]
description: Custom fan control feature that allows slicers like Orca or S3D to adopt bambu lab-specific auxiliary fan control to define the speed of the auxiliary cooling fan, or exhaust fan
rename_existing: M106.1
gcode:
## Original macro can be found somewhere in the Orca Discord. Thank you, dude!
## this has some changes, so the order of the parameters S and P does not matter and the fan control value is specified as float 0.0 - 1.0
## Define the device names of the controlled fans here. If you're not running a specific type of fan, remove it and the macro will have no effect
## Define the mapping between the bambu lab fans and the fan_generic fans defined
@der-pw
der-pw / grafana_timelines.json
Created April 16, 2024 15:00
Grafna Dashboard Timelines bool-values and 3-state
{
"__inputs": [
{
"name": "DS_INFLUXDB",
"label": "influxdb",
"description": "",
"type": "datasource",
"pluginId": "influxdb",
"pluginName": "InfluxDB"
}