payload: {"action":"created","issue":{"url":"https://api.github.com/repos/mxcube/HardwareRepository/issues/451","repository_url":"https://api.github.com/repos/mxcube/HardwareRepository","labels_url":"https://api.github.com/repos/mxcube/HardwareRepository/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/mxcube/HardwareRepository/issues/451/comments","events_url":"https://api.github.com/repos/mxcube/HardwareRepository/issues/451/events","html_url":"https://github.com/mxcube/HardwareRepository/issues/451","id":535700172,"node_id":"MDU6SXNzdWU1MzU3MDAxNzI=","number":451,"title":"[Dicussion] AbstractNState to be renamed to AbstractNPosition ","user":{"login":"marcus-oscarsson","id":4331447,"node_id":"MDQ6VXNlcjQzMzE0NDc=","avatar_url":"https://avatars0.githubusercontent.com/u/4331447?v=4","gravatar_id":"","url":"https://api.github.com/users/marcus-oscarsson","html_url":"https://github.com/marcus-oscarsson","followers_url":"https://api.github.com/users/marcus-oscarsson/followers","following_url":"https://api.github.com/users/marcus-oscarsson/following{/other_user}","gists_url":"https://api.github.com/users/marcus-oscarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/marcus-oscarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcus-oscarsson/subscriptions","organizations_url":"https://api.github.com/users/marcus-oscarsson/orgs","repos_url":"https://api.github.com/users/marcus-oscarsson/repos","events_url":"https://api.github.com/users/marcus-oscarsson/events{/privacy}","received_events_url":"https://api.github.com/users/marcus-oscarsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"beteva","id":2979379,"node_id":"MDQ6VXNlcjI5NzkzNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2979379?v=4","gravatar_id":"","url":"https://api.github.com/users/beteva","html_url":"https://github.com/beteva","followers_url":"https://api.github.com/users/beteva/followers","following_url":"https://api.github.com/users/beteva/following{/other_user}","gists_url":"https://api.github.com/users/beteva/gists{/gist_id}","starred_url":"https://api.github.com/users/beteva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beteva/subscriptions","organizations_url":"https://api.github.com/users/beteva/orgs","repos_url":"https://api.github.com/users/beteva/repos","events_url":"https://api.github.com/users/beteva/events{/privacy}","received_events_url":"https://api.github.com/users/beteva/received_events","type":"User","site_admin":false},"assignees":[{"login":"beteva","id":2979379,"node_id":"MDQ6VXNlcjI5NzkzNzk=","avatar_url":"https://avatars2.githubusercontent.com/u/2979379?v=4","gravatar_id":"","url":"https://api.github.com/users/beteva","html_url":"https://github.com/beteva","followers_url":"https://api.github.com/users/beteva/followers","following_url":"https://api.github.com/users/beteva/following{/other_user}","gists_url":"https://api.github.com/users/beteva/gists{/gist_id}","starred_url":"https://api.github.com/users/beteva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beteva/subscriptions","organizations_url":"https://api.github.com/users/beteva/orgs","repos_url":"https://api.github.com/users/beteva/repos","events_url":"https://api.github.com/users/beteva/events{/privacy}","received_events_url":"https://api.github.com/users/beteva/received_events","type":"User","site_admin":false},{"login":"jordiandreu","id":8329488,"node_id":"MDQ6VXNlcjgzMjk0ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/8329488?v=4","gravatar_id":"","url":"https://api.github.com/users/jordiandreu","html_url":"https://github.com/jordiandreu","followers_url":"https://api.github.com/users/jordiandreu/followers","following_url":"https://api.github.com/users/jordiandreu/following{/other_user}","gists_url":"https://api.github.com/users/jordiandreu/gists{/gist_id}","starred_url":"https://api.github.com/users/jordiandreu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordiandreu/subscriptions","organizations_url":"https://api.github.com/users/jordiandreu/orgs","repos_url":"https://api.github.com/users/jordiandreu/repos","events_url":"https://api.github.com/users/jordiandreu/events{/privacy}","received_events_url":"https://api.github.com/users/jordiandreu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2019-12-10T12:32:18Z","updated_at":"2019-12-12T14:39:24Z","closed_at":null,"author_association":"MEMBER","body":"Discussion about AbstractNState\r\n\r\n- Define limited set of states available within MXCuBE \r\n- Map all states to one of the predefined states\r\n- Distinguish between the defined state and devices actual state"},"comment":{"url":"https://api.github.com/repos/mxcube/HardwareRepository/issues/comments/565033467","html_url":"https://github.com/mxcube/HardwareRepository/issues/451#issuecomment-565033467","issue_url":"https://api.github.com/repos/mxcube/HardwareRepository/issues/451","id":565033467,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NTAzMzQ2Nw==","user":{"login":"rhfogh","id":9820176,"node_id":"MDQ6VXNlcjk4MjAxNzY=","avatar_url":"https://avatars0.githubusercontent.com/u/9820176?v=4","gravatar_id":"","url":"https://api.github.com/users/rhfogh","html_url":"https://github.com/rhfogh","followers_url":"https://api.github.com/users/rhfogh/followers","following_url":"https://api.github.com/users/rhfogh/following{/other_user}","gists_url":"https://api.github.com/users/rhfogh/gists{/gist_id}","starred_url":"https://api.github.com/users/rhfogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhfogh/subscriptions","organizations_url":"https://api.github.com/users/rhfogh/orgs","repos_url":"https://api.github.com/users/rhfogh/repos","events_url":"https://api.github.com/users/rhfogh/events{/privacy}","received_events_url":"https://api.github.com/users/rhfogh/received_events","type":"User","site_admin":false},"created_at":"2019-12-12T14:39:24Z","updated_at":"2019-12-12T14:39:24Z","author_association":"COLLABORATOR","body":"@jordiandreu \r\nI agree with you, but I would cut the cake slightly differently. AFAIAC, all hardware objects should support the following five states, which together4 comprose the state machine:\r\n\r\nREADY, BUSY, WAITING, FAULT, UNKNOWN.\r\n\r\nOf these, BUSY means the HO is doing something and will become READY when it has finished; WAITING means that it is idle but not ready, because it is waiting for something else (initialisation to finish, the detector cover to be removed, ...). \r\n\r\nI think there should be a function (I prefer one, but a group of functions would do), that for any HardwareObject will return one of those five states.\r\n\r\nOther states, LIMPOS, LIMNEG, HOME, LOADING, ALARM, DIASABLED, CHARGING, ...) are specific to particluar (kinds of) HardwareObject, and should be returned by a separate function. I think that the two kinds of states shoudl NOT be mixed, so that a given call returns either one or the other. \r\n\r\nA third kind of state, conceptually, are the values for NState objects, like IN/OUT, OPeee"}}
other: {"actor":{"display_login":"rhfogh"}}