{"action":"created","issue":{"url":"https://api.github.com/repos/openhab/openhab/issues/3357","labels_url":"https://api.github.com/repos/openhab/openhab/issues/3357/labels{/name}","comments_url":"https://api.github.com/repos/openhab/openhab/issues/3357/comments","events_url":"https://api.github.com/repos/openhab/openhab/issues/3357/events","html_url":"https://github.com/openhab/openhab/issues/3357","id":113446467,"number":3357,"title":"Losing events?","user":{"login":"jotwewe","id":4405433,"avatar_url":"https://avatars.githubusercontent.com/u/4405433?v=3","gravatar_id":"","url":"https://api.github.com/users/jotwewe","html_url":"https://github.com/jotwewe","followers_url":"https://api.github.com/users/jotwewe/followers","following_url":"https://api.github.com/users/jotwewe/following{/other_user}","gists_url":"https://api.github.com/users/jotwewe/gists{/gist_id}","starred_url":"https://api.github.com/users/jotwewe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jotwewe/subscriptions","organizations_url":"https://api.github.com/users/jotwewe/orgs","repos_url":"https://api.github.com/users/jotwewe/repos","events_url":"https://api.github.com/users/jotwewe/events{/privacy}","received_events_url":"https://api.github.com/users/jotwewe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-26T20:39:16Z","updated_at":"2015-11-01T03:56:54Z","closed_at":null,"body":"Using an item\r\n```\r\nString Bus04 \"Bus04\" { serial=\"/dev/ttyS2@19200\" }\r\n```\r\nand a rule like this\r\n```\r\nrule \"Bus04 sends to Openhab\"\r\n    when\r\n        Item Bus04 received update\r\n    then\r\n        var String lineBuffer =  Bus04.state.toString.split(\"\\n\")\r\n        for (String message : lineBuffer) \r\n        {\r\n        ...\r\n        postUpdate(src, num.toString)\r\n        ...\r\n```\r\nI'm receiving events from a homemade bus. Sometimes the event log shows that data has been received:\r\n```\r\n2015-10-23 19:59:20 - Bus04 state updated to r7721CA1445\r\nr7721C104DC\r\n\r\n2015-10-23 19:59:21 - Bus04 state updated to r3F22003045\r\nr770008840F45\r\n\r\n2015-10-23 19:59:21 - Bus04 state updated to r3F220D00FF\r\nr3F22A91082\r\nr3F223E2094\r\nr3F223E4079\r\nr3B25680243\r\nr3B00020169\r\n```\r\nbut the expected item updates are missing. Usually for every token of a \"Bus04 state update\" a corresponding item gets updated. I suppose that this loss happens (sometimes? every time?) when sending an email from the aforementioned rule using the sendMail(..) action, but I'm not sure.\r\n\r\nMy setup is:\r\n\r\n - openhab 1.7.1 running on a bananapi\r\n - java version \"1.7.0_40\", Java(TM) SE Runtime Environment (build 1.7.0_40-b43), Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode)\r\n"},"comment":{"url":"https://api.github.com/repos/openhab/openhab/issues/comments/152792123","html_url":"https://github.com/openhab/openhab/issues/3357#issuecomment-152792123","issue_url":"https://api.github.com/repos/openhab/openhab/issues/3357","id":152792123,"user":{"login":"9037568","id":9916473,"avatar_url":"https://avatars.githubusercontent.com/u/9916473?v=3","gravatar_id":"","url":"https://api.github.com/users/9037568","html_url":"https://github.com/9037568","followers_url":"https://api.github.com/users/9037568/followers","following_url":"https://api.github.com/users/9037568/following{/other_user}","gists_url":"https://api.github.com/users/9037568/gists{/gist_id}","starred_url":"https://api.github.com/users/9037568/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/9037568/subscriptions","organizations_url":"https://api.github.com/users/9037568/orgs","repos_url":"https://api.github.com/users/9037568/repos","events_url":"https://api.github.com/users/9037568/events{/privacy}","received_events_url":"https://api.github.com/users/9037568/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T03:56:54Z","updated_at":"2015-11-01T03:56:54Z","body":"Without the actual code being used I don't see how anyone can help with this question. Also, questions should go to the forum (https://community.openhab.org/)."}}