Skip to content

Instantly share code, notes, and snippets.

View kristofer84's full-sized avatar
🙂

Kristofer Nilsson kristofer84

🙂
  • Stockholm, Sweden
View GitHub Profile
@kristofer84
kristofer84 / index.js
Created January 26, 2023 12:08 — forked from fabulator/index.js
Google export json to gpx
const fs = require('fs');
const createGpx = require('gps-to-gpx').default;
const program = require('commander');
program
.version('0.1.0')
.command('parse <inputFile>')
.option('--from <from>', 'From which date parse data YYYY-MM-DDTHH:ii.')
.option('--to <to>', 'To which date parse data YYYY-MM-DDTHH:ii.')
.option('--accuracy <accuracy>', 'Minimal accuracy.')
@kristofer84
kristofer84 / index.js
Created January 26, 2023 12:08 — forked from fabulator/index.js
Google export json to gpx
const fs = require('fs');
const createGpx = require('gps-to-gpx').default;
const program = require('commander');
program
.version('0.1.0')
.command('parse <inputFile>')
.option('--from <from>', 'From which date parse data YYYY-MM-DDTHH:ii.')
.option('--to <to>', 'To which date parse data YYYY-MM-DDTHH:ii.')
.option('--accuracy <accuracy>', 'Minimal accuracy.')
@kristofer84
kristofer84 / z2m_ikea_tradfri_5button_remote_custom.yaml
Last active March 12, 2022 10:55 — forked from niro1987/z2m_ikea_tradfri_5button_remote_custom.yaml
Home Assistant - Blueprint - Zigbee2MQTT - IKEA TRADFRI - 5 Button Remote - Custom Actions
---
# This automation simulates the use of the IKEA TRADFRI Remote control
# connected through Zigbee2MQTT.
blueprint:
source_url: https://gist.github.com/niro1987/f60ab7ec01facdc7d9cab861f4a4abe5
name: Zigbee2MQTT - IKEA TRADFRI - 5 Button Remote - Custom Actions
description: >-
blueprint:
name: ZWave-JS - Fibaro Dimmer 2 and Single/Double Switch (FGD212/FGS213/FGS223) Scenes
description: |
Create automations to react button scenes from Fibaro Dimmer 2 or Single/Double Switch.
Make sure that device Z-wave parameters 27 and 28 are set correctly.
domain: automation
input:
device: