Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am aceslick911 on github.
  • I am angeloperera (https://keybase.io/angeloperera) on keybase.
  • I have a public key ASCPjRIzcfCwAndSpHcjnZdUkx00qfLLk9VkL2CmsACA2wo

To claim this, I am signing this object:

Kogan Smarter Home & Homekit (via Homebridge)

KOGAN smarter home products use Tuya protocols except using a slightly different url and device domain. This means you can use the existing homebridge-tuya plugin for homebridge except using a different process to obtain the device id and keys.

Pre-requisites: First, Install the Kogan Smarter Home app on your idevice then add and configure all your kogan devices. (DO THIS FIRST!).

I am also assuming you already have homebridge setup and running. If not, I strongly reccomend you install homebridge via docker such as https://github.com/oznu/docker-homebridge (Makes it easy to get up and running)

Then:

@aceslick911
aceslick911 / JS-LINQ.js
Last active May 6, 2020 06:53 — forked from DanDiplo/JS-LINQ.js
JavaScript equivalents of some common C# LINQ methods. To help me remember!
// JS array equivalents to C# LINQ methods - by Angelo Perera
// Here's a simple array of "person" objects
var people = [
{ name: "John", age: 20 },
{ name: "Mary", age: 35 },
{ name: "Arthur", age: 78 },
{ name: "Mike", age: 27 },
{ name: "Judy", age: 42 },
{ name: "Tim", age: 8 }
@aceslick911
aceslick911 / dabblet.css
Created July 27, 2020 01:16
How to make 3-corner-rounded triangle in CSS (SO)
/**
* How to make 3-corner-rounded triangle in CSS (SO)
* http://stackoverflow.com/q/14446677/1397351
*/
.triangle {
position: relative;
background-color: white;
border-color:blue;
border:1px solid blue;
text-align: left;
@aceslick911
aceslick911 / dabblet.css
Created July 27, 2020 01:16
How to make 3-corner-rounded triangle in CSS (SO)
/**
* How to make 3-corner-rounded triangle in CSS (SO)
* http://stackoverflow.com/q/14446677/1397351
*/
.triangle {
position: relative;
background-color: white;
border-color:blue;
border:1px solid blue;
text-align: left;
@aceslick911
aceslick911 / dabblet.css
Created July 27, 2020 01:16
How to make 3-corner-rounded triangle in CSS (SO)
/**
* How to make 3-corner-rounded triangle in CSS (SO)
* http://stackoverflow.com/q/14446677/1397351
*/
.triangle {
position: relative;
background-color: white;
border-color:blue;
border:1px solid blue;
text-align: left;
@aceslick911
aceslick911 / dabblet.css
Last active July 27, 2020 01:21
How to make 3-corner-rounded triangle in CSS (SO)
/**
* How to make 3-corner-rounded triangle in CSS (SO)
* http://stackoverflow.com/q/14446677/1397351
*/
.triangle {
position: relative;
border-color:blue;
border-right:1px solid blue;
border-top:1px solid blue;
text-align: left;
@aceslick911
aceslick911 / stylebot-overrides.css
Created June 19, 2021 05:15
ilograph-overrides css darker
.client .block[status="focused"] .name {
max-width: 100%;
word-break: break-word;
overflow: hidden;
text-overflow: unset;
height: unset;
white-space: normal;
font-size:14pt;
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@aceslick911
aceslick911 / machine.js
Last active June 28, 2021 17:14
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions