Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Plugin] controlrd

Featured Replies

image.png.02cf8d3e6b114298fc2c1088dbf064ed.png

 

image.thumb.png.d5c66ca56e6f522ded618477034356d0.png

  • Replies 859
  • Views 152.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Every plugin,  no exceptions, are checked for security issues.  This doesn't mean that there isn't going to be security flaws caused by libraries utilized, but you do know that any random plugin is no

  • jbrodriguez
    jbrodriguez

    IMPORTANT NOTICE   if you're receiving the following error for the controlr plugin please uninstall the plugin / then reinstall i had to change the location of the plg file a

  • XMGProjects
    XMGProjects

    I've managed to get the mobile app working by manual adding the server. Protocol: https Port: 443 Hostname: IP.HASH.myunraid.net Username: Your username Password: Your passwor

Posted Images

  • Author

right, i see that file in the plugin code, doesn't seem to be used elsewhere though, however i havent looked too deep

 

still, the code does look for the main config at /boot/config/plugins/nut-dw/nut.cfg

 

i understand /boot/config/plugins/nut-dw/nut.cfg doesn't exist in your system right ?

 

the other 2 commands i sent you, are they throwing the same error as the initial one ?

 

with single quotes

/usr/bin/upsc '[email protected]'

with double quotes 

/usr/bin/upsc "[email protected]"

 

thanks for the help in troubleshooting, hopefully we can get to the bottom of it :)

Edited by jbrodriguez

image.png.44d8526426757feb11ca9d16b1831acc.png

  • Author

ah, now the purpose of /etc/nut/ups.conf is clearer

 

i assume the web interface for the nut plugin does show the ups info correctly right ?

 

its strange though that the /usr/bin/upsc command is still failing

 

i think it's failing because of the "ups" name ...

 

is there a name entry in your /etc/nut/ups.conf file ?

 

if there is, does it work when you replace it in the command ?

 

/usr/bin/upsc "<name from /etc/nut/ups.conf>@192.168.254.5"

 

 

 

if the name is the top part in the box, yes.

 

root@BigRig:~# /usr/bin/upsc "[email protected]"
Error: Connection failure: Connection refused

  • Author

actually, im rereading the code and the config file is at /boot/config/plugins/nut-dw/nut-dw.cfg

 

do you have that file ?

 

image.thumb.png.e6a3d2fa775de5a686b3ad9d398f8080.png

  • Author

aaahhh finally, the config file !!!

 

ill publish the plugin pointing to the correct location of the config file, but im not sure that will solve your specific case

 

ill look into it this weekend, i have more info now

 

thank you !!! 

Just to update this, im also having issues with adding the servers under the new controlr app. I get unable to add server:bigrig:443 is offline after scanning the qr code on either of my servers.

On 8/29/2024 at 11:22 PM, jbrodriguez said:

- If you access your server via SSL (https), the app will only connect to the `*.myunraid.net` URL, which is backed by a certificate provisioned via Let's Encrypt (certificate_bundle) 

Does this mean it is not possible anymore to connect to the server locally via lan ip and self signed cert and I am forced to install the Unraid Connect Plugin? If so, why?

  • Author
9 hours ago, mihcox said:

Just to update this, im also having issues with adding the servers under the new controlr app. I get unable to add server:bigrig:443 is offline after scanning the qr code on either of my servers.

it seems you set up ssl on your server, the only supported way to connect is by provisioning a let's encrypt certificate, self signed certificates will not work (as mentioned in this post)

 

https://forums.unraid.net/topic/51332-plugin-controlrd/?do=findComment&comment=1459304

 

- If you access your server via SSL (https), the app will only connect to the `*.myunraid.net` URL, which is backed by a certificate provisioned via Let's Encrypt (certificate_bundle) 

 

  • Author
1 hour ago, bastl said:

Does this mean it is not possible anymore to connect to the server locally via lan ip and self signed cert and I am forced to install the Unraid Connect Plugin? If so, why?

yea, self signed certificates wont work anymore with the app, there are restrictions both in android and ios that make this less than optimal and insecure from the app perspective

 

however, you don't need to be signed in to unraid connect to provision the letsencrypt certificate

6 hours ago, jbrodriguez said:

it seems you set up ssl on your server, the only supported way to connect is by provisioning a let's encrypt certificate, self signed certificates will not work (as mentioned in this post)

 

https://forums.unraid.net/topic/51332-plugin-controlrd/?do=findComment&comment=1459304

 

- If you access your server via SSL (https), the app will only connect to the `*.myunraid.net` URL, which is backed by a certificate provisioned via Let's Encrypt (certificate_bundle) 

 

so which of the following am i supposed to use? image.thumb.png.6fac82babcc383e5ddeeef8de5ada15c.png

12 minutes ago, mihcox said:

so which of the following am i supposed to use?

The my myunraid.net one works for me.

thank you for your work on controlr.  i can confirm the UPS values are now working correctly with the new version of NUT.

 

 

👍

 

 

JD
 

 

Hi - Thanks for the app/update.

Got it now running again with myunraid.net, but FYI had to manually enter the details - qrcode did not work.
The issue seems to come from the ports and/or having two times 'https'
Scan output:
 

{"name":"Unraid","protocol":"https","host":" https://192-1xx-1xx-xx.4xx0.myunraid.net:14443","port":"443","address":"192.1xx.1xx.xx","errorCode":"","errorText":""}


edit: Just realized ControlIR connects only on the local network .. (I think it's DNS/ network related)

Edited by Shtoomik

  • Author
1 hour ago, JudasD said:

thank you for your work on controlr.  i can confirm the UPS values are now working correctly with the new version of NUT.

 

 

👍

 

 

JD
 

 

awesome news !!! thanks for the report !! 🙏

  • Author
1 hour ago, mihcox said:

so which of the following am i supposed to use?

the one that ends in myunraid.net, as wgstarks mentioned 

  • Author
21 minutes ago, Shtoomik said:

The issue seems to come from the ports and/or having two times 'https'

aaa i see the issue, thanks a lot for posting the output, ill look to fix this 🙏

6 hours ago, jbrodriguez said:

the one that ends in myunraid.net, as wgstarks mentioned 

 

Thanks, i am now able to login to both machines, but still lack ups data.

  • Author
8 hours ago, mihcox said:

 

Thanks, i am now able to login to both machines, but still lack ups data.

cool that you were able to add your servers !!!

 

yea, about the ups data, you have a custom setup, can you do me a favor, can you show me what data is displayed on the UPS plugin page ?

 

anonymize as needed, id like to have a reference of what is shown there

On 8/31/2024 at 8:51 AM, jbrodriguez said:

yea, self signed certificates wont work anymore with the app, there are restrictions both in android and ios that make this less than optimal and insecure from the app perspective

 

however, you don't need to be signed in to unraid connect to provision the letsencrypt certificate

What if I have NO certs on my unRAID? Will I now need to set up a CERT?  I've never done CERTIFICATES on home system, would not even know where to begin, what is process, is there a cost, etc, etc, etc.  Can I continue to use the new version withOUT a cert?  (And what is the value of having a cert?)

  • Author
1 hour ago, RobertP said:

What if I have NO certs on my unRAID? Will I now need to set up a CERT?

if you connect to your server via http, you don't need a cert

 

if you connect to your server via https, you will need a cert

 

Unraid provisions a free certificate (from well established Let's Encrypt provider)

 

go to the Settings / Management Access page

 

if you have set up SSL to anything other than "No", you will need to provision the Unraid letsencrypt cert

then use the qr code add server method in the app (make sure to restart the controlrd plugin after you provision the cert) or import the URL that uses the certificate (more details here https://www.apertoire.com/faq/controlr/)

It might be good to mention the need to manually uninstall the old ControlR and install ControlRd back in your original post on from last Thursday.

 

I've been waiting to see an update come through from CA AutoUpdate, and, obviously, haven't.

 

I'm installing the new version now, I presume that it will continue to work with the older version of the Android app until such time as the new app is released and my phone upgrades?

 

I've installed the new version of controlrd on the server, uninstalled the old version, added the server back in via QR code and all is good, including UPS stats!

 

Thanks again for your long term effort to support and improve this!

 

Edited by Free Man

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.