👨🏼💻 Senior Software Engineer • 🚵♂️ Mountainbiker • ⛱️ Part-Time Carioca
Formerly at Adobe and One Inside.
A SMC stats widget for Übersicht
License: Apache License 2.0
👨🏼💻 Senior Software Engineer • 🚵♂️ Mountainbiker • ⛱️ Part-Time Carioca
Formerly at Adobe and One Inside.
Hi
I'm trying to install iStats in MacOS 11.1. (Big Sur) and I'm getting the following error:
I'm not sure what I'm doing wrong here, the folder of the Ruby version is 2.6 in my case and not 2.3. I checked also the iStats Ruby Gem page in Github that they have some ideas for troubleshooting, but with no luck.
Any ideas?
Thanks in advance!!!
Hello,
really like your widget :)
but how do i position it on the right side of the screen?
i tried to set the right:0% parameter instead of the left but it won't work...
The graphics flash / flicker occasionally, seemingly without cause / correlation. Can anyone confirm / suggest fixes?
This doesn't work nothing shows up I'm new to Übersicht
i had istats working before cleaning up my disc so some things were erased + i updated to ventura and cannot figure out how to install. tried a bunch of things on other forums and posts but this is the main issue when i try to install, and i have xcode command lines installed.
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0 directory. /Library/Ruby/Site/2.6.0/rubygems/installer.rb:712:in
verify_gem_home'
/Library/Ruby/Site/2.6.0/rubygems/installer.rb:902:in pre_install_checks' /Library/Ruby/Site/2.6.0/rubygems/installer.rb:302:in
install'
/Library/Ruby/Site/2.6.0/rubygems/resolver/specification.rb:104:in install' /Library/Ruby/Site/2.6.0/rubygems/request_set.rb:194:in
block in install'
/Library/Ruby/Site/2.6.0/rubygems/request_set.rb:182:in each' /Library/Ruby/Site/2.6.0/rubygems/request_set.rb:182:in
install'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:210:in install_gem' /Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:226:in
block in install_gems'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:219:in each' /Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:219:in
install_gems'
/Library/Ruby/Site/2.6.0/rubygems/commands/install_command.rb:167:in execute' /Library/Ruby/Site/2.6.0/rubygems/command.rb:323:in
invoke_with_build_args'
/Library/Ruby/Site/2.6.0/rubygems/command_manager.rb:185:in process_args' /Library/Ruby/Site/2.6.0/rubygems/command_manager.rb:149:in
run'
/Library/Ruby/Site/2.6.0/rubygems/gem_runner.rb:51:in run' /usr/bin/gem:21:in
Add support for showing GPU temperature.
According to VirutalSMC the GPU temperature is available with SMC key TCGC
. By the comment in #22 i assume that this key can vary from hardware to hardware and possibly should be made configurable.
Want to show all the "Extra Stats" from iStats
The battery percentage is not accurate, shows always 4-5% less!
Hi there,
So I recently downloaded and installed the iStats widget, and I've noticed that the battery level tends to be off by 5% or so. Not sure if I should be that bothered about this, but I'd just rather not have to check my (auto-hide) menu bar every time I want to see my battery level if possible.
Any help would be appreciated.
-DA
Widget should be reimplemented using the new React JSX syntax option.
The rewrite should also include
With #358 fixed it should be now possible to properly extract UI components (e.g. Error, Stats, Stat).
Positioning should be simplified by providing options to position the widget in a corner (top, left, bottom, right). Additionally the stats should left/right aligned to the specified side accordingly.
Hi,
Thx for the great widget! Have been using it for quite some time on High Sierra. With an upgrade to Mojave, the widget stoped rendering and now displays the output of istats command rather than dials themselves. The other Übersicht widgets I use work correctly.
Can you please help fix the issue?
The following is displayed on the desktop:
--- CPU Stats ---
CPU temp: 52.81°C �[32m▁�[0m�[32m▂�[0m�[93m▃�[0m�[93m▅�[0m▆▇--- Fan Stats ---
Total fans in system: 2
Fan 0 speed: 2285 RPM �[32m▁�[0m�[32m▂�[0m▃▅▆▇
Fan 1 speed: 2104 RPM �[32m▁�[0m�[32m▂�[0m▃▅▆▇--- Battery Stats ---
Battery health: Good
Cycle count: 80 �[32m▁�[0m�[32m▂�[0m▃▅▆▇ 8.0%
Max cycles: 1000
Current charge: 6365 mAh �[32m▁�[0m�[32m▂�[0m�[32m▃�[0m�[32m▅�[0m�[32m▆�[0m�[32m▇�[0m 100%
Maximum charge: 6421 mAh �[32m▁�[0m�[32m▂�[0m�[32m▃�[0m�[32m▅�[0m�[32m▆�[0m�[32m▇�[0m 96.3%
Design capacity: 6669 mAh
Battery temp: 33.3°C--- Extra Stats ---
TG0D GPU 0 Die temp: 57.81°C �[32m▁�[0m�[32m▂�[0m�[93m▃�[0m�[93m▅�[0m▆▇
It seems to be breaking my desktop all of a sudden where all icons become unclickable. If I disable this widget they become clickable again. I wasn't having this issue until recently.
Under some circumstances the istats.sh
does not honor the RVM environment propertly and the widget does not render anything as reported by @thesp0nge.
I managed to add extra (GPU) to the list. Is there an easy way to change the order of icons.
I'd like the GPU in second place...
Any help appreciated!
How to enable GPU temp for iMac? in istats gpu temp is shown as TG0D (GPU 0 Die), TG1D (GPU 1 Die), TG0P (proximity). iMac has Radeon Pro Vega graphic card-
The line in index.jsx 'extra.tcgc-peci-gpu-temp' is meant for intel gpu in mbp right?
As of now the number of displayed fans is exactly 2 not taking any variations into account. Display of the fans should be implemented in a dynamic fashion so that for other MacBook models with only on fan only one is displayed.
I followed the instructions to install the widget properly but an error is being shown in place of the widget.
Invariant Violation: Objects are not valid as a React child (found: Error: env: ruby_executable_hooks: No such file or directory
). If you meant to render a collection of children, use an array instead.
iStats works fine in the terminal and the command
variable in index.jsx
is pointing to my iStats binary. Not sure what's going wrong as I'm new to Übersicht and stuff.
System: Mac OSX Mojave 10.14.6
Ruby: ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin16]
Gem: ~/.rvm/rubies/ruby-2.5.1/bin/gem
iStats: /usr/local/bin/istats
Uber: v1.4
Hi,
i can't get it working ! I install the gem istats, the bash script work but i see nothing in the ubersicht debug console. No errors, but the XHR calls are empty.
Any ideas ?
How do i fix/ counteract this? The widget still works but the "top" of the circles is now at 3 o'clock.
Repository needs to follow the instructions in the Übersicht README before submission to the community.
Nvm
Hello,
first of all, thx for your great development and widget. I am using it with Ubersicht on my Mac. I only have one problem:
I changed the position to the bottom right corner. I enabled
'cpu.cpu-temp',
'fan.fan-0-speed',
'battery.current-charge'
Of course, normally the fan is not spinning at all, and stays in idle. Due to that, the Current Battery Charge moves to the left and I have a free space on the right as the fan symbol hides itself. I would prefer:
Fan Speed - left
Cpu Temp - middle
Current Battery Charge right
And when the fan is not spinning and hides itself CPU Temp and Battery charge stays in place and the free space is on the left side.
Is there anything I could change in the index.jsx file to make that happen? Or even better, no matter if the fan is idle or not, the symbol stays.
Thanks in advance!
Spinning animation not updated on High Sierra and Mojave.
Circle is updated, spinning animation not.
Not sure if this is an issue, but I had to change the iStats command path in index.js to command: 'iStats'
Warning: Each child in an array or iterator should have a unique "key" prop.
Check the top-level render call using
I get this error every time the Mac wakes from sleep or when I login.
Running the latest istats/ubersicht on Big Sur beta 8
Any remedy?
[Error] Failed to load resource: The network connection was lost. (run, line 0)
[Error] Failed to load resource: The network connection was lost. (run, line 0)
[Error] Failed to load resource: The network connection was lost. (run, line 0)
[Error] Invariant Violation: Objects are not valid as a React child (found: Error: error running command). If you meant to render a collection of children, use an array instead.
in div
in Error
(anonymous function) (client.js:1:30533)
throwOnInvalidObjectType (client.js:1:247380)
(anonymous function) (client.js:1:262806)
reconcileChildrenAtExpirationTime (client.js:1:270092)
reconcileChildren (client.js:1:269871)
(anonymous function) (client.js:1:288470)
performUnitOfWork (client.js:1:334759)
workLoop (client.js:1:335598)
callCallback (client.js:1:37840)
dispatchEvent
invokeGuardedCallback (client.js:1:37927)
invokeGuardedCallback (client.js:1:39026)
replayUnitOfWork (client.js:1:344446)
renderRoot (client.js:1:336674)
performWorkOnRoot (client.js:1:351020)
performWork (client.js:1:349356)
performSyncWork (client.js:1:348268)
requestWork (client.js:1:346645)
scheduleWork$1 (client.js:1:342703)
(anonymous function) (client.js:1:355658)
(anonymous function) (client.js:1:364643)
legacyRenderSubtreeIntoContainer (client.js:1:367460)
render (client.js:1:769967)
redraw (client.js:1:766132)
[Error] The above error occurred in the
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.
(anonymous function) (client.js:1:303867)
logError (client.js:1:303886)
(anonymous function) (client.js:1:315140)
callCallback (client.js:1:222115)
commitUpdateQueue (client.js:1:223057)
commitLifeCycles (client.js:1:306744)
commitAllLifeCycles (client.js:1:324784)
callCallback (client.js:1:37840)
dispatchEvent
invokeGuardedCallback (client.js:1:37927)
invokeGuardedCallback (client.js:1:39026)
commitRoot (client.js:1:328295)
completeRoot (client.js:1:351512)
performWorkOnRoot (client.js:1:351059)
performWork (client.js:1:349356)
performSyncWork (client.js:1:348268)
requestWork (client.js:1:346645)
scheduleWork$1 (client.js:1:342703)
(anonymous function) (client.js:1:355658)
(anonymous function) (client.js:1:364643)
legacyRenderSubtreeIntoContainer (client.js:1:367460)
render (client.js:1:769967)
redraw (client.js:1:766132)
[Error] Failed to load resource: The network connection was lost. (run, line 0)
[Error] Failed to load resource: The network connection was lost. (run, line 0)
I am trying to write the code to display the CPU in Fahrenheit rather than Celsius but i can't seem to get it right, everything I have tried has broken the script. All help will be appreciated
React components should be tested with testing-library/react
if possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.