Fma965

Community Developer
  • Posts

    175
  • Joined

  • Last visited

Everything posted by Fma965

  1. Nice work, you can PR it if you want and also i'll grant you access to the repo, or you can host your own, CA is already configured for my repo though so whichever way is fine with me.
  2. I don't use UnRAID anymore so i am unlikely to fix this. UnRAID has too many breaking changes honestly. EDIT: i actually do use UnRAID again but i'm running it on Proxmox so i won't continue development of this plugin still, and realistically other than what has been done by giganode, there is nothing to develop, this relies on a couple of binaries that haven't been updated and don't support new PSU's
  3. Thanks, to clarify you need to replace TTYNumber with the corresponding port for the PSU, not just type TTYNumber /dev/tty... In addition https://github.com/ka87/cpsumon has not been updated for 7 years and https://github.com/notaz/corsairmi also not been updated in like 5 years
  4. Guys you can all keep reporting the issues with certain PSU's but if the underlying binary, CorsairRMI and cpsumoncli don't detect it then it's not going to work Run these commands via SSH/Terminal /usr/local/bin/corsairmi OR /usr/local/bin/cpsumon/cpsumoncli TTYNumber If they give response then i can probably update the plugin, otherwise it will need a new binary
  5. This would be pointless, netdata docker container already detects the PSUs, this plugin is purely for the integration in the dashboard at this point There is a super easy way though, plugin write to a text file, docker container read the text file, output to HA but again not really needed since netdata can do what you want.
  6. Yes it works fine, i use this
  7. Also, as a side note that code doesn't work any more, last time i tested this code did. It also technically doesn't have any security implications as all it does is disables auth on that page #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # Add Un-Authenticated access to Unraid 6.10-RC1+ for Status.php (Corsair Plugin) while [ ! -f /var/run/nginx.pid ] do sleep 2 # or less like 0.2 done echo -e "# Fma965 Un-Authenticated Access\nlocation ~ /plugins\/corsairpsu\/status.php {\nallow all;\ninclude fastcgi_params;\n}\n\n# End Fma965 Un-Authenticated Access\n\n$(cat /etc/nginx/conf.d/locations.conf)" > /etc/nginx/conf.d/locations.conf; nginx -s reload # End Nginx Basic Auth Patch
  8. I've been out of the loop for a while, does unraid provide a bearer token auth method yet... you know like every single other appliance ever! sidenote, if you want PSU stats in Home Assistant use the NetData docker container works great. (assuming your PSU is supported)
  9. This has been mentioned multiple times but i'll mention it again. 1. Unraid now uses form auth not basic auth therefore the direct access to the json wont work 2. PSU's that are not supported use a completely different protocol, if a CLI exists for slackware/linux that reads the data maybe i'll consider adding it
  10. Does any one have any ideas? seems odd to me that VM's are clearly recognizing the USB but UnRaid is not
  11. Yes, you can see this in the screenshot, also my USB 2.0 controller is not DDA compatible so that rules that test out. To clarify i tried both fresh Unraid USB and my existing baremetal one (which i knew 100% worked, non UEFI) and neither worked still
  12. I didn't take a screenshot of the unraid side, but it's the standard no USB called UNRAID found error. the screenshot does however show the same VM with the same passthrough detecting the USB fine on a standard Linux Gparted live boot cd. Hmm interesting idea, unfortunately I have tried the latest stable and the latest RC with the same results, I also tried a Renesas USB controller but the same issue unfortunately. For context the computer is a 7820x on a X299-WS Pro Asus motherboard EDIT: i do have some USB 2.0 ports on this machine so i could try those i guess
  13. You can't, Hyper-V has no support for USB device passthrough (apart from for windows guests)
  14. Hey, Thanks for the suggestions, unfortunately i have already tried option 1, and i can not verify the VM sees the USB stick as Unraid shuts down without any chance of user intervention after 30 seconds of waiting for UNRAID volume, as per the screenshot though the same VM booted to gparted or TrueNAS shows that the USB drive is indeed mounted fine.
  15. Hey guys I'm a little confused, with DDA Hyper-V can support passing through PCI devices. I have passed through both my HBA and USB Controller to the VM, if i boot GParted or TrueNAS i can see both the controllers and the USB Device itself, but yet when I boot UnRAID (from a VMDK copy of the USB drive because Hyper-V can't USB Boot) Unraid says "waiting for UNRAID device" but i know it's passed through. ] Any ideas what i could be missing here? Obviously DDA is relatively new but it is something that should make this possible, as shown in the picture above. Yes I know Unraid can do KVM etc, but for my own reasons I'm trying to do it this way.
  16. This just seems like a non issue really, since the RC doesn't use IPVLAN and instead uses macvlan i haven't had a single crash with it. presumably the next major Unraid version will also have macvlan so there isn't really anything to fix?
  17. There is no update, nothing is being worked on, this uses a completely different protocol so isn't supported. someone would have to make a binary (cli application) that interfaces with the AX1600i
  18. This guide is way out of date, wouldn't recommend you continue to use it.
  19. Yes because unraid removed basic auth and now uses a form auth, this is mentioned a few times in this thread.
  20. Since this plugin can be used with json output in Home Assistant etc but 6.8+ preventing Basic Auth, here is a go file tweak you can add to your go file to allow unauthenticated access to this script output and also to the system temperature plugin 6.10-RC1 Go File #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # Add Un-Authenticated access to Unraid 6.10-RC1+ for SystemTemp.php and Status.php (Corsair Plugin) while [ ! -f /var/run/nginx.pid ] do sleep 2 # or less like 0.2 done echo -e "# Fma965 Un-Authenticated Access\nlocation ~ /plugins\/corsairpsu\/status.php {\nallow all;\ninclude fastcgi_params;\n}\n\nlocation ~ /plugins\/dynamix.system.temp\/include\/SystemTemp.php {\nallow all;\ninclude fastcgi_params;\n}\n# End Fma965 Un-Authenticated Access\n\n$(cat /etc/nginx/conf.d/locations.conf)" > /etc/nginx/conf.d/locations.conf; nginx -s reload # End Un-Authenticated Access Home Assistant preview 6.8+ Go File (Patches Basic Auth back in)
  21. 6.10-rc1 breaks the above code work around, is there any plans to enable basic auth or a "Bearer Token" ? for now i have worked around it with this #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & # Add Un-Authenticated access to Unraid 6.10-RC1+ for SystemTemp.php and Status.php (Corsair Plugin) while [ ! -f /var/run/nginx.pid ] do sleep 2 # or less like 0.2 done echo -e "# Fma965 Un-Authenticated Access\nlocation ~ /plugins\/corsairpsu\/status.php {\nallow all;\ninclude fastcgi_params;\n}\n\nlocation ~ /plugins\/dynamix.system.temp\/include\/SystemTemp.php {\nallow all;\ninclude fastcgi_params;\n}\n# End Fma965 Un-Authenticated Access\n\n$(cat /etc/nginx/conf.d/locations.conf)" > /etc/nginx/conf.d/locations.conf; nginx -s reload # End Nginx Basic Auth Patch