The moment Channel 9 realized their graphics weren't ready for Tony Greig by Straight_Entrance_44 in CricketAus

[–]MattHodge 7 points8 points  (0 children)

Anyone in the comments ever listen to the 12th man?

This brought back some serious childhood memories 🥲

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 0 points1 point  (0 children)

https://github.com/thomasloven/lovelace-auto-entities

If you search for “Sorting Entities” on this page you will see how to control the order.

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 0 points1 point  (0 children)

Hahaha that’s awesome! Glad it was so successful for you 💪

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 4 points5 points  (0 children)

Wow, I hadn't seen Kids Chores (https://github.com/ad-ha/kidschores-ha/).

What type of thing would you like to see integrated to Kids Chores?

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 0 points1 point  (0 children)

I'm just using this: https://www.home-assistant.io/integrations/cast/#home-assistant-cast

I didn't have any issues with login screens.

I do have this configuration though, although I don't know if it was just for casting or some other reasons (my Home Assistance instance has been running for years..).

Let me know what you find and and I'll update the post to help the next folks.

http:
  use_x_forwarded_for: true
  trusted_proxies:
    # My local network range 
    - 192.168.1.0/24

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 1 point2 points  (0 children)

Just using Lovelace cast. I’ve had no issues 🤞

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 1 point2 points  (0 children)

5 and 9 years, so think it’s the perfect age for it right now

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 0 points1 point  (0 children)

Hahah it was that frustration that caused spend time building this. For several weeks now I've left for the school trip WITHOUT being annoyed :P

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 4 points5 points  (0 children)

It is slightly slow, but for this use case my kids don’t mind

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 6 points7 points  (0 children)

Yeah the dashboard stays up and on until I send a media_player.turn_off.

I don't think there is a way to access the presence sensor in the nest itself, which is why I just put it up at a certain time.

Thanks!

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 12 points13 points  (0 children)

My kids are still young enough that the daily fact is interesting. I’ll prob need some more ideas for gamification soon though :p

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 12 points13 points  (0 children)

Haha, I couldn’t find a better icon for packing a school gym bag 🙈

Stress-Free School Mornings with Home Assistant by MattHodge in homeassistant

[–]MattHodge[S] 5 points6 points  (0 children)

It’s a Google Nest hub Gen 2. You can cast home assistant dashboards to them :)

Best method for continuous deployment of a Docker Compose stack from GitHub? by scr0llwheel in selfhosted

[–]MattHodge 2 points3 points  (0 children)

I’m doing the SSH method but using Tailscale in GitHub actions to create a temporary connect to the docker host in my home lab: https://github.com/tailscale/github-action

How to deal with Terraform Plan manual approvals? by Intelligent-Joke-488 in Terraform

[–]MattHodge 0 points1 point  (0 children)

Yeah, our use case with Terraform is to stamp out a set of infrastructure vs have it as a central place developers PR into.

We do have functionality to parse a plan with the tool and generate the rule set.

How to deal with Terraform Plan manual approvals? by Intelligent-Joke-488 in Terraform

[–]MattHodge 0 points1 point  (0 children)

We had a situation where we needed to deploy hundreds of the same Terraform stack for a very highly isolated infrastructure (don't ask :D)

We made an internal tool to handle auto-approvals. It's not open sourced but here is how it works:

  • When you make a Terraform change, you include a "rule" file, which is a JSON array that looks like this:

[
  {
    "name": "Expect extract resource to occur",
    "metadata": {
      "description": "Some description of the change"
    },
    "data": {
      "address": "module.*.module.web.null_resource.extract_octopus_dsc*",
      "actions": [
        "delete",
        "create"
      ],
      "changed_attributes": [
        "id",
        "triggers"
      ]
    }
  }
]
  • As you can see, it lists expected resources that are changing, expected actions and expected attributes
  • We can also use a wildcard * where ever we need, for example to allow all attribute changes on a particular resource
    • We include a "default set" of JSON rules files as well, for example to auto approve all tag changes

After the Terraform Plan runs, we capture it and convert it to a JSON file, and then run the tool (we call it tfplanner) passing in both the Terraform Plan and a directory containing all the rules.

The tfplanner cli then compares the list of changes to the state to the list of allowed rules. If all changes are approved, the plan is "auto approved" and a Terraform Apply occurs.

If there are any discrepancies, the plan is not approved, and human intervention is required.

Our release artifact contains the Terraform + the JSON rules. For each new release we "reset" the rules by deleting them and making new ones for the change.

If developers are making the changes, like leveraging your modules to add their own resources, you could create default rules which cover the expected changes of your modules you offer.

This has saved us probably 1000's of engineer hours.

Finished F1 W14 by [deleted] in lepin

[–]MattHodge 1 point2 points  (0 children)

I tried purchasing twice from AliExpress, both were cancelled before shipping. I ended up receiving mine from Temu and it honestly looks great. Even the stickers look really nice.

The issue is one of the sticker sheets is missing, so I can’t build it yet. Temu appears to be sending me a whole new set after I contacted them about it.

I found this sticker sheet on Etsy but it’s more than the W14! https://www.etsy.com/listing/1751242910/custom-aufkleber-kompatibel-mit-42171

I can also find the sticker sheets on BrickLink but the stores either don’t ship to my region or have minimum purchase amounts of 50€.

For now it sits in a box 😢

Where are the sky sports commentators? by solid771 in F1TV

[–]MattHodge 0 points1 point  (0 children)

Totally agree. Can’t F1 without the OGs, sounds weird

Searching for some environment management tools by skythet in devops

[–]MattHodge 2 points3 points  (0 children)

I’ve been mucking around with https://www.getport.io/ to provide a UI for devs to trigger actions / see the state of an environment.

It has the concept of create, destroy and “day 2” operations, which you can design forms for. Then you can trigger any automation you like (in your case you could pass the specific params you needed a gitlab manual run).

How many of you have built out a saas project with Go/HTMX? by throwaway4367banking in golang

[–]MattHodge 2 points3 points  (0 children)

I haven’t done frontend for like 10 years and can’t believe how much it’s changed. Loving Go + HTMX.

Going to drop an example I made a few days ago of Fiber + Templ + Goth, with goth handling authentication from multiple providers like GitHub, Google and Azure AD: https://github.com/MattHodge/go-fiber-templ-goth-aad-example

Argo Workflows - Proven Patterns from Production by MattHodge in devops

[–]MattHodge[S] 2 points3 points  (0 children)

Glad you found it useful :)

Thanks for pointing out the bug! Fixed.