{"action":"created","issue":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/443","labels_url":"https://api.github.com/repos/pimatic/pimatic/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic/issues/443/comments","events_url":"https://api.github.com/repos/pimatic/pimatic/issues/443/events","html_url":"https://github.com/pimatic/pimatic/issues/443","id":53201059,"number":443,"title":"pimatic frequent crash : how to debug?","user":{"login":"Yves911","id":7493675,"avatar_url":"https://avatars.githubusercontent.com/u/7493675?v=3","gravatar_id":"","url":"https://api.github.com/users/Yves911","html_url":"https://github.com/Yves911","followers_url":"https://api.github.com/users/Yves911/followers","following_url":"https://api.github.com/users/Yves911/following{/other_user}","gists_url":"https://api.github.com/users/Yves911/gists{/gist_id}","starred_url":"https://api.github.com/users/Yves911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yves911/subscriptions","organizations_url":"https://api.github.com/users/Yves911/orgs","repos_url":"https://api.github.com/users/Yves911/repos","events_url":"https://api.github.com/users/Yves911/events{/privacy}","received_events_url":"https://api.github.com/users/Yves911/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2014-12-31T20:04:41Z","updated_at":"2015-04-08T09:29:48Z","closed_at":"2015-01-09T19:25:33Z","body":"my pimatic installation crash very often since about 1 week.\r\n\r\nMy setup is the following :\r\n- pimatic running on a raspberry pi (model B)\r\n- pimatic is connected to an arduino with homeduino\r\n- the raspberry pi filesystem is on an external disk (to avoid SD corruption things)\r\n- node.js version is v0.10.24\r\n\r\nTo enable debugging i have the following params into the pimatic config:\r\n```\r\n\"settings\": {\r\n    \"debug\": true,\r\n    \"logLevel\": \"debug\"\r\n```\r\n\r\nUnfortunately i have random crashes, for examples\r\n\r\n```\r\n20:49:34.207 [pimatic-homeduino] received: [ 688, 1970, 4264, 10088 ] 020102010201010202010201020101020201010202010102010201020201020101020201010202010201020102010201020102010201020102010201010202010102010201020201020102010102010202010102020101020201020102010201020103\r\n20:49:34.251 [pimatic-homeduino] generic:  { id: 1111, type: 2, positive: true, value: 378528 }\r\n20:49:42.920 [pimatic-homeduino] data: \"RF receive 552 2105 4265 8452 0 0 0 0 0101020101010101020201010102010101010202010101020101010201010102010201010101010102010303\"\r\n20:49:42.961 [pimatic-homeduino] received: [ 552, 2105, 4265, 8452 ] 0101020101010101020201010102010101010202010101020101010201010102010201010101010102010303\r\n20:49:43.005 [pimatic-homeduino] weather3:  { id: 131, channel: 2, temperature: -0.2, humidity: 84 }\r\n20:49:43.085 [pimatic-homeduino] data: \"ERR checksum_error\"\r\n20:49:43.137 [pimatic-homeduino] got checksum_error while reading dht sensor, retrying: 0 of 5\r\n20:49:43.378 [pimatic-homeduino] data: \"RF receive 520 2139 4299 8452 0 0 0 0 0101020101010101020201010102010101010202010101020101010201010102010201010101010102010303\"\r\n20:49:43.420 [pimatic-homeduino] received: [ 520, 2139, 4299, 8452 ] 0101020101010101020201010102010101010202010101020101010201010102010201010101010102010303\r\n20:49:43.462 [pimatic-homeduino] weather3:  { id: 131, channel: 2, temperature: -0.2, humidity: 84 }\r\n20:49:45.692 [pimatic-homeduino] data: \"ACK 19.1 55.3\"\r\n20:49:51.066 [pimatic-homeduino] data: \"RF receive 688 4264 1971 10088 0 0 0 0 010201020102020101020102010202010102020101020201020102010102010202010102020101020102010201020102010201020102010201020102020101020201020102010102010201020201020101020201010202010102010201020201020103\"\r\n20:49:51.109 [pimatic-homeduino] received: [ 688, 1971, 4264, 10088 ] 020102010201010202010201020101020201010202010102010201020201020101020201010202010201020102010201020102010201020102010201010202010102010201020201020102010102010202010102020101020201020102010102010203\r\n20:49:51.153 [pimatic-homeduino] generic:  { id: 1111, type: 2, positive: true, value: 378531 }\r\n20:49:54.753 [pimatic-homeduino] data: \"ACK 19.1 55.3\"\r\n20:50:04.556 [pimatic-mobile-frontend] rendering theme: graphite/water\r\ncoffee-cache: compiling coffee-script file \"themes/graphite/water.coffee\"...Done\r\ncoffee-cache: compiling coffee-script file \"themes/graphite/base.coffee\"...Done\r\n20:50:05.805 [pimatic-homeduino] data: \"PING\"\r\n20:50:10.134 [pimatic-mobile-frontend] rendering theme finished\r\n20:50:10.307 [pimatic-homeduino] data: \"RF receive 688 4264 1969 10092 0 0 0 0 010201020102020101020102010202010102020101020201020102010102010202010102020101020102010201020102010201020102010201020102020101020201020102010102010201020201020101020201010202010102010202010201020103\"\r\n20:50:10.335 [pimatic-homeduino] received: [ 688, 1969, 4264, 10092 ] 020102010201010202010201020101020201010202010102010201020201020101020201010202010201020102010201020102010201020102010201010202010102010201020201020102010102010202010102020101020201020101020102010203\r\n20:50:10.399 [pimatic-homeduino] generic:  { id: 1111, type: 2, positive: true, value: 378535 }\r\n20:50:12.032 [pimatic-homeduino] data: \"RF receive 532 1914 3924 7800 0 0 0 0 0101020201020102010101010101010102020201010201020102010102010101020201010101010102010303\"\r\n20:50:12.089 [pimatic-homeduino] received: [ 532, 1914, 3924, 7800 ] 0101020201020102010101010101010102020201010201020102010102010101020201010101010102010303\r\n20:50:12.147 [pimatic-homeduino] weather3:  { id: 212, channel: 1, temperature: 11.5, humidity: 50 }\r\n20:50:12.473 [pimatic-homeduino] data: \"RF receive 489 1958 3970 7812 0 0 0 0 0101020201020102010101010101010102020201010201020102010102010101020201010101010102010303\"\r\n20:50:12.507 [pimatic-homeduino] received: [ 489, 1958, 3970, 7812 ] 0101020201020102010101010101010102020201010201020102010102010101020201010101010102010303\r\n20:50:12.539 [pimatic-homeduino] weather3:  { id: 212, channel: 1, temperature: 11.5, humidity: 50 }\r\n20:50:24.759 [pimatic-homeduino] data: \"ACK 19.1 55.2\"\r\n20:50:25.255 [pimatic-homeduino] data: \"RF receive 687 4266 1970 10084 0 0 0 0 010201020102020101020102010202010102020101020201020102010102010202010102020101020102010201020102010201020102010201020102020101020201020102010102010201020201020101020201010202010102020101020201010203\"\r\n20:50:25.309 [pimatic-homeduino] received: [ 687, 1970, 4266, 10084 ] 020102010201010202010201020101020201010202010102010201020201020101020201010202010201020102010201020102010201020102010201010202010102010201020201020102010102010202010102020101020201010202010102020103\r\n20:50:25.361 [pimatic-homeduino] generic:  { id: 1111, type: 2, positive: true, value: 378538 }\r\nSegmentation fault\r\n```\r\n\r\nHow can i make pimatic more verbose or how can i track where the issue is coming from?"},"comment":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/comments/90860356","html_url":"https://github.com/pimatic/pimatic/issues/443#issuecomment-90860356","issue_url":"https://api.github.com/repos/pimatic/pimatic/issues/443","id":90860356,"user":{"login":"KlausFeld","id":11380744,"avatar_url":"https://avatars.githubusercontent.com/u/11380744?v=3","gravatar_id":"","url":"https://api.github.com/users/KlausFeld","html_url":"https://github.com/KlausFeld","followers_url":"https://api.github.com/users/KlausFeld/followers","following_url":"https://api.github.com/users/KlausFeld/following{/other_user}","gists_url":"https://api.github.com/users/KlausFeld/gists{/gist_id}","starred_url":"https://api.github.com/users/KlausFeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KlausFeld/subscriptions","organizations_url":"https://api.github.com/users/KlausFeld/orgs","repos_url":"https://api.github.com/users/KlausFeld/repos","events_url":"https://api.github.com/users/KlausFeld/events{/privacy}","received_events_url":"https://api.github.com/users/KlausFeld/received_events","type":"User","site_admin":false},"created_at":"2015-04-08T09:29:48Z","updated_at":"2015-04-08T09:29:48Z","body":"Hi, I still have the Problems with the homeduino plugin and the arduino nano. My log tells this:\r\n\r\nDisconnect completed\r\n11:12:23.513 [pimatic-homeduino] warn: Couldn't connect (Serialport not open.), retrying...\r\n11:12:23.521 [pimatic-homeduino] warn: Couldn't connect (Serialport not open.), retrying...\r\n\r\nWhat can I check?"}}