• 0 Posts
  • 46 Comments
Joined 1 year ago
cake
Cake day: June 18th, 2023

help-circle









  • I cant test this, but should it be something like:

    # Example button configuration
    button:
      - platform: template
        name: Livingroom Lazy Mood 1
        id: my_button
    
        # Optional variables:
        icon: "mdi:emoticon-outline"
        on_press:
          - logger.log: "Button 1 pressed"
      - platform: template
        name: Livingroom Lazy Mood 2
        id: my_button2
    
        # Optional variables:
        icon: "mdi:emoticon-outline"
        on_press:
          - logger.log: "Button 2 pressed"
    

    As for the other thing, that might be something you need to write your own driver for? if you need some inspiration, this repo has a driver for mitsubishi heatpumps, which does something similar (read/write to a uart): https://github.com/echavet/MitsubishiCN105ESPHome






  • It depends on the value of the data. Can you afford to replace them? Is there anything priceless on there (family photos etc)? Will the time to replace them be worth it?

    If its not super critical, raid might be good enough, as long as you have some redundancy. Otherwise, categorizing your data into critical/non-critical and back it up the critical stuff first?


  • Sorry, wasn’t meant to be condescending, you just seem fixated on file size when it sounds like RAM (and/or CPU?) is what you really want to optimise for? I was just pointing out that they arent necessarily correlated to docker image size.

    If you really want to cut down your cpu and ram, and are okay with very limited functionality, you could probably write your own webserver to serve static files? Plain http is not hard. But you’d want to steer clear of python and node, as they drag in the whole interpreter overhead.