Skip to content

Instantly share code, notes, and snippets.

View sakalauskas's full-sized avatar
🎯
Focusing

Laurynas Sakalauskas sakalauskas

🎯
Focusing
View GitHub Profile
@sakalauskas
sakalauskas / esphome_config.yaml
Last active February 16, 2024 18:51
CWT-TH03S sensor esphome configuration
uart:
# id: mod_bus
tx_pin: GPIO1
rx_pin: GPIO3
# baud_rate: 19200
baud_rate: 4800
stop_bits: 1
data_bits: 8
parity: NONE
@sakalauskas
sakalauskas / README.md
Last active October 23, 2024 23:53
HomeAssistant Excess Solar/Offpeak/Nordpool charging automation for Tesla

Hardware

  • Shelly 3em
  • Tesla Wall Connector (3gen)
  • Huawei Solar Inverter
  • Tesla Model 3

Automations

There are four charge modes based on input_select.tesla_charger_speed selection:

  1. Charge only by excess solar
@sakalauskas
sakalauskas / FontAwesome-v5.0.9-Free.json
Last active August 18, 2024 04:26
List of all Font Awesome 5 icons in JSON Cheetsheet
{
"fas fa-address-book","fas fa-address-card","fas fa-adjust","fas fa-align-center","fas fa-align-justify","fas fa-align-left","fas fa-align-right","fas fa-allergies","fas fa-ambulance","fas fa-american-sign-language-interpreting","fas fa-anchor","fas fa-angle-double-down","fas fa-angle-double-left","fas fa-angle-double-right","fas fa-angle-double-up","fas fa-angle-down","fas fa-angle-left","fas fa-angle-right","fas fa-angle-up","fas fa-archive","fas fa-arrow-alt-circle-down","fas fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-up","fas fa-arrow-circle-down","fas fa-arrow-circle-left","fas fa-arrow-circle-right","fas fa-arrow-circle-up","fas fa-arrow-down","fas fa-arrow-left","fas fa-arrow-right","fas fa-arrow-up","fas fa-arrows-alt","fas fa-arrows-alt-h","fas fa-arrows-alt-v","fas fa-assistive-listening-systems","fas fa-asterisk","fas fa-at","fas fa-audio-description","fas fa-backward","fas fa-balance-scale","fas fa-ban","fas fa-band-aid","fas fa-barcode","fas fa-bars",

Keybase proof

I hereby claim:

  • I am sakalauskas on github.
  • I am laurynas (https://keybase.io/laurynas) on keybase.
  • I have a public key whose fingerprint is BA05 5F62 4446 697B FFEA E4B4 3ED6 1403 F195 138C

To claim this, I am signing this object:

/**
* Created by cmb13162 on 20/10/14.
*/
public class ParenthesisMatcher {
protected StackADT<Character> stack;
// a constructor
public ParenthesisMatcher(StackADT<Character> stackInterface) {