Active Topics

 



Notices


Reply
Thread Tools
proprog's Avatar
Posts: 41 | Thanked: 159 times | Joined on Jul 2012
#1
I've put together basic Pebble classic support for the N900. You should be able to:

- display calls with name or number
- display messages
- media control omp and oscp
- reconnect after lost connection

It doesn't sound much but it's actually quite useful for my needs. The main thing I'm missing at the moment is support for displaying emails and all tips on how to list new emails on the n900 are welcome.

Download maebble at https://dl.dropboxusercontent.com/u/...bble-v0.90.zip

Update maebble.cfg with you bluetooth mac (change "xx:xx:xx:xx:xx:xx") and run "python maebbled.py". The logging is all over the place at the moment but run "python maebbled.py --print_maemo" for console logging.

Pebble API is based on Libpebble available at http://www.pebbledev.org/wiki/Libpebble/

Maemo SMS parsing is from HeySms available at https://github.com/titilambert/HeySms/

Use at own risk, I've used it the last couple of weeks without too much problems. I cannot tell how the battery life is affected cause my battery is in desperate need of recalibration.

UPDATE 2017-05-22:

I've finally updated maebble to support other firmware versions. Maebble v0.91 is tested with v1 (on pebble classic), v3 (on pebble classic) and v4 (on pebble time).

Download maebble v0.91 at:
https://www.dropbox.com/s/m5p92uj8ru...v0.91.zip?dl=0

New in config-file is that you can specify how often time on watch should be updated (setting is in hour, set to 0 to not update).

New in this update:
- v3 notifications
- email notifications (very basic, just account and number of new emails)
- ping method
- set time method
- get watch version method
- music volume up/down
- new parameter --config_file to use multiple watches (mainly for testing purpose)
- the delay in music control should be much less of a problem now with minor bug fix and changed sleep values

Last edited by proprog; 2017-08-05 at 10:17.
 

The Following 28 Users Say Thank You to proprog For This Useful Post:
Posts: 1,424 | Thanked: 2,622 times | Joined on Jan 2011 @ Touring
#2
Latest Install Instructions and link to v0.92.
(edit Dec 2018)I have assembled a how to that I would like tested here:
https://talk.maemo.org/showpost.php?...2&postcount=91
please use these instructions.
If I get good feedback and hopefully improvements I will work towards getting this into the repos as an easy to install .deb instead of hand editing and installing.

(archived my pre-pebble days second post to thread so I could insert my link above)
This kicks ***, there is no alternative for me in newer Android and iOS devices so I continue with my trusty N900. I had high hopes when the Pebble was approaching release, now years later we are seeing support. Do you have advice for us who might now consider a Pebble at this late date?
My concerns are where to find one for a good price.
Where to get a replacement battery and how to do the swap.

Last edited by biketool; 2018-12-17 at 17:43.
 

The Following 5 Users Say Thank You to biketool For This Useful Post:
proprog's Avatar
Posts: 41 | Thanked: 159 times | Joined on Jul 2012
#3
The Pebble classic is still available at pebble.com. I got two for a reasonable price from a local store.

I might try to upgrade one of them and see if it's possible to upgrade maebble. But first I want to fix email support and make it run on n900 startup (should be easy). All tips about how to get a notification or check for new emails are welcome.
 

The Following 6 Users Say Thank You to proprog For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#4
Pebble Classic for USD69.99 with free shipping from official Pebble store :
https://www.pebble.com/buy-pebble-smartwatch
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following 5 Users Say Thank You to rcolistete For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#5
Hi there,

This is great work, Love my N900 and my pebble. Though it seems both have become victims of their success.

Trying to get this working. I change the .cfg file to the BT mac address of my pebble.

I have paired the pebble with my N900.

Pebble is original kickstarter running v3.12.3 fw

Copied the files to my n900,
xterminal and gain root
navigate to the directory //MyDocs/Maebbled-v0.90

type "python maebbled.py"

its runs

but drops out with import error: no module named bluetooth.

Any ideas whats wrong?

thanks once again for support.
 

The Following 3 Users Say Thank You to glo-worm For This Useful Post:
Halftux's Avatar
Posts: 868 | Thanked: 2,516 times | Joined on Feb 2012 @ Germany
#6
Originally Posted by glo-worm View Post
but drops out with import error: no module named bluetooth.
I don't know if it helps but you could try to install python-bluez.
 

The Following 4 Users Say Thank You to Halftux For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#7
Originally Posted by Halftux View Post
I don't know if it helps but you could try to install python-bluez.
that got me past the bluetooth module problem, thanks. now generating some other errors, let me take a look and see where it leads me.

thanks.
 

The Following 5 Users Say Thank You to glo-worm For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#8
Is there some other dependencies? Now when i run it, i get further but stops at at a dbus exception.

Really would like to get this working :-)
 

The Following 4 Users Say Thank You to glo-worm For This Useful Post:
Halftux's Avatar
Posts: 868 | Thanked: 2,516 times | Joined on Feb 2012 @ Germany
#9
Originally Posted by glo-worm View Post
Now when i run it, i get further but stops at at a dbus exception.
Dbus exception related to which service?
Could you give us more details about the error message and maybe the last print out before the error occure?
There are more than one dbus call in the code....
 

The Following 5 Users Say Thank You to Halftux For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#10
Originally Posted by Halftux View Post
Dbus exception related to which service?
Could you give us more details about the error message and maybe the last print out before the error occure?
There are more than one dbus call in the code....
/home/user/MyDocs/maebble-v0.90 # python maebbled.py
Traceback (most recent call last):
File "maebbled.py", line 654, in <module>
dbus_listen()
File "maebbled.py", line 448, in dbus_listen
bus = dbus.SessionBus()
File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 219, in __new__
mainloop=mainloop)
File "/usr/lib/pymodules/python2.5/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/pymodules/python2.5/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException
 

The Following 4 Users Say Thank You to glo-worm For This Useful Post:
Reply

Tags
pebble time, smart watch


 
Forum Jump


All times are GMT. The time now is 15:02.