Skip to content

Instantly share code, notes, and snippets.

View baszalmstra's full-sized avatar

Bas Zalmstra baszalmstra

  • prefix.dev GmbH
  • Utrecht, the Netherlands
  • 11:10 (UTC +02:00)
  • X @baszalmstra
View GitHub Profile
@baszalmstra
baszalmstra / switch_soloar_production_on_energy_tarrif.yaml
Last active April 25, 2026 19:15
Disable solar panels when export tariff is negative
blueprint:
name: Disable switch when export tariff is negative
description: >
Turns a switch off when the export tariff goes below 0, and back on
when the export tariff is 0 or higher.
domain: automation
input:
export_tariff_entity:
name: Export tariff entity
@baszalmstra
baszalmstra / blueprint.yaml
Created April 21, 2026 12:43
auto disable ac
blueprint:
name: AC Auto-Off When At Setpoint
description: |
Turns off an air conditioner when the measured temperature has been
close to the setpoint for a configurable duration, subject to any
additional conditions (time of day by default).
**How it works**
The automation evaluates two triggers:
This file has been truncated, but you can view the full file.
{"name":"renovate","hostname":"jr-microvm","pid":729,"level":30,"logContext":"eb16e479-13df-4497-879a-0d87748304f8","renovateVersion":"43.110.2","msg":"Renovate started","time":"2026-04-14T12:08:03.759Z","v":0}
{"name":"renovate","hostname":"jr-microvm","pid":729,"level":20,"logContext":"eb16e479-13df-4497-879a-0d87748304f8","msg":"Using RE2 regex engine","time":"2026-04-14T12:08:03.764Z","v":0}
{"name":"renovate","hostname":"jr-microvm","pid":729,"level":20,"logContext":"eb16e479-13df-4497-879a-0d87748304f8","msg":"Parsing configs","time":"2026-04-14T12:08:03.765Z","v":0}
{"name":"renovate","hostname":"jr-microvm","pid":729,"level":20,"logContext":"eb16e479-13df-4497-879a-0d87748304f8","msg":"Checking for config file in /runner/renovate/cf1/config_file.json","time":"2026-04-14T12:08:03.767Z","v":0}
{"name":"renovate","hostname":"jr-microvm","pid":729,"level":20,"logContext":"eb16e479-13df-4497-879a-0d87748304f8","msg":"No additional config file found specified - skipping","time":"2026-04-14T12:08:03.779Z","v
{
"basics": {
"name": "Bas Zalmstra",
"label": "Architect at Smart Robotics",
"image": "https://avatars.githubusercontent.com/u/4995967",
"email": "zalmstra.bas@gmail.com",
"phone": "",
"url": "",
"summary": "Specialties: Rust, C++, Technical Direction, Software Architecture, Development, and Mentoring.<br/><br/>I am looking for a position where I can make a contribution to technology that powers a product that has a meaningful impact on the lives of people. (e.g. Games, Tooling, Travel, Aerospace)\n\nWithin a company, I am a go-getter that likes to work goal-oriented by utilizing innovative technology. Within a team, I value communication, openness, and personal growth of all team members. I like to set the technical direction and take people along with the vision to make it theirs as well. I have always worked in very cohesive teams. Personally, I get stuff done in a fast and efficient manner but I am always looking further ahead to see how current

Keybase proof

I hereby claim:

  • I am baszalmstra on github.
  • I am baszalmstra (https://keybase.io/baszalmstra) on keybase.
  • I have a public key whose fingerprint is A7BD A30B EB79 F7DD 719A A306 4BA5 7D64 0076 3029

To claim this, I am signing this object:

{
"hello" : "world",
"bas" : 1337
}