Skip to content

Instantly share code, notes, and snippets.

View ankostis's full-sized avatar
🦉
On paternity leave

Kostis Anagnostopoulos ankostis

🦉
On paternity leave
View GitHub Profile
blueprint:
name: Aqara push-button-v1 toggle-dim light
description: >
Toggle & dim lights with Aqara push-buttons, tested with "v1" only (WXKG01LM)
- It dims brightness up/down by pressing continously the button.
- Every time the button is released and re-pressed, the direction (up/down)
is reversed.
- If it reaches 0% or 100%, it stops.
- Dependencies: needs a toggle helper to remember and reverse
@ankostis
ankostis / EEA.ipynb
Last active February 9, 2023 11:09
EEA-2014 data analyzed on 2016
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
TmFtZTogICAgICAgICAgICAgICAgIGF3cy1ub2RlLTJ2MmhwCk5hbWVzcGFjZTogICAgICAgICAgICBrdWJlLXN5c3RlbQpQcmlvcml0eTogICAgICAgICAgICAgMjAwMDAwMTAwMApQcmlvcml0eSBDbGFzcyBOYW1lOiAgc3lzdGVtLW5vZGUtY3JpdGljYWwKTm9kZTogICAgICAgICAgICAgICAgIGlwLTEwLTEwLTk3LTk2LnVzLXdlc3QtMi5jb21wdXRlLmludGVybmFsLzEwLjEwLjk3Ljk2ClN0YXJ0IFRpbWU6ICAgICAgICAgICBXZWQsIDE0IERlYyAyMDIyIDExOjM0OjQ2ICswMDAwCkxhYmVsczogICAgICAgICAgICAgICBjb250cm9sbGVyLXJldmlzaW9uLWhhc2g9NWRjNzhkYmM4NAogICAgICAgICAgICAgICAgICAgICAgazhzLWFwcD1hd3Mtbm9kZQogICAgICAgICAgICAgICAgICAgICAgcG9kLXRlbXBsYXRlLWdlbmVyYXRpb249MQpBbm5vdGF0aW9uczogICAgICAgICAga3ViZXJuZXRlcy5pby9wc3A6IGVrcy5wcml2aWxlZ2VkClN0YXR1czogICAgICAgICAgICAgICBSdW5uaW5nCklQOiAgICAgICAgICAgICAgICAgICAxMC4xMC45Ny45NgpJUHM6CiAgSVA6ICAgICAgICAgICAxMC4xMC45Ny45NgpDb250cm9sbGVkIEJ5OiAgRGFlbW9uU2V0L2F3cy1ub2RlCkluaXQgQ29udGFpbmVyczoKICBhd3MtdnBjLWNuaS1pbml0OgogICAgQ29udGFpbmVyIElEOiAgIGRvY2tlcjovL2Q5MWEzOTM5YWE0MzA5YWRkMDNkMDdmM2Q1YWRiZWI3YTdjOTU3Yzk5MWZkNTM0MDhkMTIwNzc4ZGI1YTQxYzEKICAgIEltYWdlOiAgICAgICAgICA2MDI0MDEx
@ankostis
ankostis / Covid19-nyrros.ipynb
Created November 17, 2020 04:06
Nyrros API error
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ankostis
ankostis / CompareNestedLoopsWithComprehension.ipynb
Last active July 30, 2020 21:05
Compare List-comprehensions with Nested-loops
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ankostis
ankostis / WLTP_rounding.ipynb
Last active July 11, 2019 09:41
Showcase ROUNDING across MSAccess, Python, Matlab & C#
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ankostis
ankostis / SRC_with_wltp-ToyotaAURIS14D.ipynb
Created December 18, 2017 16:57
SRC_with_wltp-ToyotaAURIS14D
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Keybase proof

I hereby claim:

  • I am ankostis on github.
  • I am ankostis (https://keybase.io/ankostis) on keybase.
  • I have a public key whose fingerprint is 5006 137D E2F6 FEDD C702 DBE6 9CF2 77C4 0A8A 1B08

To claim this, I am signing this object:

@ankostis
ankostis / smmap_scratch.ipynb
Created October 30, 2016 17:09
smmap_memoryview_experiments
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@ankostis
ankostis / WeibullSafetyMargin.ipynb
Last active September 21, 2016 17:13
Weibull Power Safety-Margin (WSM) for WLTP GearShifting¶
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.