jlongman

@Jlongman
8 Followers
67 Following
371 Posts

Formerly a climber; a cycling commuter (WFH now); nerding out - mostly infra and backend; relativistic view on what’s right and usually it’s not k8s; o11y and cloud economics; swinging between tech and management.

Montreal; RL snow day for some weird reason; Home Assistant, mostly Zigbee. Quad-line kites.

pronounshe/him

fun fact, I wrote/adapted a git plugin for jira in 2008 (and 2012). The original was a subversion plugin and I changed the meat to speak git.

https://github.com/jlongman/jira-git-plugin/

The license was MIT - or I released MIT, its been a while - so someone actually sold it for a while. I considered buying my own code when I had a specific issue but had to fix it myself in 2012.

The original subversion plugin was written by one of atlassian's co-founders.

#jira #git

I kind of did a Home Assistant Awtrix blueprint/automation for MLB. I poked at Junie as a matter of curiosity and mixed feelings on it.

Once I walked it through the plan I took over and fiddled with pixels partially because I wasn’t sure what I wanted it to look like.

https://github.com/jlongman/Homeassistant_blueprints/blob/main/Awtrix%20MLB%20Team%20Scoreboard/awtrix_mlb_team_scoreboard.yaml

Shown is an earlier version with runners on 1st and third, two outs, bottom of the 2nd when the Jays were at home. (The green is a debug pixel).

#awtrix #homeassistant #mlb #gojaysgo

And I just spent 40 minutes automating a click for the reminder with code to help debug it because I really do have other things to do but can’t be arsed.

It’s cool you can pass in parameters to the Shortcut so it works for morning and evening reminders without stepping on toes.

(Fixed the grammatico, locally)

#ios #shortcutsapp

For #montreal don’t put the bins out this week, tooooo much snow.

Picture of the Lachine canal (not really) showing the snowy reality.

https://mtlcityweblog.com/2025/02/17/dont-put-out-the-bins-this-week/

Don’t put out the bins this week | Montreal City Weblog

There hard coded into the automation template. Colours look a bit weird but it’s just a photo artifact and I’m not interested in fighting it.

Have the hockey intermission timer automations ready. Need to see if Blueprints can package these better.

It’s three more automations plus the timer and tracker and three automations from the previous step.

#homeassistant #awtrix

I posted my Home Assistant automations for starting an intermission timer during an NHL game using the HACS Team Tracker integration that uses the ESPN APIs.

https://gist.github.com/jlongman/fe1a276a7c087a8962abcb5334803cdb#file-tt_nhl_intermission_readme-md

It can be used to mute or switch inputs on an amp. I will eventually put the remaining time/timer value on an Awtrix LED display so I can get other things done in between periods and get back in time for the action.

#homeassistant #nhl #hnom

Team Tracker NHL Intermission Timers

Team Tracker NHL Intermission Timers. GitHub Gist: instantly share code, notes, and snippets.

Gist

Flooded yesterday, « Mauvaise » condition.

Oxford/GSP park
#montreal #rink

Montreal OpenData ice rink widgets in HomeAssistant: https://gist.github.com/jlongman/90492d3deb7cc06e4f1d3dc6ea9c1723

It ain’t exactly simple but it’s pretty cool. Open/closed, ice conditions, flooded, resurfaced, snow cleared and when the last time the city updated the status (ie visited the rink).

This repackages the XML file into different sensors in HA. Besides seeing the state you can trigger automations and view the history.

#montreal #opendata #skating #homeassistant

HomeAssistant and Montreal Rink Conditions

HomeAssistant and Montreal Rink Conditions. GitHub Gist: instantly share code, notes, and snippets.

Gist

Ok, playing with nushell for the first time and have an XML doc and the structure is brutal. I get it, XML is a complex structure but ouch.

Still looking for examples to simplify or query specific records out.

All because a new release of Home Assistant stopped parsing it where the “likely” issue is invalid XML. (It’s valid.)

(Rink conditions in Montreal to be clear: http://www2.ville.montreal.qc.ca/services_citoyens/pdf_transfert/L29_PATINOIRE.xml)

#nushell #montreal #rinks #xml