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 'load'.
Found 4 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.
FGS223 Flash mode only once with load/contactor
Bobone posted a question in Double Switch 2Want to use the double switch for two different cases for one lamp group: - continuous Q1 - flash mode Q2 I want Q1 and Q2 to be connected. S1 and S2 are not used. With Q2 disconnected, I can hear the switch 2 flashing. When they are connected, I get ONE single flash. Params: 15:5, 16:0, 18:20, 20: tested 0 and 2 Actually, my load is a relay contactor (for the real 6 kW load), but the real load is not yet connected... What is wrong?
Hi there, I'm a developer but I'm fairly a newbie with LUA language and I'm having some problems undestanding the scope of the variables/functions, or maybe I'm just writing some garbage code... I need your help I want to use the native LUA function "load()" to evaluate a string and let it parse it as LUA code. I'm following LUA 5.2 documentation ( http://www.lua.org/manual/5.2/manual.html#pdf-load ) to use function, but I keep getting this error "attempt to call global "load" (a nil value) and I can't solve it. Here's my chunk of code: And here's the error Btw I'm using load() to make sure mainloop code is called right after button press, and not after 2/3 secs. Hope someone can help me out =) Thank you!