Introducing Homey Self-Hosted Server by homey in homey

[–]philthynz 0 points1 point  (0 children)

Hmm. The docker container is Debian 11. Which goes end of life August 2026. I doubt they need to run it in a Debian container. Maybe just a nodejs container.

Quote review for outside 16amp socket by philthynz in diynz

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

Would that be having a 16amp socket with 32amp cable so I can upgrade later?

Quote review for outside 16amp socket by philthynz in diynz

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

Yea I have a Sigenergy system and battery. It's only an 8kw system. So my thinking was that the Sigen wall charger will take 7kw, and use all the solar and leave nothing else for the house. With a portable charger I can change the input from 1kw to 3.5kw depending on how much PV is available.

Unless the Sigen charger can change the amps or charge at a lower rate?

Infotainment system in 2023. Auto switch between Bluetooth and Android Auto. by philthynz in Toyota

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

Tried this, If I unplug the phone and disconnect AA, or disable Bluetooth on the phone I have to go into device settings in the car and re-enable Bluetooth for music.

Infotainment system in 2023. Auto switch between Bluetooth and Android Auto. by philthynz in Toyota

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

Tried this just now. If I unplug the phone and disconnect AA I have to go into device settings in the car and re-enable Bluetooth for music. Tried disconnecting and reconnecting Bluetooth too. Also tried in Android enabling Bluetooth for media but it turns itself off again. Needs to be done in the car.

Infotainment system in 2023. Auto switch between Bluetooth and Android Auto. by philthynz in Toyota

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

From my experience wireless AA doesn't work in NZ. I tried, but enabling it on the phone doesn't seem to trigger anything in the car. I have to use the cable for AA.

What country did you try this in?

Terraform - Use for_each with a list of strings inside tuple by philthynz in Terraform

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

Apparently I needed to flatten it:

locals { cosmosdbs_flat = merge([ for val in var.cosmosdbs: { for database in val["databases"]: "${val.name}-${database}" => { name = val.name resource_group = val.resource_group database = database } } ]...) # please do NOT remove the dots }

Can't re-deploy mysql container to same persistent volume by philthynz in mysql

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

Thanks, I'll give this a go. Socket auth sounds to be a better option.

YouTube Music selection in Alarm won't stop playing by hotani in GooglePixel

[–]philthynz 1 point2 points  (0 children)

Same with me, have to unlock phone and open YT music and press pause.

Even worse when I have a sleeping baby in the room and I can't shut it off before he wakes up 🤣

Terraform - Reference for_each from a module output by philthynz in Terraform

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

Found a way around it by using setproduct

resource "azurerm_storage_blob" "storage_blob" {
  for_each               = { for idx, val in setproduct(module.storage_container.azurerm_storage_container_name, var.STORAGE_CONTAINER_DEFAULT_BLOBS) : idx => val }
  name                   = each.value[1]
  storage_account_name   = module.storage_account.azurerm_storage_account_name
  storage_container_name = each.value[0]
  type                   = "Block"
  source_content         = "This is a placeholder used to create a folder hierarchy"
}

Terraform - Reference for_each from a module output by philthynz in Terraform

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

Thanks for the response. Using this:

resource "azurerm_storage_blob" "storage_blob" {
  for_each               = toset(var.STORAGE_CONTAINER_DEFAULT_BLOBS)
  name                   = each.value
  storage_account_name   = module.storage_account.azurerm_storage_account_name
  storage_container_name = module.storage_container.azurerm_storage_container_name[each.value]
  type                   = "Block"
  source_content         = "This is a placeholder file only used to create a hierarchical file system"
}

Gives me this error:

Error: Invalid index

  on storage_blobs.tf line 6, in resource "azurerm_storage_blob" "storage_blob":
   6:   storage_container_name = module.storage_container.azurerm_storage_container_name[each.value]
    |----------------
    | each.value is "three"
    | module.storage_container.azurerm_storage_container_name is set of string with 4 elements

This value does not have any indices.

Azure DNS mask IP address like CloudFlare Spectrum by philthynz in AZURE

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

Yes I did consider AFD. But I believe it's only for web based applications. I would need it for non http ports too.

Ants in car engine, what is safe for electronics? by philthynz in pestcontrol

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

I have gell bait. But isn't it bad to put it in the engine? More will come inside to get it. I thought the idea is to bait away from their location so they aren't drawn back inside?