Welcome to Smart Home Forum by FIBARO
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Smart Home Forum by FIBARO Team
Search the Community
Showing results for tags 'cpu'.
Found 5 results
Load of 50% on both CPU cores alternately on HC2
speedoxx007 posted a question in Home Center 2Hello, I constantly have a load of 50% on both CPU cores alternately. Why? I have already disabled Scenes and VD's and all this does not change anything. I would like to know what the problem is. Is the problem possibly with the database that needs to be optimized? I have already opened 2 support tickets and nothing happens.
CPU & RAM monitor
223 downloadsThe purpose of this scene is to monitor CPU and RAM performances. In case the performance decreased it will notify the user before the system becomes unresponsive and/or stuck. During introduction of last few releases many users have an issue with CPU overloaded and system stuck, so the idea is to catch and try to solve the problem before the system doesn't respond. The program execution has two options: 1. Stand alone using local json table 2. Using global variable for json table Using second option you can acces to current min, max, average values of CPU and current RAM load from any other sense or virtual device. --================= User configurable parameters ============================ gVarName = "" ---------------------- Global Predefined Variable name. eMail = true -------------------- send eMail notification to admin only pushNote = true -------------------- send push notification to users in push list popupNote = true -------------------- send popup notification to all mobiles sleepTime = 60 ---------------------- time between samples in seconds. batchNum = 2 ----------------------- batches/readings number per sample. batchDelay = 10 ---------------------- time between batches in seconds. ramHi = 75 ---------------------- RAM high limit. highLim1 = 50; highLim2 = 50 ---- CPU 1,2 highest load limit. normLim1 = 20; normLim2 = 20 ---- CPU 1,2 normal load limit. sample2avg1 = 20; sample2avg2 = 20 ---- CPU 1,2 number of samples to average. --============================================================================ How it works?: (based on default values of user configurable parameters) The program checks if any global variable defined, if not local table in use. Every 60 seconds (sleepTime) the program will get two readings (batchNum) within 10 seconds (batchDelay) of CPU 1 and 2 load. After 20 samples (sample2avg1/sample2avg2) average load of each CPU and RAM is calculating and in case the CPU load is over 50% (highLim1/highLim2) and/or RAM is higher than 75% (ramHi) notification will be send out by eMail, push notification and popup mobile notification. Please note that popup notification will be received by all mobiles in list of the system. If after overload the CPU average load drops below 20% (normLim1/normLim2) and/or RAM drops below 75%, user will be notified as well. Change default values according to your needs, but please pay attention if you reduce the sleepTime and number of samples (sample2avg1/sample2avg2) , the scene could catch momentary peak of load which is not necessarily represents system performances.
Mem & CPU, set icon vs some coding
twannieguitar posted a question in Home Center 2Hi I was wondering,........what would be a better choice... - Set an icon on a VD each loop (e.g. 10 seconds) or -set a variabele in memory (string) and check that variabele (==nil and comparing with a string) each loop to determine if a new iocon needs to be set? I hope you understand what I mean...
CPU Idle jumps when Web page Open, but not visible
dowoco posted a question in Home Center 2Has anyone noticed that the Diagnostics panel shows very high CPU usage when left open, but not visible? I have Chrome and I have the HC2 Diagnostics panel open in a Tab. I have as few other Tabs open. When I use the other Tabs for more than 1 minute and then look back at the HC2 Diagnostics Tab, I find the usage has jumped into the 90% range. If you leave the HC2 Diagnostics Tab open then the usage fall back down to something resembling normal. Does this mean: Only when the HC2 Diagnostics panel is open but not visible the usage goes to 90% for some reason? Are the local scripts running in the background? When not looking at the HC2 web pages the HC2 is always using >90% in background? Is the default for the HC2 to be >90% CPU usage and only when you open the site does the usage come down? Is this this a bug? Is this only local to my computer and browser? Any help would be appreciated.
Strange CPU load
sonnyboy posted a question in Home Center 2