skank

Members
  • Posts

    1116
  • Joined

  • Last visited

Everything posted by skank

  1. or should i delete the template sensors i created from the binary sensor and enter the entity "binary sensor" in the card and then point to the attributes? How did you do this here? https://github.com/ElectricBrainUK/UnraidAPI/wiki/Lovelace-Config See also https://github.com/custom-cards/entity-attributes-card It also keeps saying the binary sensor is unavailble the first time under development options i could look at the binary sensor and see the attributes, now i cannot anymore Hopefully this will all be fixed once you have a HA addon :p
  2. its under packages > server.yaml #### CUSTOMIZE ################################################################# homeassistant: customize_glob: sensor.unraid_server: templates: hs_color: "if (state === 'up') return [115,100]; else return [360,100];" glances: - host: !secret unraid_server sensor: - platform: template sensors: unraid_server: entity_id: device_tracker.unraid_server friendly_name: Unraid icon_template: mdi:nas value_template: > {% if is_state('device_tracker.unraid_server', 'home') %} up {% else %} down {% endif %} server_motherboard: value_template: "{{state_attr('binary_sensor.unraid_server', 'motherboard') }}" server_cpu: value_template: "{{state_attr('binary_sensor.unraid_server', 'cpu') }}" server_memory: value_template: "{{state_attr('binary_sensor.unraid_server', 'memory') }}" server_diskspace: value_template: "{{state_attr('binary_sensor.unraid_server', 'diskSpace') }}" server_arraystatus: value_template: "{{state_attr('binary_sensor.unraid_server', 'arrayStatus') }}" server_arrayprotection: value_template: "{{state_attr('binary_sensor.unraid_server', 'arrayProtection') }}"
  3. both are missing, the glances and the attributes Why do you put the sensors back into the config file? i split them up so it easier to find everything back if i get rid of the attributes, the glances come back up
  4. and my server.yaml #### CUSTOMIZE ################################################################# homeassistant: customize_glob: sensor.unraid_server: templates: hs_color: "if (state === 'up') return [115,100]; else return [360,100];" glances: - host: !secret unraid_server sensor: - platform: template sensors: unraid_server: entity_id: device_tracker.unraid_server friendly_name: Unraid icon_template: mdi:nas value_template: > {% if is_state('device_tracker.unraid_server', 'home') %} up {% else %} down {% endif %} server_motherboard: value_template: "{{state_attr('binary_sensor.unraid_server', 'motherboard') }}" server_cpu: value_template: "{{state_attr('binary_sensor.unraid_server', 'cpu') }}" server_memory: value_template: "{{state_attr('binary_sensor.unraid_server', 'memory') }}" server_diskspace: value_template: "{{state_attr('binary_sensor.unraid_server', 'diskSpace') }}" server_arraystatus: value_template: "{{state_attr('binary_sensor.unraid_server', 'arrayStatus') }}" server_arrayprotection: value_template: "{{state_attr('binary_sensor.unraid_server', 'arrayProtection') }}"
  5. no this is my config yaml default_config: homeassistant: customize: !include customize.yaml packages: !include_dir_named packages frontend: themes: !include_dir_merge_named themes # Uncomment this if you are using SSL/TLS, running in Docker container, etc. # http: # base_url: example.duckdns.org:8123 lovelace: mode: yaml customizer: custom_ui: local hacs: token: !secret hacs_token appdaemon: true # Text to speech tts: - platform: google_translate group: !include groups.yaml automation: !include automations.yaml script: !include scripts.yaml scene: !include scenes.yaml sensor: - platform: unifigateway host: !secret unifi_host site_id: !secret unifi_site username: !secret unifi_username password: !secret unifi_password monitored_conditions: - www - lan - wan - wlan - vpn - alerts - firmware remote: - platform: harmony name: Harmony Hub host: !secret harmony
  6. config check says all is valid Dunno why the glances info all are gone, as soon as i add the attributes... If i delete the attributes cards, then its back visible
  7. I had the glances stuff working so i added the new sensors for the attributes, and now all is gone... is there something wrong with my page? title: Server icon: mdi:nas path: server theme: ios-dark-mode cards: - type: vertical-stack cards: - type: custom:vertical-stack-in-card title: Unraid Server cards: - type: horizontal-stack cards: - type: custom:card-modder card: type: picture image: /local/unraid.png - type: custom:entity-attributes-card title: Kenmerken filter: include: - key: sensor.server_motherboard - key: sensor.server_cpu - key: sensor.server_memory - key: sensor.server_diskspace - key: sensor.server_arraystatus - key: sensor.server_arrayprotection - type: conditional conditions: - entity: sensor.glances_disk_used_percent state_not: "unavailable" - entity: sensor.glances_disk_used_percent state_not: "unknown" card: type: custom:bar-card align: split show_icon: true padding: 4px columns: 2 card_style: border-radius: 5px severity: - value: 50 color: '#3bb3ee' - value: 80 color: '#e7a24a' - value: 100 color: '#ff0000' entities: - entity: sensor.glances_disk_used_percent title: Disk max: 100 - entity: sensor.glances_cpu_used title: CPU max: 100 - type: conditional conditions: - entity: sensor.glances_disk_used_percent state_not: "unavailable" - entity: sensor.glances_disk_used_percent state_not: "unknown" card: type: custom:bar-card align: split show_icon: true padding: 4px columns: 2 card_style: border-radius: 5px severity: - value: 50 color: '#3bb3ee' - value: 80 color: '#e7a24a' - value: 100 color: '#ff0000' entities: - entity: sensor.glances_swap_used_percent title: SWAP max: 100 - entity: sensor.glances_ram_used_percent title: RAM max: 100 - type: conditional conditions: - entity: sensor.glances_containers_active state_not: '0' - entity: sensor.glances_disk_used_percent state_not: "unavailable" - entity: sensor.glances_disk_used_percent state_not: "unknown" card: type: custom:bar-card align: split show_icon: true padding: 4px columns: 2 card_style: border-radius: 5px entities: - entity: sensor.glances_containers_ram_used title: Docker RAM max: 10000 - entity: sensor.glances_containers_cpu_used title: Docker CPU max: 100 - type: conditional conditions: - entity: sensor.glances_disk_used_percent state_not: "unavailable" - entity: sensor.glances_disk_used_percent state_not: "unknown" card: type: custom:bar-card align: left title_position: left show_icon: true padding: 4px columns: 1 card_style: border-radius: 5px severity: - value: 50 color: '#3bb3ee' - value: 80 color: '#e7a24a' - value: 100 color: '#ff0000' entities: - entity: sensor.glances_containers_active title: Containers max: 40 My sensors: sensor: - platform: template sensors: server_motherboard: value_template: "{{state_attr('binary_sensor.unraid_server', 'motherboard') }}" server_cpu: value_template: "{{state_attr('binary_sensor.unraid_server', 'cpu') }}" server_memory: value_template: "{{state_attr('binary_sensor.unraid_server', 'memory') }}" server_diskspace: value_template: "{{state_attr('binary_sensor.unraid_server', 'diskSpace') }}" server_arraystatus: value_template: "{{state_attr('binary_sensor.unraid_server', 'arrayStatus') }}" server_arrayprotection: value_template: "{{state_attr('binary_sensor.unraid_server', 'arrayProtection') }}"
  8. Cool thx, i hope its not years, or much months... :p
  9. ok thx will try any idea when we can expect the ha addon?
  10. So , normal step is i install the broker on the pi so you are setting a API HA addon? So stats will remain visible? Thats cool ! Cant wait This will mean ,all stats will be visible even when unraid is shut down? - for the last question about statistics, you misunderstand me i meant the attributes like wat kind of motherbord, what cpu, what mem
  11. According to the github page, that shouldnt be necessary So im awaiting answer from ElectricBrainUK firts
  12. ok so yesterday it suddenly worked after i launched it and logged in (it says fill in username and paswword 2 times) i now have entities like switches for dockers and a sensor.. i do have other questions though. - al those entitities are in ha saying they are unavailable, is that normal? - if i shutdown the broker on the unraid machine, will the attributes of the machine still be visible in the broker for the raspberry pi(ha) to read from? - i have the broker now on the unraid machine, and ha on my raspberry pi, since i shutdown my unraid (and not the pi) shouldnt it be wiser to set up the broker on the pi? - you have these sensors, how do i get them? they arent made by the discovery ``` - key: binary_sensor.unraid_server.cpu - key: binary_sensor.unraid_server.memory - key: binary_sensor.unraid_server.motherboard - key: binary_sensor.unraid_server.arrayStatus - key: binary_sensor.unraid_server.diskSpace - key: binary_sensor.unraid_server.arrayProtection ``` Thx for your support here!
  13. i logged in, it says connected, but still nog go
  14. I'm having same issues, cant seem to get it work 2 things - for the ipadress, i just fill in the ip or with "http://" in front of it? - what did u do to fix? Youo say you logged in, that fixed it? log in , in the api ?
  15. Truly nothing to do about it?
  16. ouch https://forums.unraid.net/topic/16888-aoc-saslp-mv8-wake-from-sleep/
  17. I'm on latest version of unraid Mobo is: ASUS M4A78LT-M - Moederbord - micro ATX - AMD 760G - I do have an expansion card AOC-SASLP My mobo supports sleep: i use the S3 sleep plugin, machine goes to sleep but i cant awake it In the old days before the expansion card, i had no problem to do this. Is the expansion card the problem?
  18. skank

    Upgrading server

    EUREKA! That was it, its moving now. Thx mate ! Not sure what you mean with the f-s share those are 2 different folders - films - fotos its not with cases in it
  19. skank

    Upgrading server

    you mean the folder "Films" on my cache containing the movie "Movie x"? Move the movie back to the download folder on the cache, delete the "Films" folder on the cache Make a new folder on the cache "Films" Cut and past the "Movie x" back into the "Films" click on mover tried that, still no go
  20. skank

    Upgrading server

    2 shares beginning with f yes Films and Fotos Never had problems with that split level is: automatically split only top level directory as required i got films\name movie x\ files movie x i want to have the movie files on 1 disk together its wrong?
  21. skank

    Upgrading server

    crap it still doesnt move !! i set it to 55gig the file is 50 gig it doesnt move