All codes are NEC protocol with Address 0x20.
| Function | Command (C) | Notes |
|---|---|---|
| Power Toggle | 0x02 |
Toggles ON / OFF |
| Settings | 0x09 |
Cycles modes / settings |
| Fan Speed Up | 0x1A |
Increase fan speed |
| Fan Speed Down | 0x19 |
Decrease fan speed |
| alias: Winter Wonderland Light Effect from Hue, without Hue | |
| triggers: | |
| - seconds: /10 | |
| trigger: time_pattern | |
| actions: | |
| - repeat: | |
| for_each: "{{ my_lights }}" | |
| sequence: | |
| - variables: | |
| col: "{{ colours | random }}" |
| apiVersion: extensions.kuadrant.io/v1alpha1 | |
| kind: APIProduct | |
| metadata: | |
| creationTimestamp: "2025-11-10T15:34:48Z" | |
| generation: 2 | |
| name: toystore2 | |
| namespace: toystore | |
| resourceVersion: "13596" | |
| uid: 1e5ff20a-a8cb-4550-91c0-3b3e1468af20 | |
| spec: |
| #!/bin/bash | |
| # Remember to start cloud-provider-kind first: | |
| # sudo cloud-provider-kind --enable-lb-port-mapping=true | |
| set -euo pipefail | |
| command_exists() { | |
| command -v "$1" >/dev/null 2>&1 |
| conversation: | |
| intents: {} | |
| intent_script: | |
| ShoppingListAddItem: | |
| action: | |
| action: todo.add_item | |
| target: | |
| entity_id: todo.shopping_list | |
| data: |
| input_text: | |
| gate_state: | |
| name: Gate State | |
| --- | |
| template: | |
| cover: | |
| - name: Gate | |
| friendly_name: "Gate" |
| #!/bin/bash | |
| # Ref: https://github.com/Kuadrant/kuadrant-operator/blob/main/doc/user-guides/full-walkthrough/secure-protect-connect-openshift.md | |
| export PREPEND="-jmtest1" | |
| export KUADRANT_GATEWAY_NS=api-gateway$PREPEND # Namespace for the example Gateway | |
| export KUADRANT_GATEWAY_NAME=external$PREPEND # Name for the example Gateway | |
| export KUADRANT_DEVELOPER_NS=toystore$PREPEND # Namespace for an example toystore app | |
| export KUADRANT_AWS_ACCESS_KEY_ID=$KUADRANT_AWS_ACCESS_KEY_ID # AWS Key ID with access to manage the DNS Zone ID below |
| #!/bin/bash | |
| # Markdown is hard - this finds broken URL patterns. For example: | |
| # this (doc)[https://example.com] | |
| # where you meant: [doc](https://example.com) | |
| pattern='\([^()]+\)\[[^][]+\]' | |
| find . -type f -name "*.html" | while read -r file; do | |
| perl -ne 'print "$ARGV: $_" if /\([^()]+\)\[[^][]+\]/' "$file" | grep -vE 'object\.get|decode' |
| // keep N-day worth of data | |
| var days=7; | |
| // change to false to have the script to really exclude old records | |
| // from the database. While true, no change at all will be made to the DB | |
| var dryrun=true; | |
| var now = new Date().getTime(), | |
| time_criteria = now - days * 86400 * 1000, | |
| time_criteria_in_seconds = time_criteria / 1000; |