Skip to content

Instantly share code, notes, and snippets.

View johntdyer's full-sized avatar

John Dyer johntdyer

View GitHub Profile
@m33x
m33x / hass.js
Last active April 14, 2025 12:31
Simple Home Assistant (HASS) iOS Widget via Scriptable App
let widget = await createWidget();
if (!config.runsInWidget) {
await widget.presentSmall();
}
Script.setWidget(widget);
Script.complete();
async function createWidget(items) {
@sstratoti
sstratoti / actionable-notifications-subflow-for-ios.md
Last active April 15, 2024 00:49
iOS Subflow for HomeAssistant Companion notifications
@iamhowardtheduck
iamhowardtheduck / plex
Last active June 19, 2024 21:49
Plex Pipeline
PUT _ingest/pipeline/plex
{
"processors": [
{
"set": {
"field": "event.module",
"value": "plex",
"ignore_failure": true
}
},
@dvdhout
dvdhout / udm-pro-ssh-commands.md
Last active February 24, 2025 23:51
UDM/UDM-P SSH commands

Reddit source by 9Switch

Some useful UDM/UDM-P SSH commands

Most of the commands are just Linux commands. However some are unique to the UDM/UDM-P.

Cisco/EdgeOS/VyOs Command/Best description UDM/UDM-P SSH Command
show version info
show system hardware and installed software ubnt-device-info summary
@LilTrublMakr
LilTrublMakr / icons.yaml
Last active November 24, 2022 14:49
Garage Door SVG Animation (Not working)
NOTES:
The switch does not have an on/off state. The states I am mostly concerned about is "Open" and "Closed".
There are also "Opening" and "Closing" but they are unreliable. It is also listed as a 'cover': cover.garage-door
Right now, I believe that it is always displaying the else statement. When simulating the open or
closed state, the card does not display the animation. It just swapps the card colors with the
'door closed' (else) icon.
--------------------