Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of memory... #1

Open
GGRIZLI opened this issue Nov 4, 2018 · 9 comments
Open

Out of memory... #1

GGRIZLI opened this issue Nov 4, 2018 · 9 comments

Comments

@GGRIZLI
Copy link

GGRIZLI commented Nov 4, 2018

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
Copy link
Owner

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
Copy link
Author

GGRIZLI commented Nov 6, 2018 via email

@GGRIZLI
Copy link
Author

GGRIZLI commented Nov 7, 2018 via email

@SpoturDeal
Copy link
Owner

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
Copy link
Author

GGRIZLI commented Nov 8, 2018 via email

@GGRIZLI
Copy link
Author

GGRIZLI commented Nov 8, 2018 via email

@SpoturDeal
Copy link
Owner

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
Copy link
Author

GGRIZLI commented Nov 9, 2018 via email

@GGRIZLI
Copy link
Author

GGRIZLI commented Nov 10, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants