Installed Glances add-on v0.2.0 to HA 0.89.1 running on RPi with Hass.io Resin OS 2.3.0+rev1.
When launching the web UI an it just times out. No HTTP error code, no nothing. Looks much like the same issue that dmoses1969 had.
The addition of Ingress makes this add-on not accessible directly. If you have added Glances via an iframe panel, this release will break that.
However, you can enable this again by going into the add-on configuration. A new section show is visible: “Network”. Enter port 61208 (or anything else if you want) in the disabled field. Hit the “SAVE” followed by the “RESTART” button to make your iframe work as before.
An option to add an Ingress capable add-on to the sidebar menu automatically is expected to land in Home Assistant 0.92.
Besides this all, this release mainly contains maintenance upgrades, changes, and improvements.
Is the Asus Tinkerboard S supported by this Glances Hass.io add-on? I could never get it working. Saw ARMv7 support was added in v0.30 but I still run into the same error message below for v0.30 and the latest 0.40. I turned off Protection mode and changed add-on settings back to default, but still having issues.
ValueError: invalid attr name 'io_counters'
The Home Assistant System Health box says architecture is armv7l. Not sure if that makes a difference.
Full add-on error log below.
Hass.io Add-on: Glances
A cross-platform system monitoring tool
Add-on version: 0.4.0
You are running the latest version of this add-on.
System: HassOS 2.10 (armv7 / tinker)
Home Assistant version: 0.91.4
Supervisor version: 160
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing…
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] glances.sh: executing…
[cont-init.d] glances.sh: exited 0.
[cont-init.d] nginx.sh: executing…
[cont-init.d] nginx.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
INFO: Starting Glances…
Traceback (most recent call last):
File “/usr/local/bin/glances”, line 11, in
load_entry_point(‘Glances==3.1.0’, ‘console_scripts’, ‘glances’)()
File “/usr/local/lib/python3.7/site-packages/glances/init.py”, line 140, in main
start(config=config, args=args)
File “/usr/local/lib/python3.7/site-packages/glances/init.py”, line 106, in start
mode = GlancesMode(config=config, args=args)
File “/usr/local/lib/python3.7/site-packages/glances/webserver.py”, line 41, in init
self.stats.update()
File “/usr/local/lib/python3.7/site-packages/glances/stats.py”, line 222, in update
self._plugins[p].update()
File “/usr/local/lib/python3.7/site-packages/glances/plugins/glances_processcount.py”, line 71, in update
glances_processes.update()
File “/usr/local/lib/python3.7/site-packages/glances/processes.py”, line 247, in update
ad_value=None)
File “/usr/local/lib/python3.7/site-packages/glances/processes.py”, line 246, in
self.processlist = [p.info for p in psutil.process_iter(attrs=standard_attrs,
File “/usr/local/lib/python3.7/site-packages/psutil/init.py”, line 1562, in process_iter
yield add(pid)
File “/usr/local/lib/python3.7/site-packages/psutil/init.py”, line 1539, in add
proc.info = proc.as_dict(attrs=attrs, ad_value=ad_value)
File “/usr/local/lib/python3.7/site-packages/psutil/init.py”, line 623, in as_dict
", ".join(map(repr, invalid_names))))
ValueError: invalid attr name ‘io_counters’
This addon seems to be flooding my HassIO system log with authentication requests. See a sample of the log below.
I believe this has been happening since the initial release of the addon.
I don’t get this for any other addon, and it’s mildly annoying that the entire log gets overrun with these messages after ~30 minutes, pushing out any other useful information.
Is there a way to change the authentication so it’s persistent, and only logs in when the addon starts?
19-04-22 14:03:48 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:03:48 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
19-04-22 14:04:50 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:04:50 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
19-04-22 14:05:51 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:05:51 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
19-04-22 14:06:52 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:06:52 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
19-04-22 14:07:53 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:07:53 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
19-04-22 14:08:55 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:08:55 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
19-04-22 14:09:56 INFO (MainThread) [hassio.auth] Auth request from a0d7b954_glances for _USERNAME_
19-04-22 14:09:56 INFO (MainThread) [hassio.auth] Success login from _USERNAME_
I added the galande add-on in Hassio with nabucase remote, everything works fine and ingress is awesome. However, I can’t get the sensors to work, I added config as example but nothing. Any thoughts,what I have missed?
Home Assistant wants to connect to a port. Individual components itself do not support Ingress. So you have to assign a port in the add-on configuration in the Network section in order for the component to work.
019-04-23 17:27:34 ERROR (MainThread) [glances_api] Can not load data from Glances API
2019-04-23 17:27:34 ERROR (MainThread) [homeassistant.components.glances.sensor] Unable to fetch data from Glances
2019-04-23 17:28:35 ERROR (MainThread) [glances_api] Can not load data from Glances API
2019-04-23 17:28:35 ERROR (MainThread) [homeassistant.components.glances.sensor] Unable to fetch data from Glances
2019-04-23 17:30:06 ERROR (MainThread) [glances_api] Can not load data from Glances API
2019-04-23 17:30:06 ERROR (MainThread) [homeassistant.components.glances.sensor] Unable to fetch data from Glances
2019-04-23 17:32:07 ERROR (MainThread) [glances_api] Can not load data from Glances API
2019-04-23 17:32:07 ERROR (MainThread) [homeassistant.components.glances.sensor] Unable to fetch data from Glances
2019-04-23 17:34:38 ERROR (MainThread) [glances_api] Can not load data from Glances API
2019-04-23 17:34:38 ERROR (MainThread) [homeassistant.components.glances.sensor] Unable to fetch data from Glances