![]() |
Re: [Announce] Pebble Watch Connector daemon
Hey RobertMe! I was worried you'd jumped ship...
Quote:
I've been occasionally updating the Rockwork base already. It's very well separated into platform and generic lib, so it's not difficult. I've got a parallel branch that I keep on vanilla rockwork and merge. These things are a lot less trouble with Git, after all. Quote:
The calendar stuff would be great, thanks! Quote:
|
Re: [Announce] Pebble Watch Connector daemon
Quote:
Quote:
Quote:
Quote:
Getting the individual notifications for new emails (as shown on the events screen) is however fairly easy, as the email app actually sends N+1 notifications when N emails are received. IIRC Pebbled currently uses some ".summary" name/hint to get the notification, but that indeed just contains the "N new emails" text. But the other notifications contain both the sender and subject of the individual emails as shown on the events screen. But those notifications use a different name/hint, which you can easily get by running "dbus-monitor" when receiving the mails and reading the output. But for the email notifications and pins* I'm not using the notifications at all, but I'm actually using the Qt Messaging Framework (QMF). As this allows to get a (plain text) preview of the email which the notification doesn't contain. And using the library/framework would also be the way to go if you want to support the "respond" actions of the Pebble. As it allows you so create new emails and send them, without opening the email app on the phone. * For email, SMS and missed calls notifications I create both a pin on the timeline and a notification. This using the timeline spec. So I'm able to fully parse any JSON pin that the Android and iOS apps support and which can be used by other services to push pins to the Pebble. This is possible because Pebble actually publishes the description of the layout (all fields, which attribute id they have, and of which type they are) as part of the firmware update endpoint. And this also allows me to for example conditionally add the "createNotification" field to a pin based on whether the email already has been marked as read or not (when it has been read on another device). But as far as I've seen the implementation in RockWatch is hardcoded to those supported by it (notifications of a specific type or calendar events). So it doesn't allow the fully dynamic usage of the timeline pins. |
Re: [Announce] Pebble Watch Connector daemon
Thanks for that. The calendar permission thing is exactly the problem I saw, but with no idea how the mechanism worked. After looking at it, I'm thinking a dependency to libwatchfish would be the right way to do this. Might only need a bit of glue between that and Rockwork's platform interface.
I'm away for a week, but I'll play with that when I get back. Thanks again, and glad you're still around :) |
Re: [Announce] Pebble Watch Connector daemon
Quote:
Quote:
Right now I'm trying to get the calendar access working. I've mimicked the mapplauncher entry from saltoq, but I'm still getting errors opening the mkcal db. Was that all I have to do? I saw some people were setting the uid and gid of the process, but that seems a bit strange. |
Re: [Announce] Pebble Watch Connector daemon
Quote:
There is a bunch of changes involved (libsailfishapp automatizes a bunch of them, though): add "qt5-boostable" to pkg-config imports list, add Q_DECL_EXPORT to main(), and invoke your program like /usr/bin/invoker -o --type=qt5 /usr/bin/saltoqd If it still doesn't work there are some ways to debug it. For example do "devel-sh --privileged" to switch into the privileged user, and then you can gdb/strace your program to see where it fails. (Alternatively, some people just make the binary setgid, so that it always launches in the privileged group...). |
Re: [Announce] Pebble Watch Connector daemon
Quote:
|
Re: [Announce] Pebble Watch Connector daemon
Latest code on github now pushes calendar events to the timeline! I've also switched to the libwatchfish music monitor, with added Pulseaudio volume controls. Does anyone want to try it in this (gui-less) state?
|
Re: [Announce] Pebble Watch Connector daemon
Good work! If you can package it and put it on openrepos, I'd love to try it out.
|
Re: [Announce] Pebble Watch Connector daemon
Quote:
https://openrepos.net/content/abranson/rockpool |
Re: [Announce] Pebble Watch Connector daemon
Quote:
This is probably a really stupid question, but I can't seem to enable the rockpoold service, any pointers? Code:
nemo ~ $ zypper info rockpool Code:
nemo ~ $ sudo systemctl status rockpoold Code:
nemo ~ $ rpm -ql rockpool Code:
nemo ~ $ cat /usr/lib/systemd/user/rockpoold.service |
Re: [Announce] Pebble Watch Connector daemon
Did you try --user in the systemctl command, as root?
|
Re: [Announce] Pebble Watch Connector daemon
Quote:
Code:
nemo ~ $ systemctl --user status rockpoold |
Re: [Announce] Pebble Watch Connector daemon
Yes sorry, that's on the readme on github but I should have put it on Openrepos too.
Edit: it worked. |
Re: [Announce] Pebble Watch Connector daemon
Victory! Thank you so much for your hard work on this.
http://i.imgur.com/U0eRKvs.jpg I'm trying to work out if I can send notifications with dbus, but I've not been able to so far. Should this work: Code:
nemo ~ $ qdbus org.rockwork /org/rockwork/B0_B4_48_C6_10_B1 org.freedesktop.DBus.Peer.Ping |
Re: [Announce] Pebble Watch Connector daemon
I actually liked that I could control the volume of my phone with Pebbled, even if there was NO music app running in the background. With RockPool, I can't :(
Will you guys please add it as an option when the GUI is ready...? Edit: If you guys need to access the Pebble Store, just use this link: https://apps.getpebble.com/en_US/wat..._settings=true Edit2: Please make a new thread for RockPool, it will keep this thread clean. |
Re: [Announce] Pebble Watch Connector daemon
Quote:
watchfish::MusicController::setVolume:277 - Setting volume: 8 The music watch app is a bit annoying on v3 though. It only temporarily switches to the volume buttons, so if you're not quick enough it will flip back to the track control. Edit: New thread is a good idea, although it's really the same lineage going all the way back to skipping stones... |
Re: [Announce] Pebble Watch Connector daemon
Quote:
Hmm, that's weird, it does seems to work now.. I can confirm the apps and watchfaces can be installed on the watch. Too bad the watch has no internet connection yet. Edit: A feature that not everyone is familiar with: To avoid the annoying skipping thing when you just want to change volume: Just hold down the Next/Previous Track button. It will automatically change into Volume buttons :) This way, you don't accidentally change tracks |
Re: [Announce] Pebble Watch Connector daemon
Quote:
Quote:
Quote:
|
Re: [Announce] Pebble Watch Connector daemon
Quote:
Code:
qdbus org.rockwork /org/rockwork/B0_B4_48_80_B9_87 org.rockwork.Pebble.PerformFirmwareUpgrade Code:
qdbus org.rockwork /org/rockwork/B0_B4_48_80_B9_87 org.rockwork.Pebble.RequestScreenshot |
Re: [Announce] Pebble Watch Connector daemon
Quote:
Has anyone used it? Is it worth migrating over to it? |
Re: [Announce] Pebble Watch Connector daemon
Hi,
Does Time Round work with Sailfish? I'd like upgrade my Pebble Classic to it. |
Re: [Announce] Pebble Watch Connector daemon
After a reset to factory setting of my Pebble I like to sync again with my Jolla. Pebbled displays me "Your firmware is too old to support SDKv2 applications".
My Jolla is running 2.0.2.51, Pebbled app v1.6-1, Watch Firmware 2.9.1. The Jolla is connected to my Pebble Steel. I did a factory reset on the watch, with the watch waiting to be bind to a Pebble app. Hope anyone can help. |
Re: [Announce] Pebble Watch Connector daemon
I don't think Pebbled is activly developed anymore.
I would advise you to use Rockpool, works like charm for me, including latest FIrmware updates. |
All times are GMT. The time now is 08:16. |
vBulletin® Version 3.8.8