SpoturDeal / MMM-Fibaro

A Magic Mirror module to read data from your Fibaro Home Center
MIT License
3 stars 0 forks source link

Out of memory... #1

Open GGRIZLI opened 5 years ago

GGRIZLI commented 5 years ago

When i use Fibaro module in MagicMirror (MMM-Fibaro) I get after 7-8 hours Out Of Memory error and screen become black. When i press CTRL + R to reload or restart MagicMirror then is OK again with 7-8 hours, then again black screen... If I delete Fibaro module from MagicMirror then is all OK... I was testing fibaro module like it is... How to solve this problem?

SpoturDeal commented 5 years ago

Hello @GGRIZLI ,

Sorry to hear the module is giving you problems. I am not able to reproduce your error can you install MMM-SystemStats and check if the memory is filling up. This apps shows stats of memory use if it fills up slowly you would see Free RAM getting smaller over days.

GGRIZLI commented 5 years ago

Hi.

Yes, in log I see that FIBARO_READ shows up constantly and then after 7-8 hours shows up OUT OF MEMORY ERROR (in log) and screen become black. After Restart MM (CTRL+R) then is all ok with another 7-8 hours.... If I disable FIBARO module, then all is OK...

Yes, I can install MMM-SystemStats and we will see whats happend. Tnx for now...

BR,

GRIZLI

From: Carl notifications@github.com Sent: Monday, November 5, 2018 11:03 AM To: SpoturDeal/MMM-Fibaro MMM-Fibaro@noreply.github.com Cc: GGRIZLI gorazd.vozlic@madghost.si; Mention mention@noreply.github.com Subject: Re: [SpoturDeal/MMM-Fibaro] Out of memory... (#1)

Hello @GGRIZLI https://github.com/GGRIZLI ,

Sorry to hear the module is giving you problems. I am not able to reproduce your error can you install MMM-SystemStats and check if the memory is filling up. This apps shows stats of memory use if it fills up slowly you would see Free RAM getting smaller over days.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SpoturDeal/MMM-Fibaro/issues/1#issuecomment-435819082 , or mute the thread https://github.com/notifications/unsubscribe-auth/Apyh_UfriFIASFu_Nul33xTqjhQTGLMDks5usAzagaJpZM4YNdTw . https://github.com/notifications/beacon/Apyh_VrA_NHv4M6c_LDJrAiBiVSjqpF7ks5usAzagaJpZM4YNdTw.gif

GGRIZLI commented 5 years ago

Hi...

I've installed MMM-SystemStats module on MM and here is some pictures...

When monitor is OFF then CPU temp is about 55-60˙C, when is ON then CPU temp is about 80-82˙C. Monitor is connected via HDMI cable.

And here is some pictures of MM Log file. When I start MM, between 4-5 hours and what's hapends on about 7-8 hours....

When Fatal error – out of memory shows up, screen of MM goes black, only mouse cursor is visible. When I press CTRL+R to restart MM, then is all OK about 7-8 hours and then again...

Is there any solution?

BR,

GRIZLI

From: Carl notifications@github.com Sent: Monday, November 5, 2018 11:03 AM To: SpoturDeal/MMM-Fibaro MMM-Fibaro@noreply.github.com Cc: GGRIZLI gorazd.vozlic@madghost.si; Mention mention@noreply.github.com Subject: Re: [SpoturDeal/MMM-Fibaro] Out of memory... (#1)

Hello @GGRIZLI https://github.com/GGRIZLI ,

Sorry to hear the module is giving you problems. I am not able to reproduce your error can you install MMM-SystemStats and check if the memory is filling up. This apps shows stats of memory use if it fills up slowly you would see Free RAM getting smaller over days.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SpoturDeal/MMM-Fibaro/issues/1#issuecomment-435819082 , or mute the thread https://github.com/notifications/unsubscribe-auth/Apyh_UfriFIASFu_Nul33xTqjhQTGLMDks5usAzagaJpZM4YNdTw . https://github.com/notifications/beacon/Apyh_VrA_NHv4M6c_LDJrAiBiVSjqpF7ks5usAzagaJpZM4YNdTw.gif

SpoturDeal commented 5 years ago

Hi,

I have just uploaded a new version. the thing is that I gave up on Fibaro and switch to Domoticz and am not using the module anymore, however i made a small change in the script.

The only parts that consume memory are some variables

therefor i try to delete them line 66 tot 68

delete text;
delete power;
delete data; 

It is possible that this will give an error as well because data is an object that is not defined by var. If this error appears just remark the line out with double /

Let me know if it works.

GGRIZLI commented 5 years ago

Hi.

TNX. I will try today and let you know.

Tnx again.

From: Carl notifications@github.com Sent: Wednesday, November 7, 2018 9:35 AM To: SpoturDeal/MMM-Fibaro MMM-Fibaro@noreply.github.com Cc: GGRIZLI gorazd.vozlic@madghost.si; Mention mention@noreply.github.com Subject: Re: [SpoturDeal/MMM-Fibaro] Out of memory... (#1)

Hi,

I have just uploaded a new version. the thing is that I gave up on Fibaro and switch to Domoticz and am not using the module anymore, however i made a small change in the script.

The only parts that consume memory are some variables

therefor i try to delete them line 66 tot 68

delete text; delete power; delete data;

It is possible that this will give an error as well because data is an object that is not defined by var. If this error appears just remark the line out with double /

Let me know if it works.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SpoturDeal/MMM-Fibaro/issues/1#issuecomment-436545551 , or mute the thread https://github.com/notifications/unsubscribe-auth/Apyh_dyxaoRBRmW5RLXvy0cmg7nkdgWLks5usptEgaJpZM4YNdTw . https://github.com/notifications/beacon/Apyh_SgdcsBTZYGSfbSTMGxBRSZBLj3-ks5usptEgaJpZM4YNdTw.gif

GGRIZLI commented 5 years ago

Hi.

Just wondering.

I use Fibaro Home Center now about 4 years and I have all Fibaro modules except some Multisensor 6 from AEOTEC... I looking to other alternatives now, because Fibaro seems to sleep. But yesterday, someone from Fibaro get some info about something new, something that Fibaro push back to No. 1... But we must waiting...a little....

So, how domoticz work and what i need to start up???

From: Carl notifications@github.com Sent: Wednesday, November 7, 2018 9:35 AM To: SpoturDeal/MMM-Fibaro MMM-Fibaro@noreply.github.com Cc: GGRIZLI gorazd.vozlic@madghost.si; Mention mention@noreply.github.com Subject: Re: [SpoturDeal/MMM-Fibaro] Out of memory... (#1)

Hi,

I have just uploaded a new version. the thing is that I gave up on Fibaro and switch to Domoticz and am not using the module anymore, however i made a small change in the script.

The only parts that consume memory are some variables

therefor i try to delete them line 66 tot 68

delete text; delete power; delete data;

It is possible that this will give an error as well because data is an object that is not defined by var. If this error appears just remark the line out with double /

Let me know if it works.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SpoturDeal/MMM-Fibaro/issues/1#issuecomment-436545551 , or mute the thread https://github.com/notifications/unsubscribe-auth/Apyh_dyxaoRBRmW5RLXvy0cmg7nkdgWLks5usptEgaJpZM4YNdTw . https://github.com/notifications/beacon/Apyh_SgdcsBTZYGSfbSTMGxBRSZBLj3-ks5usptEgaJpZM4YNdTw.gif

SpoturDeal commented 5 years ago

Hello

My fibaro froze, did a few fully restarts but always after 3 or 4 months it gave me problems.

I build my domoticz on a Raspberry Pi 3 with an AEON LABS USB Z-WAVE PLUS CONTROLLER around 45€ (https://www.robbshop.nl/aeon-labs-usb-adapter-op-batterijen-en-zwave-plus)

The Fibaro used 45 to 60 Watt in normal operation my Raspberry less then 10 Watt. it runs on a 12Volt 1A power supply.

Just download the software from domoticz.com (https://www.domoticz.com/downloads/)

I have implemented a MQTT server and Node-red (All free) (https://www.domoticz.com/wiki/MQTT)

Am able to connect all kind of devices I have Z-Wave and WIFI devices even use some pins from the Raspberry to detect my mailbox opening and some-one ringing my front door.

It works with all Fibaro devices.

Good luck

GGRIZLI commented 5 years ago

Hi.

I have both home – The RPI and USB z-wave stick. Well, when i have more free time, then i will try...

Now, I testing changed MMM-Fibaro module, but i must wait about 7 hours L

Tnx,

BR,

GRIZLI

GGRIZLI commented 5 years ago

Hi.

I just want to inform you, that OUT OF MEMORY error still exists, and blank screen appears on MM L

BR,

GRIZLI

From: Carl notifications@github.com Sent: Thursday, November 8, 2018 8:32 PM To: SpoturDeal/MMM-Fibaro MMM-Fibaro@noreply.github.com Cc: GGRIZLI gorazd.vozlic@madghost.si; Mention mention@noreply.github.com Subject: Re: [SpoturDeal/MMM-Fibaro] Out of memory... (#1)

Hello

My fibaro froze, did a few fully restarts but always after 3 or 4 months it gave me problems.

I build my domoticz on a Raspberry Pi 3 with an AEON LABS USB Z-WAVE PLUS CONTROLLER around 45€ (https://www.robbshop.nl/aeon-labs-usb-adapter-op-batterijen-en-zwave-plus)

The Fibaro used 45 to 60 Watt in normal operation my Raspberry less then 10 Watt. it runs on a 12Volt 1A power supply.

Just download the software from domoticz.com (https://www.domoticz.com/downloads/)

I have implemented a MQTT server and Node-red (All free) (https://www.domoticz.com/wiki/MQTT)

Am able to connect all kind of devices I have Z-Wave and WIFI devices even use some pins from the Raspberry to detect my mailbox opening and some-one ringing my front door.

It works with all Fibaro devices.

Good luck

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SpoturDeal/MMM-Fibaro/issues/1#issuecomment-437126773 , or mute the thread https://github.com/notifications/unsubscribe-auth/Apyh_cXfiKOdzRDgcXtVuMoQZQ3kilCkks5utIaqgaJpZM4YNdTw . https://github.com/notifications/beacon/Apyh_YnSymD6XFjZcDRdukZwI_JNmpA3ks5utIaqgaJpZM4YNdTw.gif