Battery Notes HACS Integration + Dashboard

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ม.ค. 2025

ความคิดเห็น • 41

  • @Andrew-CodeChimp
    @Andrew-CodeChimp 9 หลายเดือนก่อน +24

    I'm the creator of Battery Notes, thanks for the great overview.
    Adding the battery_notes configuration.yaml entry before restarting will save you from adding the initial device manually.
    To display the battery type within the yaml you are using you need to replace the getBatteryLabel section as follows.
    getBatteryLabel: |
    () => {
    let battery_label = states[this._config.entities[0]].attributes.friendly_name.replace(/(battery|level)/gi, '').trim()
    let battery_type = states[this._config.entities[0]].attributes.battery_type_and_quantity
    if (battery_type) {
    return `${battery_label} (${battery_type})`
    }
    return battery_label
    }

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน +1

      Thanks Andrew. Amazing work. Fabulous that development is so active. It just keeps getting better.

    • @pierregrosjean2865
      @pierregrosjean2865 8 หลายเดือนก่อน

      Hello to you
      I love the principle of your HACS, and installed it following the tutorial from Smart Home Australia, I should point out that I only understand English a little.
      I find myself with a little problem.
      the battery status colors are not displayed when creating maps
      Is there a way to correct this?
      Thanks in advance for any help
      kind regards Pierre

    • @pierregrosjean2865
      @pierregrosjean2865 หลายเดือนก่อน

      hello,
      excuse this beginner question, despite replacing : getBatteryLabel, in order to display the battery type.
      it still does not display!

    • @archimedeusa6119
      @archimedeusa6119 6 วันที่ผ่านมา

      @@pierregrosjean2865 For me neither. Best guess: Type is filtered out by the device_class But I don't know how to fix this

  • @raduboboc
    @raduboboc 15 วันที่ผ่านมา +1

    Thank youuuu!
    I managed to install it and configure it.

  • @ucdailoi
    @ucdailoi 6 หลายเดือนก่อน +1

    Your methodical, slow, and detailed walk-through is perfect for those of us keen to keep up with this wonderful technology. Some of us (70+ years old) have no programming skills or knowledge of YAML files and the like and rely on clips like yours to keep us engaged.. Thank you

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      Thanks. Pitching YT videos is difficult, I could so like many others and rush through configuration and then put the code behind paywalls, but instead I prefer to provide the true step by step tutorials that gives the viewer a greater understanding with an outcome.
      Let me know if you have any specific topics that you'd like covered.

    • @ucdailoi
      @ucdailoi 6 หลายเดือนก่อน

      @@smart_home_australia Yes... I use Ubuntu on my desktop and run Home Assistant on a stand-alone mini PC.. I was stumped, or rather 'met my match' when it came to editing my YAML file when I was following your description.
      I got to Studio Code Server and wanted to copy and paste but it would not let me.. I searched Google for an answer without results.. So here I sit, stumped.. What can I do to overcome the inability to edit the YAML file on my computer.

    • @smart_home_australia
      @smart_home_australia  6 หลายเดือนก่อน +1

      So you have a desktop running Ubuntu and a stand-alone PC that runs HA, what OS are you running on that? Are you logging into the standard alone mini PC natively or RDP'ing into it? What's the error message you get in Studio Code Server? and are there any error messages in HA's log files.
      Sorry to ask so many questions. One of HA's strengths is its ability to run on lots of different hardware, but its one of its weaknesses from a support perspective.

    • @ucdailoi
      @ucdailoi 6 หลายเดือนก่อน

      @@smart_home_australia I installed HA, without other software, on to the remote computer and access it from Ubuntu.
      When I connect and open Studio Code Server, configuration yaml, it allows me to write but not paste.
      I suspect it has something to do with Ubuntu software. Windows or Apple might allow the 'paste' of the code.
      I did find a way to add the many lines but it was skewed and when I tested it it came back with the info that 'Card Param' was a problem..
      Im sorry if I don't make much sense. My knowledge is limited. It is frustrating to say the least.
      I may get some help this coming weekend..

    • @ucdailoi
      @ucdailoi 6 หลายเดือนก่อน

      @@smart_home_australia My home-assistant has been installed natively on a dedicated pc. I don’t get an error message as I can not ‘paste’ to the yaml lines.
      It’s likely that Ubuntu doesn’t have the ability to cope with adding to the yaml file..
      I hope to get some help today from my son who is a computer nerd. If not, I will get some desktop shots.

  • @Slimhaven1
    @Slimhaven1 29 วันที่ผ่านมา +1

    Another great Video! Thank you! App works great for all devices except Apple. I have not been able to get a good read on battery level other than 100% or zero. I just use an automation to turn on a smart plug on for 4 hours in the middle of the night. Not perfect but it works and beats leaving it plugged in all of the time.

    • @smart_home_australia
      @smart_home_australia  27 วันที่ผ่านมา +2

      I love my safe apple eco system, but sometimes the quirks can get a little annoying. Maybe this new push from Apple into Smart Homes is going to make interoperability much better.

  • @danhartley3020
    @danhartley3020 9 หลายเดือนก่อน +7

    great video but you forgot to put the yaml code for the card at the very end.

    • @smartdomustech5388
      @smartdomustech5388 9 หลายเดือนก่อน

      yes

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน +2

      Oops :) I'll add it tomorrow :)

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน +1

      Sorry about that, added to video description and also available at tinyurl.com/5s56xfnz

    • @danhartley3020
      @danhartley3020 9 หลายเดือนก่อน +1

      @@smart_home_australia thanks so much! great job!

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน

      Glad you enjoyed it. 😊👍

  • @2502sss
    @2502sss 9 หลายเดือนก่อน +1

    Amazing this works so well, thank you for the tutorial. Please do a tutorial of Roomba vacuum robot custom integration with HA, the standard integration does not support room by room cleaning. There is a custom integration but its too complex for me to understand, please do a video supporting this.

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน

      I wish I could, but I don't own a Roomba so thats makes it tricky :)

  • @BigBird2202
    @BigBird2202 9 หลายเดือนก่อน +1

    Excellent video thank you

  • @the_smart_home_maker
    @the_smart_home_maker 9 หลายเดือนก่อน

    Great video, thank you!

  • @ludovitgyengyar974
    @ludovitgyengyar974 9 หลายเดือนก่อน +1

    Thank you very much !

  • @pierregrosjean2865
    @pierregrosjean2865 8 หลายเดือนก่อน

    Good morning
    Excellent video, however I don't understand why when I create a map, the battery status colors are not displayed.
    Thanks in advance for all the help

    • @smart_home_australia
      @smart_home_australia  8 หลายเดือนก่อน

      I had the same issue and I raised with the developer (Andrew Jackson, @AndrewJacksonUK, fabulous guy!!). Mine was resolved with reinstalling, but I'd recommend reaching out to him direct.

  • @archimedeusa6119
    @archimedeusa6119 6 วันที่ผ่านมา +1

    Unfortunately the auto entities card shows no entity. I assume it has got something to do with the devices I use. All are HomematicIP and they seem to habe less diannosis: The main battery entity (shows 'normal') and replace, battery type, last replaced. It has no numeric value.

    • @archimedeusa6119
      @archimedeusa6119 6 วันที่ผ่านมา +1

      I had top replace the *plus* by * now it works

    • @smart_home_australia
      @smart_home_australia  3 วันที่ผ่านมา +1

      Great you got it to work. WELL DONE.

  • @IkaOtim
    @IkaOtim 3 หลายเดือนก่อน

    Great overview. But I don't want to use "Battery Notes" anymore. Would be great if you mentioned how to delete the integration.

    • @smart_home_australia
      @smart_home_australia  3 หลายเดือนก่อน +2

      To completely delete the Battery Notes add-on from Home Assistant, follow these steps:
      1) Remove the configuration entry:
      Open your Home Assistant configuration.yaml file and remove the
      following line:
      battery_notes:
      2) Uninstall the integration:
      Go to Settings > Integrations in the Home Assistant UI. Find the
      Battery Notes integration and click on it. Use the menu on the right
      to select "Uninstall".
      3) Delete the custom component files:
      Navigate to your Home Assistant config directory and locate the
      custom_components folder. Inside it, find and delete the
      "battery_notes" folder.
      4) Restart Home Assistant:
      After making these changes, restart your Home Assistant
      instance to ensure all traces of the add-on are removed.
      5) Clean up entities (optional):
      If you want to remove any leftover entities created by Battery
      Notes, you can do so manually through the Home Assistant
      interface or by editing your entity registry file.
      Remember that uninstalling the integration will remove all battery notes you've added to your devices. If you think you might want to use this information again in the future, consider backing up your configuration before uninstalling.
      I hope that helps.

  • @ludovitgyengyar974
    @ludovitgyengyar974 9 หลายเดือนก่อน +1

    yaml code, please.

    • @smart_home_australia
      @smart_home_australia  9 หลายเดือนก่อน +2

      Added to description, tinyurl.com/5s56xfnz