Fma965

Members
  • Posts

    153
  • Joined

  • Last visited

1 Follower

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Fma965's Achievements

Apprentice

Apprentice (3/14)

19

Reputation

  1. 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)
  2. 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
  3. Nice work, send a PR and i'll merge it, maybe have a option to toggle it on or off though?
  4. it uses a different protocol this won't work.
  5. Works fine for me, i can't do anything more than test it on my own powersupply so someone with the issue will need to investigate further.
  6. So yeah not entirely sure what happened there, i just did basically the same thing again and it didn't convert to CRLF, but i never opened the files weird, either way should be all working now
  7. It does appear this is the issue but that makes no sense as i haven't modified any files other than the plg file.
  8. Thanks for the fix, i have merged and updated the plg file
  9. Thanks, but i don't have time to investigate this currently so someone can PR me if they want or i will look when i can
  10. Noted, way to busy to investigate this currently though
  11. There are settings just not settings to change what you need as it should just work
  12. 6.8.3 is what I'm using, you blocking javascript or something?
  13. Same PSU as i have, something is wrong with your setup it works fine for me.