{"action":"opened","issue":{"url":"https://api.github.com/repos/pimatic/pimatic/issues/503","labels_url":"https://api.github.com/repos/pimatic/pimatic/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/pimatic/pimatic/issues/503/comments","events_url":"https://api.github.com/repos/pimatic/pimatic/issues/503/events","html_url":"https://github.com/pimatic/pimatic/issues/503","id":55431901,"number":503,"title":"Integrated watchdog","user":{"login":"Gargoyle112","id":10568306,"avatar_url":"https://avatars.githubusercontent.com/u/10568306?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargoyle112","html_url":"https://github.com/Gargoyle112","followers_url":"https://api.github.com/users/Gargoyle112/followers","following_url":"https://api.github.com/users/Gargoyle112/following{/other_user}","gists_url":"https://api.github.com/users/Gargoyle112/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargoyle112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargoyle112/subscriptions","organizations_url":"https://api.github.com/users/Gargoyle112/orgs","repos_url":"https://api.github.com/users/Gargoyle112/repos","events_url":"https://api.github.com/users/Gargoyle112/events{/privacy}","received_events_url":"https://api.github.com/users/Gargoyle112/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-25T21:53:10Z","updated_at":"2015-01-25T21:53:10Z","closed_at":null,"body":"At first some background infos:\r\n\r\nI want to control my Terrarium with my Pi and Pimatic.\r\nThe Raspberry Pi is connected to two [DHT22](http://www.amazon.co.uk/SODIAL-Digital-Temperature-Humidity-3-5V-6V/dp/B00KBPS6R8/ref=sr_1_1?s=diy&ie=UTF8&qid=1422220753&sr=1-1&keywords=dht22), a LED with a blink script, a reset switch and a [USB Power Strip](http://www.amazon.co.uk/Gembird-EG-PMS2/dp/B00BAQZJ4K/ref=sr_1_1?ie=UTF8&qid=1422220545&sr=8-1&keywords=eg-pms2). With the Power Strip I am operating two [Halogen Spots](http://www.amazon.co.uk/Philips-Halogen-Light-Bulb-GU10/dp/B001BZ029M/ref=sr_1_2?ie=UTF8&qid=1422220972&sr=8-2&keywords=halogen+spot), an [electronic ballast](http://www.amazon.de/gp/product/B00CDJDD5U?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00) with daylight lamp and a [fogger](http://www.amazon.co.uk/Trixie-Fogger-Ultrasonic-Generator-Maker/dp/B004V2P3DW/ref=sr_1_1?ie=UTF8&qid=1422221365&sr=8-1&keywords=Trixie+76123). The Power Strip is connected to the Pi over an active [USB Hub](http://www.amazon.co.uk/D-Link-DUB-H7-Port-USB-External/dp/B0002AFZVM/ref=sr_1_1?ie=UTF8&qid=1422221536&sr=8-1&keywords=DUB-H7) which also powers the Pi.\r\n\r\nSo much for the background, now for my problem:\r\n\r\nThe Pi keeps freezing every couple of hours and I have to reset it. I cannot connect to the Pi over SSH / PuTTY but the blinking script for the LED keeps running. \r\n\r\nIs there a way to point the internal [watchdog](http://linux.die.net/man/8/watchdog) of the [Raspberry Pi](http://pi.gadgetoid.com/article/who-watches-the-watcher) towards the Pimatic process or the active database so it resets the Pi after a freeze? Or - much better - stop the Pi from freezing?"}}