Jump to content
jbrodriguez

ControlR (Android/iOS app for unRAID)

1061 posts in this topic Last Reply

Recommended Posts

v3.0.3 is out (OTA release) !

 

3.0.3

 

- Optimize server refresh
- Fix issues with docker & vm tabs selection
- Fix font size of ticker widgets
 

I think this finally fixes the issues with tab selection.

 

I've changed a bit how the server is refreshed: when you pull down to refresh, it doesn't update dockers & vms.

 

It should make the full server refresh a bit faster.

 

But it still updates both tabs whenever you switch to them.

 

And now you have a refresh button, so you can remain in the tab to update docker/vm status, no need to switch tabs to update.

 

Also, when you update to plugin v2.4.0, there's another small optimization in terms of retrieving data from the server.

 

Let me know how this works for you.

 

Share this post


Link to post
22 minutes ago, jbrodriguez said:

- Fix issues with docker & vm tabs selection

Updated both app and plugin.

Still unable to select the docker tab without a double tap.

 

Edit: Except when starting from the disks tab.

Edited by wgstarks

Share this post


Link to post

 
Edit: Except when starting from the disks tab.


Exactly the same here, the first run through of clicking tabs from left to right is very smooth, after that it’s the same behaviour

Share this post


Link to post

Confirmed as fixed, thanks!

Another item I have noticed is in the VM tab if you try to destroy a VM, it responds with “unknown action ‘domain_destroy’ “

Share this post


Link to post
9 hours ago, Ashe said:

destroy a VM, it responds with “unknown action ‘domain_destroy’

 

Thanks for the report Ashe !

Share this post


Link to post

v3.0.5 is available as an OTA release !

 

3.0.5

- Fix font size of additional marquee widgets
- Fix vm command names (destroy, undefine)

 

Share this post


Link to post

If anyone has a UPS connected to their server, could you send me the output of 

/sbin/apcaccess

(pm if you prefer)

 

I'm looking into incorporating UPS status into the app.

Share this post


Link to post

I know your just looking at incorporating UPS status, which is a great option! Something I would really appreciate. Would you look at incorporating NUT UPS status too.


Sent from my iPad using Tapatalk

Share this post


Link to post
If anyone has a UPS connected to their server, could you send me the output of 
/sbin/apcaccess

(pm if you prefer)
 
I'm looking into incorporating UPS status into the app.



root@MediaOne:~# /sbin/apcaccessAPC      : 001,048,1105DATE     : 2017-10-10 15:20:45 +0400HOSTNAME : MediaOneVERSION  : 3.14.14 (31 May 2016) slackwareUPSNAME  : UPS_IDENCABLE    : Custom Cable SmartDRIVER   : APC Smart UPS (any)UPSMODE  : Stand AloneSTARTTIME: 2017-10-07 09:37:15 +0400MODEL    : Smart-UPS SC1500STATUS   : ONLINELINEV    : 228.0 VoltsLOADPCT  : 9.1 PercentBCHARGE  : 100.0 PercentTIMELEFT : 85.0 MinutesMBATTCHG : 10 PercentMINTIMEL : 10 MinutesMAXTIME  : 0 SecondsMAXLINEV : 228.0 VoltsMINLINEV : 226.0 VoltsOUTPUTV  : 228.0 VoltsSENSE    : HighDWAKE    : 0 SecondsDSHUTD   : 60 SecondsDLOWBATT : 2 MinutesLOTRANS  : 208.0 VoltsHITRANS  : 253.0 VoltsRETPCT   : 0.0 PercentALARMDEL : 5 SecondsBATTV    : 26.8 VoltsLINEFREQ : 50.0 HzLASTXFER : Line voltage notch or spikeNUMXFERS : 0TONBATT  : 0 SecondsCUMONBATT: 0 SecondsXOFFBATT : N/ASELFTEST : NOSTESTI   : 336STATFLAG : 0x05000008REG1     : 0x00REG2     : 0x00REG3     : 0x00MANDATE  : 04/16/12SERIALNO : 5S1216T00762BATTDATE : 04/16/12NOMOUTV  : 230 VoltsNOMBATTV : 24.0 VoltsFIRMWARE : 738.3.IEND APC  : 2017-10-10 15:20:51 +0400

Share this post


Link to post
2 hours ago, BillClinton said:

Would you look at incorporating NUT UPS status too.

 

I'll look into it. Could you send me the output of 

/usr/bin/upsc ups 127.0.0.1

(adjust the name and/or ip if needed)

Share this post


Link to post
19 hours ago, jbrodriguez said:

 

I'll look into it. Could you send me the output of 


/usr/bin/upsc ups 127.0.0.1

(adjust the name and/or ip if needed)

 

Here's the output

 

root@Tower:~# /usr/bin/upsc ups 127.0.0.1

Error: Variable not supported by UPS

 

Also tried localhost with no luck.

Sorry, this doesn't seem very helpful.

 

once again thanks heaps for this.

Edited by BillClinton
fixed a text color issue.

Share this post


Link to post
17 hours ago, BillClinton said:

Sorry, this doesn't seem very helpful.

 

Actually, this one's on me. It was the wrong command syntax.

 

Please try with

/usr/bin/upsc ups@127.0.0.1

 

Share this post


Link to post
6 hours ago, jbrodriguez said:

 

Actually, this one's on me. It was the wrong command syntax.

 

Please try with


/usr/bin/upsc ups@127.0.0.1

 

 

I see it now

 

root@Tower:~# /usr/bin/upsc ups@127.0.0.1
battery.charge: 100
battery.charge.low: 30
battery.runtime: 1000
battery.type: PbAc
device.mfr: MGE UPS SYSTEMS
device.model: Nova 1100 AVR
device.type: ups
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: no
driver.version: 2.7.4.1
driver.version.data: MGE HID 1.42
driver.version.internal: 0.42
outlet.1.status: on
output.voltage: 230.0
ups.delay.shutdown: 20
ups.delay.start: 30
ups.load: 6
ups.mfr: MGE UPS SYSTEMS
ups.model: Nova 1100 AVR
ups.power.nominal: 1100
ups.productid: ffff
ups.status: OL
ups.timer.shutdown: -1
ups.timer.start: -10
ups.vendorid: 0463

 

thanks for letting me help

 

 

Share this post


Link to post

@jbrodriguez man i got to say i ben using you app for like 2 month and i love it, i really want to thank you for you great work, so thank you

Edited by mata7

Share this post


Link to post
8 hours ago, mata7 said:

@jbrodriguez man i got to say i ben using you app for like 2 month and i love it, i really want to thank you for you great work, so thank you

 

Thanks a lot mata7 ! I appreciate the comment !

Share this post


Link to post

v3.1.0 is available on App Store / Play Store !

 

3.1.0

This release implement UPS status support !

 

The latest plugin version (2.5.0) needs to be installed on the server.

 

Additionally, hardware back button handling has been restored (Android only)
 

This should support both APC and NUT.

 

It first looks for nut, then defaults to apc, if present at all.

Share this post


Link to post

Looks to be working properly on my iPhone with my APC.

 

I’m wondering if it would be possible to add a setting to disable this or perhaps add a separate screen for UPS. I find the scrolling to be a little distracting.

 

No idea how hard this would be to implement and it’s really only a cosmetic issue. Not a high priority if you decide to do it.

Share this post


Link to post

Thanks for the feedback @wgstarks and @Ashe !

 

As for a separate screen, I'm leaning towards not implementing it for now.

 

But I could look into into a setting to slow down (speed up) the scrolling rate.

 

Would that help ?

Share this post


Link to post
5 minutes ago, jbrodriguez said:

But I could look into into a setting to slow down (speed up) the scrolling rate.

 

Would that help ?

If you're going to implement special settings for the UPS feature, I think my preference would be an on/off switch or maybe show/hide. The scroll speed might be a nice touch too though.

Share this post


Link to post

I can't get my Controlr companion plugin to start. It is stuck on the 'stopped' setting.

 

I have toggled the enable controlr between yes and no with 0 effect.

I have changed the port number with 0 effect. (no conflicting ports with any dockers)

I have removed the plugin and reinstalled with 0 effect.

I have deleted the .cfg file with 0 effect.

I have removed the default Cirt Directory info with 0 effect.

 

it also wasn't working before the upgrade, but wasn't too worried about it before, but with NUT integration I was hopping to get it working.

 

here is the tail of the Server Logs

 

Oct 26 07:13:34 Tower root: plugin: creating: /boot/config/plugins/controlr/controlr-2.5.0.tgz - downloading from URL https://github.com/jbrodriguez/controlr/releases/download/2.5.0/controlr-2.5.0.tgz
Oct 26 07:13:49 Tower root: plugin: checking: /boot/config/plugins/controlr/controlr-2.5.0.tgz - MD5
Oct 26 07:13:49 Tower root: plugin: skipping: /boot/config/plugins/controlr/controlr.cfg already exists
Oct 26 07:13:49 Tower root: plugin: running: anonymous
Oct 26 07:13:50 Tower root: plugin: creating: /tmp/controlr-chkconf - from INLINE content
Oct 26 07:13:50 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
Oct 26 07:13:50 Tower root: plugin: running: /tmp/controlr-chkconf
Oct 26 07:14:20 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 07:14:24 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 07:14:24 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
Oct 26 07:16:14 Tower php: /usr/local/emhttp/plugins/advanced.buttons/script/plugin 'remove' 'controlr.plg' &>/dev/null &
Oct 26 07:16:14 Tower root: plugin: running: anonymous
Oct 26 07:17:50 Tower emhttp: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin install https://raw.githubusercontent.com/jbrodriguez/unraid/master/plugins/controlr.plg
Oct 26 07:17:51 Tower root: plugin: creating: /boot/config/plugins/controlr/controlr-2.5.0.tgz - downloading from URL https://github.com/jbrodriguez/controlr/releases/download/2.5.0/controlr-2.5.0.tgz
Oct 26 07:18:05 Tower root: plugin: checking: /boot/config/plugins/controlr/controlr-2.5.0.tgz - MD5
Oct 26 07:18:05 Tower root: plugin: creating: /boot/config/plugins/controlr/controlr.cfg - from INLINE content
Oct 26 07:18:05 Tower root: plugin: running: anonymous
Oct 26 07:18:05 Tower root: plugin: creating: /tmp/controlr-chkconf - from INLINE content
Oct 26 07:18:05 Tower root: plugin: running: /tmp/controlr-chkconf
Oct 26 07:18:20 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 07:18:20 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
Oct 26 07:18:29 Tower emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Oct 26 08:17:46 Tower kernel: mdcmd (1192): spindown 6
Oct 26 08:27:09 Tower kernel: mdcmd (1193): spindown 5
Oct 26 09:19:41 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:19:50 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 09:19:50 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir ''
Oct 26 09:19:56 Tower emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Oct 26 09:20:46 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:20:52 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:20:56 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 09:20:56 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2379 -certdir ''
Oct 26 09:21:05 Tower emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Oct 26 09:21:35 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:21:37 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:22:37 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 09:22:37 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port  -certdir ''
Oct 26 09:23:58 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:24:26 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 09:24:26 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
Oct 26 09:31:56 Tower php: /usr/local/emhttp/plugins/controlr/scripts/stop
Oct 26 09:32:14 Tower php: /usr/local/emhttp/plugins/controlr/scripts/start
Oct 26 09:32:14 Tower sudo:     root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c /usr/local/emhttp/plugins/controlr/controlr -port 2378 -certdir '/boot/config/ssl/certs'
Oct 26 09:42:43 Tower emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog

controlr.log

Share this post


Link to post

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.