home.social

#h-a — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #h-a, aggregated by home.social.

fetched live
  1. Catching up with a colleague after some time, they ask "How has your homelab been ? Any update ?", and well, yeah some updates and overall stable

    Then I go on to expanding a bit on the latest endeavours, and I realise, there was actually a fair amount of issues over the last while, including a full regional outage (UPS installation), intermittent ingress failure, machines outages and so on

    So I double check with my status page and everything is green... Does that mean it actually works ? Like, learning Kubernetes and HA finally paying off from a homelab perspective ?

    And so, this asks the question, does that mean I should get ready to go even further ? 🤔

    #homelab #selfhost #selfhosted #selfhosting #kubernetes #k3s #longhorn #opensource #server #highavailability #ha

  2. Catching up with a colleague after some time, they ask "How has your homelab been ? Any update ?", and well, yeah some updates and overall stable

    Then I go on to expanding a bit on the latest endeavours, and I realise, there was actually a fair amount of issues over the last while, including a full regional outage (UPS installation), intermittent ingress failure, machines outages and so on

    So I double check with my status page and everything is green... Does that mean it actually works ? Like, learning Kubernetes and HA finally paying off from a homelab perspective ?

    And so, this asks the question, does that mean I should get ready to go even further ? 🤔

    #homelab #selfhost #selfhosted #selfhosting #kubernetes #k3s #longhorn #opensource #server #highavailability #ha

  3. Catching up with a colleague after some time, they ask "How has your homelab been ? Any update ?", and well, yeah some updates and overall stable

    Then I go on to expanding a bit on the latest endeavours, and I realise, there was actually a fair amount of issues over the last while, including a full regional outage (UPS installation), intermittent ingress failure, machines outages and so on

    So I double check with my status page and everything is green... Does that mean it actually works ? Like, learning Kubernetes and HA finally paying off from a homelab perspective ?

    And so, this asks the question, does that mean I should get ready to go even further ? 🤔

    #homelab #selfhost #selfhosted #selfhosting #kubernetes #k3s #longhorn #opensource #server #highavailability #ha

  4. Catching up with a colleague after some time, they ask "How has your homelab been ? Any update ?", and well, yeah some updates and overall stable

    Then I go on to expanding a bit on the latest endeavours, and I realise, there was actually a fair amount of issues over the last while, including a full regional outage (UPS installation), intermittent ingress failure, machines outages and so on

    So I double check with my status page and everything is green... Does that mean it actually works ? Like, learning Kubernetes and HA finally paying off from a homelab perspective ?

    And so, this asks the question, does that mean I should get ready to go even further ? 🤔

    #homelab #selfhost #selfhosted #selfhosting #kubernetes #k3s #longhorn #opensource #server #highavailability #ha

  5. Catching up with a colleague after some time, they ask "How has your homelab been ? Any update ?", and well, yeah some updates and overall stable

    Then I go on to expanding a bit on the latest endeavours, and I realise, there was actually a fair amount of issues over the last while, including a full regional outage (UPS installation), intermittent ingress failure, machines outages and so on

    So I double check with my status page and everything is green... Does that mean it actually works ? Like, learning Kubernetes and HA finally paying off from a homelab perspective ?

    And so, this asks the question, does that mean I should get ready to go even further ? 🤔

    #homelab #selfhost #selfhosted #selfhosting #kubernetes #k3s #longhorn #opensource #server #highavailability #ha

  6. TWITTER QUESTION OF THE DAY:  who’s your favorite Kim??   #Ha-Seong @chrisdimino @[email protected] @[email protected] @[email protected] DOWNLOAD @680TheFan APP AND HEAR @Braves !!!

    #ha
  7. TWITTER QUESTION OF THE DAY:  who’s your favorite Kim??   #Ha-Seong @chrisdimino @[email protected] @[email protected] @[email protected] DOWNLOAD @680TheFan APP AND HEAR @Braves !!!

    #ha
  8. Today I had to root a spare Android phone to get hold of my own data.

    The Victron connect app has a "instant readout" feature that allows you to get the solar/battery from nearby devices if you know the encryption key to this data (it's broadcasted with Bluetooth).

    The Home Assistant Victron integration uses this to get the data but you have to give the encryption key.

    Problem: 1. the Victron connect app doesn't allow you to see the key if you're not connected directly to the device. 2. I'm 2 hours away from the Victron devices 🙃 (HA has 5G and Tailscale configured for remote access).

    So get the keys from Android storage and go !? Nope.

    I know the keys are in my phone because when I'm in range, the data shows up in the app immediately, without the need to connect the the (many) devices or unlock secure storage. But without being there the app shows me nothing.

    Let's put the phone in developer mode, plug a cable and execute adb shell bu backup -noapk com.victronenergy.victronconnect -f victron.ab. Terminal says success ! File is 57 bytes long. 🤔
    Yeah, that's an empty tarball...
    I try different options, encryption, compression, nothing. Empty.

    I check the app manifest: allowBackup is not present, but the default value is true, should be good.

    I find out that the Android backup utility has been completely neutered by Google from update to update. You cannot retrieve your data directly from the phone, from ADB, or even from cloud backup. You have to restore a cloud backup to another phone to get your data back. But still, it will be hidden from your view, only accessible to the original app.

    So that's what I did, I restored to another Pixel phone that I had laying around after having repaired its screen. I did not restored from the cloud, but directly from my main phone using a cable, as Google still offers this solution.
    Except I rooted the old Pixel before, making sure to enable the options to hide to root to some Google Apps with the denyList options from Magisk.

    And there it was : /data/data/com.victronenergy.victronconnect/files/[longhex string].sqlite. Copy, pull, read. There were the 4 encryption keys I needed to input in my home assistant.

    Took me the day :) (I spare you dead ends, trying to downgrade the app, or try to setup a rooted emulator...)

    #solarPunk #homeAssistant #android #ha #victron

  9. Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto?

    Las hermanas Hanna y Ashley, integrantes de la reconocida agrupación mexicana Ha*Ash, regresarán a Costa Rica con su nueva gira, “No me hablen de amor”. A través de sus redes sociales, la agrupación anunció que visitará Costa Rica el 6 de febrero de 2027 para ofrecer un concierto en el Parque Viva. La gira también […]
    The post Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto? appeared first on CR Hoy.

    #ConciertoEnCostaRica #Entretenimiento #Ha*Ash

    crhoy.com/haash-volvera-a-cost

  10. Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto?

    Las hermanas Hanna y Ashley, integrantes de la reconocida agrupación mexicana Ha*Ash, regresarán a Costa Rica con su nueva gira, “No me hablen de amor”. A través de sus redes sociales, la agrupación anunció que visitará Costa Rica el 6 de febrero de 2027 para ofrecer un concierto en el Parque Viva. La gira también […]
    The post Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto? appeared first on CR Hoy.

    #ConciertoEnCostaRica #Entretenimiento #Ha*Ash

    crhoy.com/haash-volvera-a-cost

  11. Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto?

    Las hermanas Hanna y Ashley, integrantes de la reconocida agrupación mexicana Ha*Ash, regresarán a Costa Rica con su nueva gira, “No me hablen de amor”. A través de sus redes sociales, la agrupación anunció que visitará Costa Rica el 6 de febrero de 2027 para ofrecer un concierto en el Parque Viva. La gira también […]
    The post Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto? appeared first on CR Hoy.

    #ConciertoEnCostaRica #Entretenimiento #Ha*Ash

    crhoy.com/haash-volvera-a-cost

  12. Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto?

    Las hermanas Hanna y Ashley, integrantes de la reconocida agrupación mexicana Ha*Ash, regresarán a Costa Rica con su nueva gira, “No me hablen de amor”. A través de sus redes sociales, la agrupación anunció que visitará Costa Rica el 6 de febrero de 2027 para ofrecer un concierto en el Parque Viva. La gira también […]
    The post Ha*Ash volverá a Costa Rica con su nueva gira: ¿cuándo y dónde será el concierto? appeared first on CR Hoy.

    #ConciertoEnCostaRica #Entretenimiento #Ha*Ash

    crhoy.com/haash-volvera-a-cost

  13. Interesting that I get the same blip to higher temperatures around 4pm every day. I need to go out and look at what happens around that time as it looks like I get an over-read at the same time each day. I thought the temperature monitor was in a spot where it was shaded all day, but clearly something is happening to change local conditions at the probe in the afternoon around that time. #HA #data

  14. Interesting that I get the same blip to higher temperatures around 4pm every day. I need to go out and look at what happens around that time as it looks like I get an over-read at the same time each day. I thought the temperature monitor was in a spot where it was shaded all day, but clearly something is happening to change local conditions at the probe in the afternoon around that time.

  15. Interesting that I get the same blip to higher temperatures around 4pm every day. I need to go out and look at what happens around that time as it looks like I get an over-read at the same time each day. I thought the temperature monitor was in a spot where it was shaded all day, but clearly something is happening to change local conditions at the probe in the afternoon around that time. #HA #data

  16. Interesting that I get the same blip to higher temperatures around 4pm every day. I need to go out and look at what happens around that time as it looks like I get an over-read at the same time each day. I thought the temperature monitor was in a spot where it was shaded all day, but clearly something is happening to change local conditions at the probe in the afternoon around that time. #HA #data

  17. Interesting that I get the same blip to higher temperatures around 4pm every day. I need to go out and look at what happens around that time as it looks like I get an over-read at the same time each day. I thought the temperature monitor was in a spot where it was shaded all day, but clearly something is happening to change local conditions at the probe in the afternoon around that time. #HA #data

  18. New 𝗖𝘂𝘀𝘁𝗼𝗺 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗨𝗖𝗔𝗥𝗣 𝗦𝗲𝘁𝘂𝗽 [Custom FreeBSD UCARP Setup] article on vermaden.wordpress.com blog.

    vermaden.wordpress.com/2026/08

    #freebsd #ha #cluster #carp #ucarp #service #node

  19. New 𝗖𝘂𝘀𝘁𝗼𝗺 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗨𝗖𝗔𝗥𝗣 𝗦𝗲𝘁𝘂𝗽 [Custom FreeBSD UCARP Setup] article on vermaden.wordpress.com blog.

    vermaden.wordpress.com/2026/08

    #freebsd #ha #cluster #carp #ucarp #service #node

  20. New 𝗖𝘂𝘀𝘁𝗼𝗺 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗨𝗖𝗔𝗥𝗣 𝗦𝗲𝘁𝘂𝗽 [Custom FreeBSD UCARP Setup] article on vermaden.wordpress.com blog.

    vermaden.wordpress.com/2026/08

    #freebsd #ha #cluster #carp #ucarp #service #node

  21. New 𝗖𝘂𝘀𝘁𝗼𝗺 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗨𝗖𝗔𝗥𝗣 𝗦𝗲𝘁𝘂𝗽 [Custom FreeBSD UCARP Setup] article on vermaden.wordpress.com blog.

    vermaden.wordpress.com/2026/08

    #freebsd #ha #cluster #carp #ucarp #service #node

  22. New 𝗖𝘂𝘀𝘁𝗼𝗺 𝗙𝗿𝗲𝗲𝗕𝗦𝗗 𝗨𝗖𝗔𝗥𝗣 𝗦𝗲𝘁𝘂𝗽 [Custom FreeBSD UCARP Setup] article on vermaden.wordpress.com blog.

    vermaden.wordpress.com/2026/08

    #freebsd #ha #cluster #carp #ucarp #service #node

  23. Hot does not cover it today.

    #ha
  24. europesays.com/es/708665/ El rincón de Teruel donde ha dormido Brian May, el guitarrista de Queen, tras el eclipse solar en Javalambre: «Un hotel encantador» #Celebrities #donde #dormido #Entertainment #Entretenimiento #ES #España #Famosos #ha #rincon #Spain #Teruel

  25. Help us, free world! We have been subjected to a war unlike any other in history. My wife is seven months pregnant and cooks over a fire every day using plastic and garbage. She is at risk of suffocation and burns at times. We have no gas or money. Please help us by donating or sharing.😢 🙏
    chuffed.org/project/179480-hel
    #gaza #palestine #painting #paris #usA #HEalth #HAmburg #HA #TRUmp #TRavel #france #ESPeranto #canada #lebanon #freepalestine #donate @messaroundmarx
    @eldadoinquieto

  26. Help us, free world! We have been subjected to a war unlike any other in history. My wife is seven months pregnant and cooks over a fire every day using plastic and garbage. She is at risk of suffocation and burns at times. We have no gas or money. Please help us by donating or sharing.😢 🙏
    chuffed.org/project/179480-hel
    #gaza #palestine #painting #paris #usA #HEalth #HAmburg #HA #TRUmp #TRavel #france #ESPeranto #canada #lebanon #freepalestine #donate @messaroundmarx
    @eldadoinquieto

  27. Help us, free world! We have been subjected to a war unlike any other in history. My wife is seven months pregnant and cooks over a fire every day using plastic and garbage. She is at risk of suffocation and burns at times. We have no gas or money. Please help us by donating or sharing.😢 🙏
    chuffed.org/project/179480-hel
    #gaza #palestine #painting #paris #usA #HEalth #HAmburg #HA #TRUmp #TRavel #france #ESPeranto #canada #lebanon #freepalestine #donate @messaroundmarx
    @eldadoinquieto

  28. Just back from 2 weeks holiday, and very pleased to find the Home Assistant powered auto-watering system I built and finished the night before we left has performed excellently. #HA #gardening

  29. Just back from 2 weeks holiday, and very pleased to find the Home Assistant powered auto-watering system I built and finished the night before we left has performed excellently.

  30. Just back from 2 weeks holiday, and very pleased to find the Home Assistant powered auto-watering system I built and finished the night before we left has performed excellently. #HA #gardening

  31. Just back from 2 weeks holiday, and very pleased to find the Home Assistant powered auto-watering system I built and finished the night before we left has performed excellently. #HA #gardening

  32. Just back from 2 weeks holiday, and very pleased to find the Home Assistant powered auto-watering system I built and finished the night before we left has performed excellently. #HA #gardening

  33. Ich habe bei #Homeasistant schon seit langem den unschönen Effekt, dass bei Neuladen der Konfiguration, z.B. nach Änderungen an der configuration.yaml, #Ausreißer entstehen. Dies betrifft ausschließlich #Entitäten, die ich in der configuration.yaml angelegt habe, immer die Gleichen, aber bei Weitem nicht alle.

    Leider ergibt sich da immer ein Rattenschwanz, da ich
    #HA sehr stark für das Erfassen von Werten und Statistiken nutze (deshalb auch aus meiner Calc-Tabelle für die Hausverbäuche etc. historische Daten von der Zeit vor HA importiert habe) und diverse Berechnungen aus anderen Entitäten machen lasse. Wenn eine daran beteiligte Entität einen Ausreißer produziert, haben logischerweise alle daraus berechneten Entitäten ebenfalls Ausreißer. Da das bis vor 2 Versionen von HA wie gesagt immer nur beim Neuladen der Config auftrat, konnte ich gut damit leben.
    Seit vorletzer Version von HA produziert es diese Ausweißer aber regelmäßig und nachvollziehbar immer zu denselben Zeitzpunkten: 0 Uhr, 6 Uhr, 12 Uhr, 18 Uhr
    🤷‍♂️

    Sieht für mich irgendwie nach Bug aus, da ich keine neuen oder geänderten Entitäten angelegt habe
    🤔

    Ein Beispiel für eine immer betroffene (mein Verdacht, eine der auslösenden) Entität:

    - sensor:
          - name: Gesamtertrag PV alt (mit Langzeitkorrektur)
            unique_id: gesamtertrag_pv_alt
            device_class: Energy
            state_class: total_increasing
            unit_of_measurement: "kWh"
            state: "{{ states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) }}"

    Ich habe dann versucht, die Ausreißer abzufangen, indem ich das State Argument so verändert habe:
    state: >
      {% set new_value = states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) %}
      {% set old_value = states('sensor.gesamtertrag_pv_alt') | float(2) %}
      {# Neuer Wert wird ignoriert, wenn die Werte gleich sind oder weil er nicht kleiner sein kann als alter Wert #}
      {% if new_value <= old_value %}
        {{ old_value }}
      {# Wenn mehr als 0,5 kWh hinzugekommen -> wird als Ausreißer betrachtet und alter Wert genommen #}
      {% elif new_value - old_value > 0.5 %}
        {{ old_value }}
      {# Normale Werte #}
      {% else %}
        {{ new_value }}
      {% endif %}
    Im ersten Moment schien das zu funktionieren, aber dann hat's den Gesamtertrag, also den Zählerstand genullt, obwohl die Zahlen das nicht hergaben.

    sensor.bitshake_smartmeterreader_ertrag_pv_alt hatte 6827,28, macht mit der Addiion von den historischen 56120,32 62947,6 für new_value .
    Der Zählerstand vor der Nullung, also
    old_value, war ebenfalls 62947,6.

    Also hätte imho doch
    {% if new_value <= old_value %}{{ old_value }} greifen müssen, und das wäre eben weiterhin 62947,6 gewesen 🤷‍♂️

    Warum funktioniert das nicht? Warum nullt es mir den Zählerstand?
    🤷‍♂️

    #Hausautomation #Homeserver

  34. Ich habe bei #Homeasistant schon seit langem den unschönen Effekt, dass bei Neuladen der Konfiguration, z.B. nach Änderungen an der configuration.yaml, #Ausreißer entstehen. Dies betrifft ausschließlich #Entitäten, die ich in der configuration.yaml angelegt habe, immer die Gleichen, aber bei Weitem nicht alle.

    Leider ergibt sich da immer ein Rattenschwanz, da ich
    #HA sehr stark für das Erfassen von Werten und Statistiken nutze (deshalb auch aus meiner Calc-Tabelle für die Hausverbäuche etc. historische Daten von der Zeit vor HA importiert habe) und diverse Berechnungen aus anderen Entitäten machen lasse. Wenn eine daran beteiligte Entität einen Ausreißer produziert, haben logischerweise alle daraus berechneten Entitäten ebenfalls Ausreißer. Da das bis vor 2 Versionen von HA wie gesagt immer nur beim Neuladen der Config auftrat, konnte ich gut damit leben.
    Seit vorletzer Version von HA produziert es diese Ausweißer aber regelmäßig und nachvollziehbar immer zu denselben Zeitzpunkten: 0 Uhr, 6 Uhr, 12 Uhr, 18 Uhr
    🤷‍♂️

    Sieht für mich irgendwie nach Bug aus, da ich keine neuen oder geänderten Entitäten angelegt habe
    🤔

    Ein Beispiel für eine immer betroffene (mein Verdacht, eine der auslösenden) Entität:

    - sensor:
          - name: Gesamtertrag PV alt (mit Langzeitkorrektur)
            unique_id: gesamtertrag_pv_alt
            device_class: Energy
            state_class: total_increasing
            unit_of_measurement: "kWh"
            state: "{{ states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) }}"

    Ich habe dann versucht, die Ausreißer abzufangen, indem ich das State Argument so verändert habe:
    state: >
      {% set new_value = states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) %}
      {% set old_value = states('sensor.gesamtertrag_pv_alt') | float(2) %}
      {# Neuer Wert wird ignoriert, wenn die Werte gleich sind oder weil er nicht kleiner sein kann als alter Wert #}
      {% if new_value <= old_value %}
        {{ old_value }}
      {# Wenn mehr als 0,5 kWh hinzugekommen -> wird als Ausreißer betrachtet und alter Wert genommen #}
      {% elif new_value - old_value > 0.5 %}
        {{ old_value }}
      {# Normale Werte #}
      {% else %}
        {{ new_value }}
      {% endif %}
    Im ersten Moment schien das zu funktionieren, aber dann hat's den Gesamtertrag, also den Zählerstand genullt, obwohl die Zahlen das nicht hergaben.

    sensor.bitshake_smartmeterreader_ertrag_pv_alt hatte 6827,28, macht mit der Addiion von den historischen 56120,32 62947,6 für new_value .
    Der Zählerstand vor der Nullung, also
    old_value, war ebenfalls 62947,6.

    Also hätte imho doch
    {% if new_value <= old_value %}{{ old_value }} greifen müssen, und das wäre eben weiterhin 62947,6 gewesen 🤷‍♂️

    Warum funktioniert das nicht? Warum nullt es mir den Zählerstand?
    🤷‍♂️

    #Hausautomation #Homeserver

  35. Ich habe bei #Homeasistant schon seit langem den unschönen Effekt, dass bei Neuladen der Konfiguration, z.B. nach Änderungen an der configuration.yaml, #Ausreißer entstehen. Dies betrifft ausschließlich #Entitäten, die ich in der configuration.yaml angelegt habe, immer die Gleichen, aber bei Weitem nicht alle.

    Leider ergibt sich da immer ein Rattenschwanz, da ich
    #HA sehr stark für das Erfassen von Werten und Statistiken nutze (deshalb auch aus meiner Calc-Tabelle für die Hausverbäuche etc. historische Daten von der Zeit vor HA importiert habe) und diverse Berechnungen aus anderen Entitäten machen lasse. Wenn eine daran beteiligte Entität einen Ausreißer produziert, haben logischerweise alle daraus berechneten Entitäten ebenfalls Ausreißer. Da das bis vor 2 Versionen von HA wie gesagt immer nur beim Neuladen der Config auftrat, konnte ich gut damit leben.
    Seit vorletzer Version von HA produziert es diese Ausweißer aber regelmäßig und nachvollziehbar immer zu denselben Zeitzpunkten: 0 Uhr, 6 Uhr, 12 Uhr, 18 Uhr
    🤷‍♂️

    Sieht für mich irgendwie nach Bug aus, da ich keine neuen oder geänderten Entitäten angelegt habe
    🤔

    Ein Beispiel für eine immer betroffene (mein Verdacht, eine der auslösenden) Entität:

    - sensor:
          - name: Gesamtertrag PV alt (mit Langzeitkorrektur)
            unique_id: gesamtertrag_pv_alt
            device_class: Energy
            state_class: total_increasing
            unit_of_measurement: "kWh"
            state: "{{ states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) }}"

    Ich habe dann versucht, die Ausreißer abzufangen, indem ich das State Argument so verändert habe:
    state: >
      {% set new_value = states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) %}
      {% set old_value = states('sensor.gesamtertrag_pv_alt') | float(2) %}
      {# Neuer Wert wird ignoriert, wenn die Werte gleich sind oder weil er nicht kleiner sein kann als alter Wert #}
      {% if new_value <= old_value %}
        {{ old_value }}
      {# Wenn mehr als 0,5 kWh hinzugekommen -> wird als Ausreißer betrachtet und alter Wert genommen #}
      {% elif new_value - old_value > 0.5 %}
        {{ old_value }}
      {# Normale Werte #}
      {% else %}
        {{ new_value }}
      {% endif %}
    Im ersten Moment schien das zu funktionieren, aber dann hat's den Gesamtertrag, also den Zählerstand genullt, obwohl die Zahlen das nicht hergaben.

    sensor.bitshake_smartmeterreader_ertrag_pv_alt hatte 6827,28, macht mit der Addiion von den historischen 56120,32 62947,6 für new_value .
    Der Zählerstand vor der Nullung, also
    old_value, war ebenfalls 62947,6.

    Also hätte imho doch
    {% if new_value <= old_value %}{{ old_value }} greifen müssen, und das wäre eben weiterhin 62947,6 gewesen 🤷‍♂️

    Warum funktioniert das nicht? Warum nullt es mir den Zählerstand?
    🤷‍♂️

    #Hausautomation #Homeserver

  36. Ich habe bei #Homeasistant schon seit langem den unschönen Effekt, dass bei Neuladen der Konfiguration, z.B. nach Änderungen an der configuration.yaml, #Ausreißer entstehen. Dies betrifft ausschließlich #Entitäten, die ich in der configuration.yaml angelegt habe, immer die Gleichen, aber bei Weitem nicht alle.

    Leider ergibt sich da immer ein Rattenschwanz, da ich
    #HA sehr stark für das Erfassen von Werten und Statistiken nutze (deshalb auch aus meiner Calc-Tabelle für die Hausverbäuche etc. historische Daten von der Zeit vor HA importiert habe) und diverse Berechnungen aus anderen Entitäten machen lasse. Wenn eine daran beteiligte Entität einen Ausreißer produziert, haben logischerweise alle daraus berechneten Entitäten ebenfalls Ausreißer. Da das bis vor 2 Versionen von HA wie gesagt immer nur beim Neuladen der Config auftrat, konnte ich gut damit leben.
    Seit vorletzer Version von HA produziert es diese Ausweißer aber regelmäßig und nachvollziehbar immer zu denselben Zeitzpunkten: 0 Uhr, 6 Uhr, 12 Uhr, 18 Uhr
    🤷‍♂️

    Sieht für mich irgendwie nach Bug aus, da ich keine neuen oder geänderten Entitäten angelegt habe
    🤔

    Ein Beispiel für eine immer betroffene (mein Verdacht, eine der auslösenden) Entität:

    - sensor:
          - name: Gesamtertrag PV alt (mit Langzeitkorrektur)
            unique_id: gesamtertrag_pv_alt
            device_class: Energy
            state_class: total_increasing
            unit_of_measurement: "kWh"
            state: "{{ states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) }}"

    Ich habe dann versucht, die Ausreißer abzufangen, indem ich das State Argument so verändert habe:
    state: >
      {% set new_value = states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) %}
      {% set old_value = states('sensor.gesamtertrag_pv_alt') | float(2) %}
      {# Neuer Wert wird ignoriert, wenn die Werte gleich sind oder weil er nicht kleiner sein kann als alter Wert #}
      {% if new_value <= old_value %}
        {{ old_value }}
      {# Wenn mehr als 0,5 kWh hinzugekommen -> wird als Ausreißer betrachtet und alter Wert genommen #}
      {% elif new_value - old_value > 0.5 %}
        {{ old_value }}
      {# Normale Werte #}
      {% else %}
        {{ new_value }}
      {% endif %}
    Im ersten Moment schien das zu funktionieren, aber dann hat's den Gesamtertrag, also den Zählerstand genullt, obwohl die Zahlen das nicht hergaben.

    sensor.bitshake_smartmeterreader_ertrag_pv_alt hatte 6827,28, macht mit der Addiion von den historischen 56120,32 62947,6 für new_value .
    Der Zählerstand vor der Nullung, also
    old_value, war ebenfalls 62947,6.

    Also hätte imho doch
    {% if new_value <= old_value %}{{ old_value }} greifen müssen, und das wäre eben weiterhin 62947,6 gewesen 🤷‍♂️

    Warum funktioniert das nicht? Warum nullt es mir den Zählerstand?
    🤷‍♂️

    #Hausautomation #Homeserver

  37. Ich habe bei #Homeasistant schon seit langem den unschönen Effekt, dass bei Neuladen der Konfiguration, z.B. nach Änderungen an der configuration.yaml, #Ausreißer entstehen. Dies betrifft ausschließlich #Entitäten, die ich in der configuration.yaml angelegt habe, immer die Gleichen, aber bei Weitem nicht alle.

    Leider ergibt sich da immer ein Rattenschwanz, da ich
    #HA sehr stark für das Erfassen von Werten und Statistiken nutze (deshalb auch aus meiner Calc-Tabelle für die Hausverbäuche etc. historische Daten von der Zeit vor HA importiert habe) und diverse Berechnungen aus anderen Entitäten machen lasse. Wenn eine daran beteiligte Entität einen Ausreißer produziert, haben logischerweise alle daraus berechneten Entitäten ebenfalls Ausreißer. Da das bis vor 2 Versionen von HA wie gesagt immer nur beim Neuladen der Config auftrat, konnte ich gut damit leben.
    Seit vorletzer Version von HA produziert es diese Ausweißer aber regelmäßig und nachvollziehbar immer zu denselben Zeitzpunkten: 0 Uhr, 6 Uhr, 12 Uhr, 18 Uhr
    🤷‍♂️

    Sieht für mich irgendwie nach Bug aus, da ich keine neuen oder geänderten Entitäten angelegt habe
    🤔

    Ein Beispiel für eine immer betroffene (mein Verdacht, eine der auslösenden) Entität:

    - sensor:
          - name: Gesamtertrag PV alt (mit Langzeitkorrektur)
            unique_id: gesamtertrag_pv_alt
            device_class: Energy
            state_class: total_increasing
            unit_of_measurement: "kWh"
            state: "{{ states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) }}"

    Ich habe dann versucht, die Ausreißer abzufangen, indem ich das State Argument so verändert habe:
    state: >
      {% set new_value = states('sensor.bitshake_smartmeterreader_ertrag_pv_alt') | float(2)  + 56120.32 | float(2) %}
      {% set old_value = states('sensor.gesamtertrag_pv_alt') | float(2) %}
      {# Neuer Wert wird ignoriert, wenn die Werte gleich sind oder weil er nicht kleiner sein kann als alter Wert #}
      {% if new_value <= old_value %}
        {{ old_value }}
      {# Wenn mehr als 0,5 kWh hinzugekommen -> wird als Ausreißer betrachtet und alter Wert genommen #}
      {% elif new_value - old_value > 0.5 %}
        {{ old_value }}
      {# Normale Werte #}
      {% else %}
        {{ new_value }}
      {% endif %}
    Im ersten Moment schien das zu funktionieren, aber dann hat's den Gesamtertrag, also den Zählerstand genullt, obwohl die Zahlen das nicht hergaben.

    sensor.bitshake_smartmeterreader_ertrag_pv_alt hatte 6827,28, macht mit der Addiion von den historischen 56120,32 62947,6 für new_value .
    Der Zählerstand vor der Nullung, also
    old_value, war ebenfalls 62947,6.

    Also hätte imho doch
    {% if new_value <= old_value %}{{ old_value }} greifen müssen, und das wäre eben weiterhin 62947,6 gewesen 🤷‍♂️

    Warum funktioniert das nicht? Warum nullt es mir den Zählerstand?
    🤷‍♂️

    #Hausautomation #Homeserver

  38. I'm really torn about what my next #homelab project will be: self-hosting my website, setting up #HA before #Google #Gemini invades my devices, a #masto instance, a #meshtastic node, or a forum site.

    I'm stalling out bc idk whether to use Cloudflare or open my own ports & torn about whether to turn my entire homelab system #Linux. After I did so much work to do the Windows Pooling storage thing 🥲

    If #selfHosting is the next big thing for all my projects, going Linux seems like the way to go...