![]() |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Well, I remember when i first moved to timeline engine and my phone got rebooted I've received a bunch of empty messages with [Action] action - which at that moment I thought was bound to certain mistype in platform integration.
Since then I never got it again (neither normally nor on reboot) and i didn't manage to understand where they came from so my conclusion was similar that they were certain transient messages which slipped through watchfish monitor. That time i didn't have pin persistance yet so there was no way i could catch them. Hoped they would be stored now but no luck again :) So if anyone else is getting these empty messages with [Action] action - try not to restart daemon but instead capture logs using devel-su / journalctl or pebble SDK / Dev Connection. BTW these normally looking json notifications - were they normally shown as notifications or you just see them stored but they weren't popping up on pebble (hence could potentially be empty malformed pins)? |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
I didn't realise rebooting it would make them go away - I was just trying to get it to bring up a new one. Not much help for debugging though, sorry... :p |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
pushed timeline7 beta. That includes UTF8 fix. Also it has TImeline Rest button - to resync timeline completely - including calendar and web pins.
I've found that when pebble resets it may lose certain pins. Web, calendar, reminders, whatever. However since they are stored locally and were acked - they are never redelivered. Also I've discovered that current timeline reset operation was a big mess, it basically didn't work. net result - timeline goes out of sync and there's no way to fix that (except of course stop daemon and wipe timeline folder). So reset button does exactly that - wipes local storage, wipes watch pin blobdb, and requests resync from calendar and web. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
Also does the increased drain happen disregarding whether websync is enabled or not (when sync account logged out websync is disabled)? To my observation drain is inconsistent, I can spend whole day losing 10% and then for half an hour it eats remaining 90%. Mostly when there's connectivity problems (eg. in the tube) Twice a day though is really hard case, i used to charge my jolla once a week, then twice a week (as battery wears out). Now when I'm debugging app it also discharges quite fast, but still, at least one or two days is what I consider normal :) |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
Jip it's quite annoying right now. Until recently the battery lastet about 2 days. Then I had a drop to about 1.5 days and now under one day. Once a week sounds awesome but I think that is not possible with alien dalvik activated :\ |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
wit looks better although given that it's already linked to saera - see no reason to redo it natively. The way I'm implementing transcription interaction now is following:
TranscriptionAudioStart - not sure if we need it, the idea is if transcription service can tail the file to speed up recognition. I doubt this is really possible so most probably will drop it. TranscriptionResult aass structure will be a representation of native pebble transcription result structure, which is array of arrays of objects containing word and its confidence, eg. [ [ {"confidence":50, "word":"hello"}, {"confidence":50,"word":"world"} ], [ {"confidence":50, "word":"hello"}, {"confidence":40,"word":"word"} ] ]. That is - list of sentences, each sentence consisting of word:confidence pairs, word maybe printable word or punctuation mark. At the moment going to dump raw speex bitstream to the file. Jolla has libspeex installed so technically could do stream decoding however apparently it should be performed in the platform integration, not libpebble (where it ends atm). And if I go for the platform - it would make sense to make at least one native implementation in the platform using some cloud service. If anyone has any suggestion to improve/amend the interaction - please chime in. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Finishing voice endpoint and some clarifications revealed over the course of testing:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Some update on the current progress - which is going to land soon into next beta.
So voice endpoint as was written above is implemented. For now it will just send dictation result containing sentences "Noone dared to reply. Service timeout" as a proof of concept. However if anyone replies via dbus with proper results within allotted time slot - that result will replace the stub one. Another feature addition is Pebble language support. Now you can change the language (and/or character set) of the Pebble watch from rockpool GUI. It uses official language packs from pebble fetching them using json API from bootstrap config provider. Then there're several bugfixes. Major one is daemon crash on call end - which improves daemon stability. Occasional crash on reconnect still remains though. But this one is less frequent. Less obvious and not final yet is slight rework of timeline timers which fixes one of the high battery drains (the one I mentioned which happens in absence of internet). Timeline power efficiency has not been completely resolved yet, which does not allow us to push it to mainline. That is - with timeline you may expect still "higher than usual" power consumption happening under certain unknown yet conditions. Other known issues with timeline are pin re-delivery (fixing it now) and reminders not working properly (need yet to figure why). Once these are closed - new beta will be pushed, |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
New beta posted, in addition to above-mentioned fixes I've also stepped up software release as communicated to pebble as well as extended protocol capabilities with Weather and SMS support. As result you would see new apps on pebble (Weather and Send SMS) - they however are not yet configurable so are quite useless till configuration protocol is implemented and hooked to GUI.
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Found another issue with reminders where they were orphaned hence not allowing to execute any action except dismiss. With latest fix snooze and open work properly, snoozing the reminder and opening original calendar entry. Snooze works only in relation to pebble, not relaying information back to the phone yet - that part is not covered/documented in the libpebble so I'm currently reverse-engineering the protocol. Already found the way how to extract required info but still not clear what are options which are driving this particular reply format.
To get current calendar entries fixed would need to use Reset Timeline button to re-populate calendar to the timeline. So new timeline9 beta now looks like a good candidate for another pull request. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
I seem to be able to reliably crash the watch by phoning the Jolla, answering the call, then hitting the 'back' button on the Pebble while the call is ongoing.
Not sure if that's anything to do with Rockpool though (using 1.0-alpha1timeline9). |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Yes, previously rockpool was crashing during such ops, now pebble is crashing instead. Rockpoold remains rock solid though :) I'm going to capture call progress on android to see what goes in and out, I think we miss some param or dialog which makes pebble crash. Previously it was getting nack due to daemon crash and hence survived.
Although it is intermittent, sometimes call goes through with no crash. Sometimes it crashes on call start, sometimes on call end. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
My pebble crashes on every call end :)
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
The only difference I found between android and rockpool is that rockpool spams with phone progress messages while android just switches states. So if pebble internally lacks state machine implementation - such flood may cause it to hang/crash/reset
Eg. this is android session Code:
Canceled: Code:
Canceled: Or actually state track could be implemented in platform which has visibility on active calls, so can clean up the mess. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Also seems I've spotted again that issue when on phone reboot watch is spammed with old messages. Cannot reliable reproduce it but i suspect this happens when
a) rockpoold starts very early b) at this phase comhistoryd repopulates its events from persistent storage, emitting them on dbus. Attempted to fix it by filtering out old events. I.e. if timestamp of event is out if timeline window - just ignore it (this actually is proper behaviour which was missing). And if event is inside window - there two outcomes: * If event is delivered to pebble and hence exists in persistent storage - will be ignored as duplicate. * If event was discarded/dismissed/removed - it will be re-delivered to pebble (cant stop this to happen really). |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Posted new beta with pebble crash on call fix, with stale messages fix (as above) and with new feature - Send Text message.
Send text applies as for ad-hock SMS sending using new builtin Send Text app for fav contacts, so to Call Manager app where you can reject the call with excuse SMS. Setting these canned messages is currently not yet implemented, however you can connect pebble to android, set them and connect back to Jolla - jolla does not reset blobDBs with these configs so they are preserved from android. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Can confirm my Pebble doesn't crash after call now. Thanks! :)
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
How could i contribute when wanting to correct german translation?
Is there a transifex link? Awesome work guys! All works smooth on Jolla C. Anything i could test for you, do you like to see any logs? |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
For the testing - nothing specific atm, the only remaining concern so far is still power-profiling. As always - if you notice anything not working properly - there're basically 3 ways to collect logs - devel-su+journalctl, pebble sdk+devcon, stop service+run from cli. thanks for feedback :) |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Any idea when the main package will be updated?
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
I just merged the latest changes, so I'll do it tomorrow. Maybe call it 1.0-beta? We should get to the bottom of the battery drain, and switch the logging off before it's final.
I can't quite believe how much ruff has done recently. A phenomenal amount of work. Thanks very much! |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
perfect, will do!
Edit, done! Shortend some german sentences and corrected grammar and typos. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Hi,
I'm trying to connect the Pebble to a freshly-installed OS. Rockpool says "No Pebble smart watches configured yet. Please connect your Pebble smart watch using System Settings." I went to System settings, enabled Bluetooth, and paired my Pebble. Returned to Rockpool and it still showed the same thing. Rebooted, still the same thing. How to I tell Rockpool that I've paired the watch? |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
I note that in the Bluetooth screen on the watch, after pairing the connection still shows as "Now Discoverable". |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
That just means it ready to pair with another device. Do you see the name of your phone in the list below?
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
I don't suppose you're using a Fairphone 2 or other port? The first time I pair after rebooting I have to restart rockpool before it recognises the watch is available via BT:
Code:
systemctl --user restart rockpoold |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
I'm using a Nexus 5. I tried that, and now the watch says "connected" in the Pebble Bluetooth menu, but it still shows as "disconnected" in Rockpool (although the name of the watch is there now, and it shows an image of it).
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
You don't by any chance have the old pebbled installed and running, do you? That was the case last time someone found themselves in that situation.
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
Code:
ps axf|egrep 'pebble|rockpoold' a) whether there's pebbled service running b) how many instances of rockpoold are running P.S. probably need to add a check for dbus before acquiring service path to avoid multiple instances running |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
I have new observations on the "Rockpool crash/freeze when call ends on Jolla C"
Today i left my pebble at home but had rookpool service running. I connected to my cheap Car Bluetooth, "Blaupunkt IF". Got a call, ended it and had the same symptoms as if pebble was connected. Jolla C froze for 2 minutes, i left it alone and it recovered without rebooting. I stopped the service from Rockpool app -> developertools and tried again, no problem without rockpool running. I will test with an Alpine unit in second car and Nokia Headset when i am @ home. |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
yes, according to preliminary investigation the affected part is platform integration layer which is not bound to pebble connection. It is a glue between jolla's voicecall-ui/voicecall-manager which presumably causes the crash. I've just upgraded my os to 2.0.2.14 - will see if I experience same symptoms.
|
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
Code:
[nemo@Jolla ~]$ ps ax | egrep 'pebble|rockpoold' |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Quote:
when you watch is connected - in Bluetooth system settings is it also shown as connected? or you can try in CLI Code:
hcitool con |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Code:
hcitool con Code:
[nemo@Jolla ~]$ hcitool con Edit: I rebooted and now Code:
hcitool con |
Re: [Announce] Rockpool - Pebble daemon for Sailfish
Paired is not equal to connected. Paired means system knows the devce, knows how to connect to it (mac, profiles, auth key). Connected means the channel is actually established. Actual connection is triggered by rockpoold. If rockpoold does not see pebble it would not attempt to connect so paired but not connected after reboot is wrong but kind of expected based on your description.
To make a fresh start try following: * stop rockpoold service (eg. disable in client) * remove .local/share/rockpoold dir (eg. rm -rf .local/share/rockpoold) (this will remove all saved configuration of the rockpool. if any) * Do not remove paired pebble in the system. Leave it as is. Or if you're not sure it's paired properly - you may again re-pair it, removing from both system and pebble existing connection. * start rockpoold service again. At this point rockpool should a) see it has no pebbles at all b) detect paired pebble in the system and add it internally, initiating connection. |
All times are GMT. The time now is 08:13. |
vBulletin® Version 3.8.8