{"action":"created","issue":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/85","labels_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/85/comments","events_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/85/events","html_url":"https://github.com/Freeyourgadget/Gadgetbridge/issues/85","id":96585265,"number":85,"title":"Synchronize system alarms to device","user":{"login":"chrisvella","id":1883514,"avatar_url":"https://avatars.githubusercontent.com/u/1883514?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisvella","html_url":"https://github.com/chrisvella","followers_url":"https://api.github.com/users/chrisvella/followers","following_url":"https://api.github.com/users/chrisvella/following{/other_user}","gists_url":"https://api.github.com/users/chrisvella/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisvella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisvella/subscriptions","organizations_url":"https://api.github.com/users/chrisvella/orgs","repos_url":"https://api.github.com/users/chrisvella/repos","events_url":"https://api.github.com/users/chrisvella/events{/privacy}","received_events_url":"https://api.github.com/users/chrisvella/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-07-22T14:43:37Z","updated_at":"2015-07-28T19:32:04Z","closed_at":null,"body":"I would like to request the ability to synchronize system alarms with device.\r\n\r\nI picture it working something like this. Gadgetbridge would detect a change in the system alarms, or check at regular intervals. These values would then be stored in the gadgetbridge database and the next three alarms would be sent to the device. The system time would have to be compared with the device time, and the next three alarms would be updated.\r\n\r\nHowever I see a number of potential issues with the implementation:\r\n* For the miband, if more than three alarms are configured in gadgetbridge over a short amount of time, there should be some way of verifying that the later alarms have been sent to the device, replacing the ones that have passed. It would be good to minimize users not receiving updated alarms on their band, because the device is out of range at the wrong time. Another potential option would be modifying the gadgetbridge notification/creating a new notification, to alert the user alarms are not current.\r\n* Synchronizing of the system time with the device time may have to be forced?\r\n\r\nI think the ability to send alarms to the device, and connection with system alarms should be separate. This would be useful if users are sleeping next to someone, and they only want their device to vibrate, rather than the phone and device.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/comments/125729902","html_url":"https://github.com/Freeyourgadget/Gadgetbridge/issues/85#issuecomment-125729902","issue_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/85","id":125729902,"user":{"login":"ashimokawa","id":1254676,"avatar_url":"https://avatars.githubusercontent.com/u/1254676?v=3","gravatar_id":"","url":"https://api.github.com/users/ashimokawa","html_url":"https://github.com/ashimokawa","followers_url":"https://api.github.com/users/ashimokawa/followers","following_url":"https://api.github.com/users/ashimokawa/following{/other_user}","gists_url":"https://api.github.com/users/ashimokawa/gists{/gist_id}","starred_url":"https://api.github.com/users/ashimokawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashimokawa/subscriptions","organizations_url":"https://api.github.com/users/ashimokawa/orgs","repos_url":"https://api.github.com/users/ashimokawa/repos","events_url":"https://api.github.com/users/ashimokawa/events{/privacy}","received_events_url":"https://api.github.com/users/ashimokawa/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T19:32:04Z","updated_at":"2015-07-28T19:32:04Z","body":"@chrisvella \r\nNow I understand ;)\r\nSnoozing from the pebble should be possible if we build that into our own watchapp.\r\nFor the MiBand we could do that by temporarily switching to raw acceleration data and analyze that."}}