Skip to content

Instantly share code, notes, and snippets.

View Hypfer's full-sized avatar
🦆

Sören Beye Hypfer

🦆
View GitHub Profile
@Hypfer
Hypfer / philips_hue_scenes.md
Last active November 22, 2023 04:55
Philips Hue Scenes

Hue Scenes

This gist contains the full list of all scenes available in the scene gallery of the official hue app at the time of writing (2023-09-28)

The contents were collected in a tedious clean-room approach, setting a group of lights to a scene and then noting the different x,y values + its name.

Thanks a lot to @coderph0x who did most of the legwork!

@Hypfer
Hypfer / hide_github_nagging_notifications.user.js
Last active December 14, 2023 19:32
This userscript hides the nagging notification boxes that remind you that you've enabled interaction limits on a repo or account
// ==UserScript==
// @name Hide Github Interaction Limits Nagging Notifications
// @namespace Violentmonkey Scripts
// @match https://github.com/**
// @grant none
// @version 1.1
// @author -
// @description 23/12/2022, 14:51:33
// ==/UserScript==
@Hypfer
Hypfer / unset_vacuum_cooldown.yaml
Created September 14, 2021 07:33
Automatic vacuum while away
alias: 'vacuum_cooldown: unset'
trigger:
- entity_id: input_boolean.vacuum_cooldown
for: 09:00:00
platform: state
to: 'on'
condition: []
action:
- data:
entity_id: input_boolean.vacuum_cooldown
@Hypfer
Hypfer / valetudo_gamepad_experiments_v1.js
Created April 1, 2021 21:06
Control your Valetudo-enabled Vacuum Robot using a gamepad
/*
* This small JS script enables you to control your Valetudo-enabled robot using a gamepad
* You will need to install node-hid as well as needle by running npm install node-hid and npm install needle
*
* Then, please edit VALETUDO_HOST so that it matches your setup.
*
* Keep in mind that there are no sanity checks and there's also no error handling.
* Your robot needs to implement the ManualControlCapability and your controller needs to be already connected
*
* Keymap:
@Hypfer
Hypfer / rx473_web_enabler.user.js
Created January 21, 2021 19:05
Userscript which enables the Webinterface of a Yamaha RX-V473 AV Receiver
// ==UserScript==
// @name RX-V473 WebControl Restore
// @match http://192.168.*.*
// @version 1
// @run-at document-start
// @grant GM_addStyle
// ==/UserScript==
(function(open) {
unsafeWindow.XMLHttpRequest.prototype.open = function(method, url, async, user, pass) {
@Hypfer
Hypfer / gist:1cd38b28d5965837c587429f6cf9df65
Created August 26, 2020 21:17
Vornado 6303 DC IR Codes for Tasmota IR Blasters
On/Off
IRSend {"Protocol":"SYMPHONY","Bits":12,"Data":"0xD81","DataLSB":"0x0","Repeat":0}
Speed Up
IRSend {"Protocol":"SYMPHONY","Bits":12,"Data":"0xD82","DataLSB":"0x0","Repeat":0}
Speed Down
IRSend {"Protocol":"SYMPHONY","Bits":12,"Data":"0xD84","DataLSB":"0x0","Repeat":0}
Timer
@Hypfer
Hypfer / ing_diba_keepalive.user.js
Last active September 14, 2019 18:05
Fixes the 5 minute PSD2 session timeout madness
// ==UserScript==
// @name ING DiBa Keepalive
// @namespace jockel
// @version 1.0
// @description Fixes the 5 minute PSD2 session timeout madness
// @match https://*.ing.de/*
// @grant GM_xmlhttpRequest
// @grant GM.xmlHttpRequest
// ==/UserScript==
@Hypfer
Hypfer / export.json
Created September 25, 2017 21:33
somewhat hackish node-red flow to set the color temperature via deconz
[
{
"id": "e74a5914.c69128",
"type": "interval",
"z": "7e4e4efe.436b7",
"name": "interval",
"interval": "5",
"onstart": true,
"msg": "{}",
"showstatus": false,
@Hypfer
Hypfer / gist:a42c27549d77f34c145b1c7dd053487f
Created April 5, 2017 09:15 — forked from solenoid/gist:1372386
javascript ObjectId generator
var mongoObjectId = function () {
var timestamp = (new Date().getTime() / 1000 | 0).toString(16);
return timestamp + 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function() {
return (Math.random() * 16 | 0).toString(16);
}).toLowerCase();
};
@Hypfer
Hypfer / vmware-autostarts
Created December 4, 2016 00:06 — forked from tommybutler/vmware-autostarts
This LSB-compliant Linux boot init script lets you auto-start VMware virtual machines on a Linux host machine running VMware Workstation. Tested successfully on Debian 7 and assumed safe for any Ubuntu or Ubuntu-based distro as well. May need some minor tweaks before you can use it on CentOS or RHEL.To use this script, follow installation instru…
#!/usr/bin/env bash
### BEGIN INIT INFO
# Provides: vmwareautostart
# Required-Start: $vmware $network $syslog
# Required-Stop: $vmware $network $syslog
# X-Start-Before:
# X-Stop-After:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6