![]() |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
2) I clicked on python-bluez_0.18-1maemo1_armel.deb 3) Open file with program manager 4) "Program not from Nokia", agree and install 5) Message from program manager "Installation from "python-bluez" not possible. Program not compatible." That's it :confused: |
Re: [Announce] Maebble - Pebble support for Maemo
Ah ok never tried this. But you could try this:
If extra repository is enabled you can just install it with apt. 1. start terminal 2. sudo gainroot 3. apt-get install python-bluez or you downloaded the deb file 1. start terminal 2. sudo gainroot 3. dpkg -i python-bluez_0.18-1maemo1_armel.deb The first method is better because it will install all dependencies. |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
After successful pairing the Pebble Time Steel (639B) with the N900 (confirmation of pairing on both devices), the bluetooth icon is white and not blue. In the Window with details to the bluetooth device, the disconnect button is grayed out? :confused: |
Re: [Announce] Maebble - Pebble support for Maemo
druk13, it doesn't really work like a regular bluetooth device. So you will need to start the apt from the command line. cd to the folder the .py is in, then start it with python maebbled.py. and depending on if you have everything set up right it should work.
good luck. x |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
Pebble phone call: Phone call is shown, but sending a message or cancel the phone call is not working. Pebble sms: SMS is not shown on Pebble, but maebbled shows the SMS on the N900. Pebble music player: Changing variable "use_oscp" from "True" to "False" solved the problem in parts. Play/Pause/Previous/Next is working. Volume Up/Down and updating of music title not working. I think I should try the beta version 0.92 :rolleyes: |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
oscp false is what I use. Volume works, but you have to press the center button once then it switches to volume which will switch back pretty quickly to next/previous buttons. Never thought I could cancel the phone call. It has never worked, but will try it again to make sure. pebble classic could never reply to text from the watch as far as I know. So I never expected this feature. I get txt msg, calls & email popup fine. But that's pretty much it for me. x |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
|
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
x |
Re: [Announce] Maebble - Pebble support for Maemo
OK, so these are the hacks I am using to get this run since I had to reinstall
make /usr/bin/pebble (and chmod +x it afterward) pointing to maebble.cfg is bolded, this is the secret sauce for me. Code:
#! /bin/sh Code:
def get_localtime():^M Code:
[Desktop Entry] If you see a better way to do any of this let me know. this works for me but I would actually prefer to have it load the daemon at boot or when it sees the watch on BT, I don't imagine it is any worse than the bloat of any other watcher daemons running, what would the best/most standard Maemo way to make this happen? |
Re: [Announce] Maebble - Pebble support for Maemo
Any chance to get this into the repositories, I have reflashed my N900 and could get it to run again after that. But this thread is all over the place so not sure what steps are still relevant.
|
Re: [Announce] Maebble - Pebble support for Maemo
Maebble v0.91 working install w/added biketool hacks including
-daylight savings/timezone hack -app launcher -desktop launcher 0-search out and delete all maebble files and directories which might mess with your install find / -name maebble* 1-download maebble v0.91 https://www.dropbox.com/s/fuj75423sc...0.92b.zip?dl=0 2- edit meabble.cfg on your computer to include your Pebble's mac address and change OSCP from True to False 3- use my post above https://talk.maemo.org/showpost.php?...6&postcount=89 to create desktop and /usr/bin/pebble launchers; the launcher script above includes commands to use the proper config file and to leave a window open so you can kill the daemon as well as read diagnostics when running(install openwatch so your desktop file has an icon) 3.5- (Optional)apply daylight savings/traveler timezone hacks to the settings.py as per https://talk.maemo.org/showpost.php?...6&postcount=89 4- transfer files to /home/user/MyDocs/Maebble 5- make a copy of Maebble.cfg in /home/user/.comfig/maebble 6-Pair your Pebble in bluetooth 7- launch from applications or make and use a desktop shortcut Try this and report any errors to this thread, not documenting is whay these hack installs always get so long and woky remembering how we hacked it together. |
Re: [Announce] Maebble - Pebble support for Maemo
Thanks Biketool!
So basically adds the apps launcher & desktop launcher to what I already hacked together right? But it seems you have your hack so that it more automated? So you have it grabbing the local time, but do we still need to update the daylight saving each season? x |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
As for daylight savings, I am not sure how Maemo flags that so yea still a manual switch in the file. |
Re: [Announce] Maebble - Pebble support for Maemo
Ah, cool. Good to know. Though I wasn't prodding for credit, just wanted to see if it's just easier to keep what I had ;).
Thanks for putting this together. x |
Re: [Announce] Maebble - Pebble support for Maemo
I like credit and I hope I remember when I do maemo garage stuff, it is part of the FOSS rules IMHO. What is needed is feedback before I move on to the garage and hopefully .deb and repos.
I actually think it should be a system daemon but I need to figure the most standard way to run as that. It really needs a way to scrape the mac address from the bluetooth pairing rather than needing hand editing, that is not repo ready. |
Re: [Announce] Maebble - Pebble support for Maemo
There should be basic support to get the mac address but I opted for the configuration as a more stable solution.
I'll have a look at what changes I have locally and see if it's worth an update. |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
I have to say that with maebble and a few hacks the N900/Pebble is exactly what I hoped for back at the kickstarter and my idea for a PAN years before that. My long term idea for a PAN: *smartwatch for notifications, music control, and SMSs(ideal for car and bicycle) *bluetooth dongle 3.5mm jack and short headphones BT headset Nokia BH-214 & Sony MH-215 headphones(never got one with stand alone MP3 playback though) *Linux mini computer/phone w/FM tx(link to old car stereos w/o bluetooth) *Tablet(originally an eInk reader screen) tethered to phone for web browsing and other big screen needs(Nexus-7 flo); LineageOS for Microg https://lineage.microg.org/ I just wish it was also Maemo or other GNU Linux so it could run/compile normal x11 stuff *USB battery pod(was a hand generator charger) |
Re: [Announce] Maebble - Pebble support for Maemo
Is there a good way to monitor what I assume to be events or dbus? I want to scrape other things like calendar events for the Pebble via Maebble link.
I would like to try to transmit 1- grab GPS turn by turn, not sure if this goes to the same place or if there is a central API 2- calendar events 3- battery charge events The GPS might require an app though maybe just posting a <-- or --> in large text. 4- activate the answer/hang up button on the watch. These events would be grabbed, translated, and sent over bluetooth by the python script maebble.py As a stopgap I believe all of these events could be grabbed and sent in the same way as a SMS already is. This is without me having looked at they py in many months other than tweaking daylight savings(may it be ended forever). |
Re: [Announce] Maebble - Pebble support for Maemo
With dbus many things should be possible. This could be helpful:
Documentation/Maemo 5 Developer Guide/DBus/DBus Basics N900 dbus I think links to files are down but I uploaded what I had here: http://www.setius.net/downs/maemo/dbus/ Phone control DbusScripts For gps you could use gpscon. |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
|
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
If you are interested on how to read gps data through some api, this could be useful: PyMaemo/Using Location API Python bindings for Qt Mobility APIs Qt Mobility 1.2: Location API liblocation API documentation |
Re: [Announce] Maebble - Pebble support for Maemo
Just something interesting and already python that might allow a bit more function with an already built watch app.
https://github.com/susundberg/pebble-linux-remote I am actually not sure what function would be useful with this watch app and to splice the python server side stuff into maebble but it allows shell commands to be fired off from the server. Ideas what to do with it are welcome. here are some examples though Code:
Example config: |
Re: [Announce] Maebble - Pebble support for Maemo
Off Topic(for Maemo) Partly on topic for thread participants.
Just a bit of note for our pebbles which are getting older. Your battery is probably dying by now, you are likely only getting a day or so out of a charge. Replacing a battery is actually pretty easy if you are experienced with soldering but you might be worried by the kapton ribbon connecting the battery. This is for the post-Kickstarter Pebble Classics (mine is a MODEL:301BL, Hardware=V3R2) with screws holding on the back not the glue-back watches. Assumes you have been managing your firmwares and apps with an android device running gadgetbridge and you have a good backup of your apks etc. Watch this: https://www.youtube.com/watch?v=84MS964scQI look at this https://www.digikey.com/en/maker/pro...28347b56bdf654 Pre-Op 1 - clean pebble and power down 2-(optional) remove band 3-remove and safely store screws in a safe container(or you will be sorry) Surgery and Soldering(risky, read several times and view Youtube videos) 4-*PAUSE!! Read removing back instructions 3x before proceeding 4.5- gently pop back until it is disengaged ONLY, there will be wires to the vibrator you might tear if it is attached to the case-back; the foam tabp holding it to the system board goes soft and separates. 5-insert a plastic pry tool to un-stick the vibrator from the case back 6-set the case back aside in a safe container 7-use a plastic tool to carefully remove the module containing the watch innards(there are Youtube videos for this) 8-unplug data plug ribbon at bottom of watch innards 9-snip battery ribbon 10- the ribbon has + and - markings, photograph or sketch, 11-unsolder and remove remaining ribbon throw out old battery 12-run the power wire under the plastic frame separator(YOU CAN'T REASSEMBLE IF YOU SKIP THIS STEP) 13-solder new battery down(BE SURE POLARITY IS CORRECT!!!) *the positive or red wire goes to your left hand side near a silver surface mount component the black negative wire is towards your right hand if the battery solder pads are nearest to you.* 14-be sure the rubber LCD(screen) connector is inserted properly into the space in the inner module 15-verify the vibrator is connected to the solder pads and is on it's spot 16-be sure the kapton circuit ribbon that overlaps the edge of the board area all the way to your left hand from the vibrator contacts the gold bluetooth antenna connector spring(if not you will get ghost button movements, I suspect it is a pull down circuit, if you break off the spring trying to flex it some careful solder and flux works, just don't solder over the gold contact on top) 17-snap back down(if you like replace screws now or later) Post-Op 18-attach charger cable and begin charging pebble(it will show the pebble.com/app thing as it has been factory reset when battery was disconnected(there is no app or pebble.com anymore but you can use rebble.com if you like) 19-use an android device to connect using gadgetbridge if you are a FOSS and privacy person 20-flash the recommended transition and regular firmwares instructions and files here https://github.com/Freeyourgadget/Ga...rmware-updates 21-finish charging, if everything is good including the vibration you can put your screws in now. 22-click on all of your watchfaces and apps in gadgetbridge to be sure they are uploaded with settings updated, some wont come over at first 23-disconnect and shut down Gadgetbridge device 24-connect and use with your N900 as before I have found that exercising the buttons and a series of gentle smacks of the watch against some soft pine; the side corners, back, and front as required can bring back your pebble from the screen tearing issue. You can go to a watch shop to do a waterproofing test but mine has always sealed properly after snapping on the back. It is really nice to not see my battery charge drop to 50% after a only few hours. FINDING A REPLACEMENT BATTERY My Pebble came with a Fullriver 3.7v 130ma/h 402222 battery which means 4mm thick and a 22x22mm square battery I found a random auction site 402020 3.7v 130ma/h battery and only lost a few mm size, we will see if it lasts as long at the Fullriver battery. Remember this size number trick and you can keep your bluetooth clips, MP3s, smart watches, and other gadgets with Li-ion cells running for as long as you can find your size. (edit) END RESULTS I wonder if I damaged the wrap around kapton circuit board which has the buttons and charge points attached. The top left button was firing at random for about three days and then went dead. The screen tearing is now making the watch unusable. I should have padded down the battery as it now rattles. I think I was over aggressive at tightening the bottom screws as I broke the holes on the cover, it is possible the 'gentle' bumping against wood contributed as well, now can't correct the tearing though I repaired the holes on the cover with acetone melted ABS 3d printer filament. I wonder if I was too hurried as I wanted a full battery life for a several day meeting and did not budget enough time. I will look for a good compressable pad to push down the ribbon connector, battery, and elastomere 'rubber' screen connection. |
Re: [Announce] Maebble - Pebble support for Maemo
Good info! Just bought a new used one from eBay. As mine old didn't have the screws on the back and had tearing. The news one had tearing pretty quickly, so I took it apart and added some extra paper.
Unfortunately the sellers fix didn't work long. They add double sticky foam which was a pain to deal with and also pull the screen plug out! Luckly I had some soft rubber parts I could cut from, the rubber I'm hoping will retain it's shape longer which should keep more pressure on the zebra strip. Seem like it should still be water resistant ... but who know till it's too late. x |
Re: [Announce] Maebble - Pebble support for Maemo
Off topic for Maebble but tech help pebble users from 2020 on can refer to...
Maemo users keep using old good hardware when there is no replacement available, Pebble users too _______________________________________ Here is the video to repair the nearly universal screen tearing the all DIY way if you don't have a way to get a new zebra strip rubber connector replacement(it is the dangerous way to go) but you can do it immediately. https://www.youtube.com/watch?time_c...&v=n7JBmktquUs https://www.reddit.com/r/pebble/comm...n_tearing_fix/ ________________________________________ I found the right way is to look for an auction using something like these keywords "5 pcs silicon zebra connector 2"x0.18"x0.07" 50 x 4.7 mm strip LCD Pebble watch" https://www.reddit.com/r/pebble/comm...earing_on_the/ https://imgur.com/a/50Q7JXx it requires cutting to size but being extra thick is to your advantage. _____________________________ I also found that if you get the flip/flop every second or so PEBBLE and the power charge screen you will never charge, just hold down a button until you get the stuck key hex error and let it charge for 20 min or so, then they hloding the top left and right buttons and the middle button and it should boot into recovery. |
Re: [Announce] Maebble - Pebble support for Maemo
Another nice tool(requires an android running gadgetbridge, or official client until we get the libpebble install apps/watchfaces function in maebble) is the DIY watchface maker.
http://www.watchface-generator.de/ It is an easy watchface maker tool that you can use at the website or go to the github and run locally. Now you can have your favorite meme or design a most functional watchface for yourself. Analog or digital with date, an image battery and bluetooth status ets, super customizable. Here is an example I threw together: http://www.wf-g.de/wf/20200315/n900_and_pebble/ Have fun! |
Re: [Announce] Maebble - Pebble support for Maemo
Btw, I wound up buying the zebra strips. I had to trim about about 1/4 of it down, as it was leaving a slight gap between the body and back cover ... so would most likely fail under a very low water pressure. After the zebra fix absolutely no more issues!!!
Also, I remember that site :). Here is mine http://www.wf-g.de/wf/20200315/largelysimple/ x |
Re: [Announce] Maebble - Pebble support for Maemo
I also bought zebra strips, I have not had much tearing on the replacement Pebble. I am assuming maybe an extra .5mm and cut them with a razor blade and straight edge.
I will probably do it when the discharge rate demands a new battery so I am keeping the zebra strips together with the replacement cells for when I start cracking open cases. |
Re: [Announce] Maebble - Pebble support for Maemo
1 Attachment(s)
Biketool, thanks again for putting together the scripts and info ... to use pebble.desktop as an app.
Just got it running (part of a longterm list), and it so great not to have to do it manually. Sharing the icon I found and modified for my icon. Got it from here x |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
Nokia-N900:/home/user/MyDocs/Maebble# python maebbled.py Traceback (most recent call last): File "maebbled.py", line 34, in <module> import bluetooth ImportError: No module named bluetooth Any thoughts on what I might be doing wrong. Thx |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
Code:
apt-get install python-bluez |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
But had a mother of weirdness, Apt-get couldn't find the lists file Nokia-N900:/opt/var/lib/apt# ls extended_states keyrings lists.old periodic so it couldn't lock it. I had to rename lists.old to lists and it all worked again. weird stuff! The desktop icon still appears to do nothing? maybe i need to look at the steps again, now manually it works. thanks for the help so far! |
Re: [Announce] Maebble - Pebble support for Maemo
It would be great if we could pull both the calendar and the weather (omweather) from the n900.
Also would be awesome if you could silence your phone via the pebble. Oh well I'm happy enough as it is at the moment. x |
Re: [Announce] Maebble - Pebble support for Maemo
Quote:
https://codeberg.org/Freeyourgadget/Gadgetbridge |
Re: [Announce] Maebble - Pebble support for Maemo
Yeah, time seemly so hard to come by these days. I would have no idea what to look for. But happy to try at some point. But no time at the moment.
x |
Re: [Announce] Maebble - Pebble support for Maemo
A reminder that Maebble users need to manually toggle the settings.py when daylight savings begins and ends.
There is more information upthread. https://talk.maemo.org/showpost.php?...6&postcount=89 Code:
def get_localtime():^M |
Re: [Announce] Maebble - Pebble support for Maemo
https://rebble.io/2025/01/27/the-future-of-rebble.html
Does this have any huge potential benefits for Maebble app in 2025? |
Re: [Announce] Maebble - Pebble support for Maemo
I have a few Pebbles around still waiting for the zebra strip installed, they were cheap($5) on ebay if you can solder and swap in a new battery.
The reality was that I drive/cycle/fly/ski less now and so the benefit to a wist mounted information device is way lower. The pebble is still the best though, as you can get nearly a week out of it if not running apps and only refreshing the screen once a minute. Instead I am wearing an automatic winding mechanical watch mostly. it is cool that the source code is being FOSSed, pine64(pinephone etc) has a watch project but seems to get little attention. I think rebble wants to port everything over to freeRTOS or already has, but now they can cheat off of the back of the new/old available source code. |
Re: [Announce] Maebble - Pebble support for Maemo
My Time Steel watches (3x) all still are working fine with more than 1 week battery life , The Pebble time rounds have all had battery failure. I replaced a couple, but my repair skills also rendered a couple U/S in the process.
I still think N900 and Pebble were the best combo! :-) |
All times are GMT. The time now is 02:57. |
vBulletin® Version 3.8.8