Beaker69

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by Beaker69

  1. Been trying to get in to GUI mode for some NIC troubleshooting (but that is a whole other story.) using an old Radeon HD 6450 and the VGA port on my monitor. Unraid loads fine but half way through my screen shows input not supported. Any ideas would be appreciated. panther-diagnostics-20230324-1136.zip
  2. @BigBoyMarky Done the same and all back up and running. Thanks for you help. I will be reviewing all my Conf file just to make sure they are all up to date.
  3. Thanks for that. On Discord they said about checking your *.Conf files so am going through all those as well as I do have some customization in these.
  4. Hi All. Just updated Swag and now getting this. nginx: [emerg] "stream" directive is not allowed here in /etc/nginx/conf.d/stream.conf:3 Does anyone know how I can solve this, until then I cannot access anything from outside my network. Thanks.
  5. @deadnote I edited that container data and added the variable there.
  6. @zepheris I never had to get in to the depths of MQTT so am not sure about some of the issues that arise. As for the sensors I created templates for CPU, Memory and such. I have posted mine below, which should help. # Server templates sensors - platform: template sensors: panther_cpu: friendly_name: CPU value_template: "{{ state_attr('binary_sensor.panther_server', 'cpu')|replace(' ','')|replace('®','') }}" panther_memory: friendly_name: Memory value_template: "{{ state_attr('binary_sensor.panther_server', 'memory') }}" panther_motherboard: friendly_name: Motherboard value_template: "{{ state_attr('binary_sensor.panther_server', 'motherboard').split(',')[0] }}" panther_arraystatus: friendly_name: Array Status value_template: "{{ state_attr('binary_sensor.panther_server', 'arrayStatus') }}" panther_diskspace: friendly_name: Array Usage value_template: "{{ state_attr('binary_sensor.panther_server', 'diskSpace') }}" vm_kodi_core: friendly_name: Core Count value_template: "{{ state_attr('sensor.panther_vm_kodi_status', 'coreCount') }}" vm_kodi_ram: friendly_name: RAM value_template: "{{ state_attr('sensor.panther_vm_kodi_status', 'ram') }}" vm_kodi_primarygpu: friendly_name: Primary GPU value_template: "{{ state_attr('sensor.panther_vm_kodi_status', 'primaryGPU') }}" vm_win10_core: friendly_name: Core Count value_template: "{{ state_attr('sensor.panther_vm_windows_10_status_2', 'coreCount') }}" vm_win10_ram: friendly_name: RAM value_template: "{{ state_attr('sensor.panther_vm_windows_10_status_2', 'ram') }}" vm_win10_primarygpu: friendly_name: Primary GPU value_template: "{{ state_attr('sensor.panther_vm_windows_10_status_2', 'primaryGPU') }}"
  7. As always a great video. It made things so simple for me. Recently I was trying to set up accounts for the rest of my family and when I sent ivites I get an error message saying "error inviting user, Smtp error" I have deleted the invites and restarted bit warden without any luck
  8. @LuBeDa If you have glances set up you can pull in CPU temps, the only issue I have is that I have a dual xeon and it does not differentiate. As for the board temp again in glances you should see you board or chipset temp. According to the glances wiki hdd temp is only available at present in linux. Hope this helps.
  9. Look for binary_sensor.(servername)_server That is one that should be available The MQTT discovery data is: homeassistant/binary_sensor/(servername)/config
  10. It all seems correct. For myself I use spants/MQTT in Unraid and then use the Intergrations MQTT in Home Assistant that only requires the ip address. That removes the need for adding anything to your configuration.yaml.
  11. I have been lucky, I only have unraid-api on MQTT. Do you run Home Assistant and Mosquitto on Unraid also? I run both of them in docker containers within Unraid and found the set up flawless.
  12. @tj80 No idea what all that means. First things first, make sure you have a working MQTT broker. Also if you want all of the information you will need to install Glances on your unraid server and connect that to Home Assistant. Both of these can be done through intergrations. Once these are installed and Home Asssistant has restarted it can take a while for the MQTT sensors to show up. The ones from Glances will be there. Just check your Intergrations page. As for Sensor like Array Status, Motherboard & CPU etc, you willl need to create Template Sensor for those.
  13. What I did was create a test view in Home Asssitant, from there I just tried a picture entity card to make sure it works. Make sure you it is /local/(picturename).(extension) and that the picture is in your WWW folder.
  14. First things first. Github link: https://github.com/Beaker1969/Unraid-api-desktop/tree/master The old solutions are sometimes the best, try restarting unraid-api docker and log back in. If your server is not running 24/7 the MQTT broker cannot pull data from the server and I have found that some of the sensors can take quite a while to recover after a restart. Have you thought of running Home Assistant on your Unraid server and running it 24/7? I am no expert on any of this just a bumbling old fart who has been fidding with computers for a very long time.
  15. @skank The image is just a stock image I pulled from a google search. As for the code it is below and I will post it on Github within the next few hours. Hope you enjoy it. Any problems let me know. cards: - cards: - hold_action: action: none image: /local/server.jpg tap_action: action: none type: picture - align: split card_style: border-radius: 5px columns: 2 entities: - entity: sensor.glances_used_percent max: 100 title: Disk - entity: sensor.glances_cpu_used max: 100 title: CPU padding: 2px severity: - color: '#3bb3ee' value: 50 - color: '#e7a24a' value: 80 - color: '#ff0000' value: 100 show_icon: true type: 'custom:bar-card' - align: split card_style: border-radius: 5px columns: 2 entities: - entity: sensor.glances_ram_used_percent max: 100 title: RAM - entity: sensor.glances_swap_used_percent max: 100 title: SWAP padding: 2px severity: - color: '#3bb3ee' value: 50 - color: '#e7a24a' value: 80 - color: '#ff0000' value: 100 show_icon: true type: 'custom:bar-card' - align: split card_style: border-radius: 5px columns: 2 entities: - entity: sensor.glances_containers_ram_used title: Docker RAM - entity: sensor.glances_containers_cpu_used max: 100 title: Docker CPU padding: 2px severity: - color: '#3bb3ee' value: 50 - color: '#e7a24a' value: 80 - color: '#ff0000' value: 100 show_icon: true type: 'custom:bar-card' - align: split card_style: border-radius: 5px columns: 1 entities: - entity: sensor.glances_containers_active max: 100 title: Dockers Active padding: 4px severity: - color: '#3bb3ee' value: 50 - color: '#e7a24a' value: 80 - color: '#ff0000' value: 100 show_icon: true type: 'custom:bar-card' type: vertical-stack - cards: - cards: - entities: - entity: sensor.panther_cpu show_icon: false type: glance - entities: - entity: sensor.panther_memory show_icon: false type: glance - entities: - entity: sensor.panther_motherboard show_icon: false type: glance - entities: - entity: sensor.panther_arraystatus show_icon: false type: glance - entities: - entity: sensor.panther_diskspace show_icon: false type: glance - entities: - entity: switch.panther_array show_header_toggle: false type: entities type: 'custom:vertical-stack-in-card' - cards: - align: split card_style: border-radius: 5px columns: 2 entities: - entity: sensor.glances_core_0_temp max: 100 title: CPU - entity: sensor.glances_core_1_temp max: 100 title: CPU padding: 2px severity: - color: '#3bb3ee' value: 50 - color: '#e7a24a' value: 80 - color: '#ff0000' value: 100 show_icon: true type: 'custom:bar-card' type: vertical-stack - cards: - align: split card_style: border-radius: 5px columns: 2 entities: - entity: sensor.glances_core_2_temp max: 100 title: CPU - entity: sensor.glances_core_3_temp max: 100 title: CPU padding: 2px severity: - color: '#3bb3ee' value: 50 - color: '#e7a24a' value: 80 - color: '#ff0000' value: 100 show_icon: true type: 'custom:bar-card' type: vertical-stack - entity: sensor.glances_intel5500_1_temp max: 110 min: 0 name: Northbridge severity: green: 50 red: 90 yellow: 75 theme: default type: gauge - cards: - card: head: label: Docker Control type: section type: 'custom:fold-entity-row' filter: exclude: - entity_id: panther_docker_*_usb* include: - entity_id: switch.panther_docker_* type: 'custom:auto-entities' - card: head: label: Virtual Machine Control type: section type: 'custom:fold-entity-row' filter: exclude: - entity_id: panther_vm_*_usb* include: - entity_id: switch.panther_vm_* type: 'custom:auto-entities' - card: head: label: Virtual Machine USB Control type: section type: 'custom:fold-entity-row' filter: include: - entity_id: switch.panther_vm_*_usb* type: 'custom:auto-entities' type: vertical-stack type: vertical-stack - cards: - cards: - cards: - image: /local/Kodidark.png type: picture - cards: - entities: - switch.panther_vm_kodi show_header_toggle: false type: entities - entities: - entity: sensor.panther_vm_kodi_status show_icon: false type: glance - entities: - entity: sensor.vm_kodi_core show_icon: false type: glance - entities: - entity: sensor.vm_kodi_ram show_icon: false type: glance - entities: - entity: sensor.vm_kodi_primarygpu show_icon: false type: glance type: vertical-stack type: horizontal-stack - card: head: label: USB Devices type: section type: 'custom:fold-entity-row' filter: include: - entity_id: switch.panther_vm_kodi_usb_* type: 'custom:auto-entities' title: Kodi VM type: 'custom:vertical-stack-in-card' - cards: - cards: - image: /local/windows10.png type: picture - cards: - entities: - switch.panther_vm_windows_10 show_header_toggle: false type: entities - entities: - entity: sensor.panther_vm_windows_10_status show_icon: false type: glance - entities: - entity: sensor.vm_win10_core show_icon: false type: glance - entities: - entity: sensor.vm_win10_ram show_icon: false type: glance - entities: - entity: sensor.vm_win10_primarygpu show_icon: false type: glance type: vertical-stack type: horizontal-stack - card: head: label: USB Devices type: section type: 'custom:fold-entity-row' filter: include: - entity_id: switch.panther_vm_kodi_usb_* type: 'custom:auto-entities' title: Windows 10 VM type: 'custom:vertical-stack-in-card' type: vertical-stack type: horizontal-stack
  16. @ElectricBrainUK This is a great container, I got it up and running in 5 minutes and spent the next 3 days using your code to create my own version. Some of the cards are not working with the current version of Home Assistant. But with a bit of tweaking and cheating I got the set up below. I use this on its own tab in Panel mode. If anyone is interested I can post the code to Github.
  17. Ben Welcome to the Unraid community. My first system was an old Athlon X4 860k and that run fine. But I soon out grew it and now use an old server board. May I recommend watching the videos by Unraid Guru @SpaceInvaderOne on Youtube, his videos got me 90% of where I am now and the other 10% was with the help on people on this forum. Enjoy😃
  18. @bza I eventually used @skois path to a solution. This has the 4 ports in 2 pairs.
  19. Just an quick update. It is all working now and I am on the way to using Pfsense. I would like to thank evryone for the advice.
  20. I have not managed to get it sorted yet, but you could try this. If you have any luck post your results. Good luck
  21. The same problem persists only two show up. After starting Pfsense and confirming only 2 ports were available, I wnet back in to the XML and found the file below. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0' multifunction='on'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x1'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x2'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x3'/> </hostdev> I could find no way to remove the multifunction on command.
  22. It has semi worked. I now have 2 ports showing, it seems as if each pair has been bundled together. I has given me a starting point on setting up Pfsense. Any more thoughts on this would be most appreciated.
  23. Hi All I have a few minutes to look at my XML file and the layout is below. I do not have a clue what to do next as this appears to be correct. <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x08' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </hostdev> Do I need to change anything as the address is correct as per my IOMMU groups. IOMMU group 20: [8086:10bc] 07:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) [8086:10bc] 07:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) IOMMU group 21: [8086:10bc] 08:00.0 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06) [8086:10bc] 08:00.1 Ethernet controller: Intel Corporation 82571EB/82571GB Gigabit Ethernet Controller (Copper) (rev 06)
  24. Thanks for all the replies. I will try and sort it out in the New Year as I am stuck working until then. To all have a very Happy New Year.
  25. Another newbie with a similar problem. I has passed throught my two mainboard Nic's to pfsense but only one is showing up for pfsense to use. I tried to use my 4 port nic but got the same results. The relevant line from my syslinux is below. append vfio-pci.ids=8086:10d3 vfio_iommu_type1.allow_unsafe_interrupts=1 initrd=/bzroot and my pfsense VM looks like this: <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm' id='1'> <name>Pfsense</name> <uuid>97921567-7bd7-467c-19f8-9fce578b48e6</uuid> <metadata> <vmtemplate xmlns="unraid" name="FreeBSD" icon="pfsense.png" os="freebsd"/> </metadata> <memory unit='KiB'>1572864</memory> <currentMemory unit='KiB'>1572864</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>2</vcpu> <cputune> <vcpupin vcpu='0' cpuset='7'/> <vcpupin vcpu='1' cpuset='15'/> </cputune> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-4.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/97921567-7bd7-467c-19f8-9fce578b48e6_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='1' threads='2'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/Software/pfSense-CE-2.4.4-RELEASE-p3-amd64.iso'/> <backingStore/> <target dev='hda' bus='sata'/> <readonly/> <boot order='2'/> <alias name='sata0-0-0'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='writeback'/> <source file='/mnt/user/domains/Pfsense/vdisk1.img'/> <backingStore/> <target dev='hdc' bus='sata'/> <boot order='1'/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <alias name='usb'/> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <alias name='usb'/> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='1' port='0x10'/> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='pci' index='2' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='2' port='0x11'/> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x1'/> </controller> <controller type='pci' index='3' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='3' port='0x12'/> <alias name='pci.3'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x2'/> </controller> <controller type='pci' index='4' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='4' port='0x13'/> <alias name='pci.4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x3'/> </controller> <controller type='pci' index='5' model='pcie-root-port'> <model name='pcie-root-port'/> <target chassis='5' port='0x14'/> <alias name='pci.5'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x4'/> </controller> <controller type='virtio-serial' index='0'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/> </controller> <controller type='sata' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <serial type='pty'> <source path='/dev/pts/0'/> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-1-Pfsense/org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/> </source> <alias name='hostdev0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0a' slot='0x00' function='0x0'/> </source> <alias name='hostdev1'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </hostdev> <memballoon model='none'/> </devices> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+0:+100</label> <imagelabel>+0:+100</imagelabel> </seclabel> </domain> I bet that it is something simple that I have missed but any help would be appreciated.