Skip to content

Instantly share code, notes, and snippets.

View gieljnssns's full-sized avatar

Giel Janssens gieljnssns

View GitHub Profile
@gieljnssns
gieljnssns / brewpi.json
Created January 3, 2021 10:54
Fermentrack -> Node-Red -> Home-Assistant
[
{
"id": "ebe92c67.447448",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "10e15f88.0c7d5",
@gieljnssns
gieljnssns / .zshrc
Created May 6, 2020 16:50 — forked from frenck/.zshrc
My ZSH config
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$(brew --prefix coreutils)/libexec/gnubin:$PATH
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
# Path to your oh-my-zsh installation.
export ZSH="/Users/frenck/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
@gieljnssns
gieljnssns / iterm2-solarized.md
Last active May 3, 2020 12:03 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)
@gieljnssns
gieljnssns / sensor.py
Last active March 30, 2020 09:54
test for Kostal sensor
"""
Support for Kostal Piko inverters.
For more details about this component, please refer to the documentation at
https://github.com/gieljnssns/kostalpiko-sensor-homeassistant
"""
from datetime import timedelta
import logging
from kostalpyko.kostalpyko import Piko
@gieljnssns
gieljnssns / __init__.py
Created April 13, 2019 13:03
rainbird2
"""Support for Rain Bird Irrigation system LNK WiFi Module."""
import logging
import voluptuous as vol
import homeassistant.helpers.config_validation as cv
from homeassistant.const import (CONF_HOST, CONF_PASSWORD)
_LOGGER = logging.getLogger(__name__)
(from : https://simplifiedthinking.co.uk/2015/10/03/install-mqtt-server/ )
Installing Brew
The Mosquitto MQTT Server can be easily installed using Homebrew. If it’s not installed on your system already, then a quick visit to the homepage will give you all you need to get going. Homebrew is an OS X Package Manager for installing and updating non-Mac OS X utilities that are more commonly found in other variants of Linux. To install the basic package manager run the following command.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Installing Mosquitto MQTT
@gieljnssns
gieljnssns / netatmo2.py
Last active June 28, 2018 08:58
Custom component for testing new Netatmo Energy API on HA +0.72
"""
Support for the Netatmo devices.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/netatmo/
"""
import logging
from datetime import timedelta
from urllib.error import HTTPError
import voluptuous as vol
@gieljnssns
gieljnssns / netatmo2.py
Last active December 14, 2018 23:03
Custom climate component for testing new Netatmo Energy API on HA +0.72
"""
Support for Netatmo Smart Thermostat.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/climate.netatmo/
"""
import logging
from datetime import timedelta
import voluptuous as vol
from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE
@gieljnssns
gieljnssns / netatmo.py
Last active August 9, 2018 14:39
Custom Netatmo component (for Home-Assistant)
"""
Support for the Netatmo devices.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/netatmo/
"""
import logging
from datetime import timedelta
from urllib.error import HTTPError
import voluptuous as vol