Skip to content
This repository has been archived by the owner on Feb 12, 2019. It is now read-only.

Add calendar reminders #18

Open
awlx opened this issue Aug 16, 2014 · 4 comments
Open

Add calendar reminders #18

awlx opened this issue Aug 16, 2014 · 4 comments

Comments

@awlx
Copy link

awlx commented Aug 16, 2014

Add calendar reminders to pebbled. The calendar uses it's own dbus interface for reminders.

Example:

method call sender=:1.6 -> dest=com.nokia.voland serial=15 path=/com/nokia/voland; interface=com.nokia.voland; member=open
   array [
      variant          struct {
            uint32 2
            uint32 0
            array [
               dict entry(
                  string "APPLICATION"
                  string "libextendedkcal"
               )
               dict entry(
                  string "COOKIE"
                  string "2"
               )
               dict entry(
                  string "PLUGIN"
                  string "libCalendarReminder"
               )  
               dict entry(
                  string "STATE"
                  string "DLG_CNTR"
               )
               dict entry(
                  string "TITLE"
                  string "<Calendar Eventtitle>"
               )
               dict entry(
                  string "alarmtime"
                  string "2014-08-16T12:36:00+02:00"
               )
               dict entry(
                  string "endDate"
                  string "2014-08-16T13:36:00+02:00"
               )
               dict entry(
                  string "maximalTimeoutSnoozeCounter"
                  string "2"
               )
               dict entry(
                  string "notebook"
                  string "<calendar per id>"
               )
               dict entry(
                  string "startDate"
                  string "2014-08-16T12:36:00+02:00"
               )
               dict entry(
                  string "time"
                  string "2014-08-16T12:36:00+02:00"
               )
               dict entry(
                  string "timeoutSnoozeCounter"
                  string "0"
               )
              dict entry(
                  string "type"
                  string "event"
               )
               dict entry(
                  string "uid"
                  string "<uid>"
               )
            ]   
            array [
            ]   
         }
   ]

https://github.com/nemomobile/timed/blob/master/tests/ta_voland_service/com.nokia.voland.conf

@smurfy
Copy link
Contributor

smurfy commented Aug 16, 2014

yea, had the same idea a while back. (alarm, timer and calendar alert)

The thing is, i found no nice way to display them. (as email notification with custom text like the other notifications?)

I wanted to do some research if there are watchapps out there for this kind of feature.

@awlx
Copy link
Author

awlx commented Aug 16, 2014

I think the easiest way would be to use the existing email notifications.

To have a watchapp for this would be cool but many of them are not very nice or need more things to be implemented (eg weatherinfos).

@smurfy
Copy link
Contributor

smurfy commented Aug 17, 2014

I will check this: http://www.mypebblefaces.com/apps/6766/7515/

Its a watchapp + companion app on the phone. (needs adaption)

@smokku
Copy link
Owner

smokku commented Sep 26, 2014

I tried implementing it, but to no success.

Following notification:

method call sender=:1.0 -> dest=com.nokia.voland serial=362 path=/com/nokia/voland; interface=com.nokia.voland; member=open
   array [
      variant          struct {
[...]
   ]

Causes reply from pebbled:

error sender=:1.1567 -> dest=:1.0 error_name=org.freedesktop.DBus.Error.UnknownInterface reply_serial=362
   string "No such interface 'com.nokia.voland' at object path '/com/nokia/voland'"

Code is in https://github.com/smokku/pebble/tree/calendar if anyone is interested.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants