maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Maebble - Pebble support for Maemo (https://talk.maemo.org/showthread.php?t=97591)

druk13 2018-06-28 14:03

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by Halftux (Post 1545879)
Why is that?
What did you do?
Any error message?
:confused:

1) I loaded the page http://repository.maemo.org/extras/pool/fremantle/free/p/pybluez/ in the stock internet browser.
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:

Halftux 2018-06-28 14:10

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.

druk13 2018-06-29 06:13

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by Halftux (Post 1545882)
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.

apt-get has done the job :).

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:

xman 2018-06-30 01:42

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

druk13 2018-07-02 11:56

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by xman (Post 1545902)
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

I've maebbled v0.91.01 from https://garage.maemo.org/projects/maebble/ running with th following limitations:

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:

xman 2018-07-03 04:09

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by druk13 (Post 1545939)
I've maebbled v0.91.01 from https://garage.maemo.org/projects/maebble/ running with th following limitations:

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:

I'm using the .92 vers.

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

imaginaryenemy 2018-07-03 15:19

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by xman (Post 1545954)
SNIP pebble classic could never reply to text from the watch as far as I know. So I never expected this feature.SNIP

The classic was always able to respond to messages with canned responses that you can populate through the Pebble app. You could also install one of many third party apps that would allow you to respond to messages in a wide variety of ways.

xman 2018-07-03 23:34

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by imaginaryenemy (Post 1545983)
The classic was always able to respond to messages with canned responses that you can populate through the Pebble app. You could also install one of many third party apps that would allow you to respond to messages in a wide variety of ways.

I think this is only available to iOS and android users (possible sialfish), but I have not seen this option any where. Please share if you have a way since it would be very handy.

x

biketool 2018-12-17 14:41

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
dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:"Starting Maebble Daemon w/Diagnostics ON for Pebble Watch"
osso-xterm -e "python /home/user/MyDocs/Maebble/maebbled.py --print_maemo --config_file /home/user/.config/maebble/maebble.cfg"

To get functional daylight savings or easy hack travel time zones on your Pebble watch; change these lines in settings.py in your maebble directory
Code:

def get_localtime():^M
    ts = 0^M
# uncomment the +23 line below (spring/daylight savings time in UCT +2 zone customize for your zone(ie: (utc +2 - 1hr = 1) (24-1=23))) & uncomment != 0:(fall standard time) line which will sync with GMT on your phone, set + number for correct local time vs UCT(zulu/GMT time).^M
    if time.daylight != 0:^M
    #if time.daylight > +23:^M
        ts = int(time.time()) - time.altzone^M
    else:^M
        ts = int(time.time()) - time.timezone^M
    return ts^M

and the hildon desktop so you get an icon(requires openwatch for the icon) /home/user/.local/share/applications/hildon/pebble.desktop

Code:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=pebble
Icon=/opt/usr/share/icons/hicolor/48x48/hildon/openwatch.png
Exec=/usr/bin/pebble
Type=Application

Since I have control of the Maebble garage page I will have to make time to put these there as well as the v0.91 from proprog's dropbox.

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?

glo-worm 2018-12-17 16:19

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.

biketool 2018-12-17 17:13

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.

xman 2018-12-17 18:34

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

biketool 2018-12-17 19:11

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by xman (Post 1551826)
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

I used your idea but made a comment/uncomment toggle and more how-to documentation for greater utility in the hack, hopefully noting it here means more people actually can/will use it, but credit to you for adding the daylight savings mode.
As for daylight savings, I am not sure how Maemo flags that so yea still a manual switch in the file.

xman 2018-12-17 19:28

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

biketool 2018-12-17 19:57

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.

proprog 2018-12-18 20:03

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.

biketool 2018-12-19 07:42

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by proprog (Post 1551861)
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.

My Linux and embedded stuff is full of barely work hand typed hacks. Input especially from the real dev who wrote/adapted this code is exactly what I need if we want to have something ready for extras-testing.
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)

biketool 2019-08-12 11:02

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).

Halftux 2019-08-12 15:12

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.

biketool 2019-08-12 22:12

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by Halftux (Post 1559024)
(snip)
For gps you could use gpscon.

I am more looking for a file or api where I can grab the "turn left 50m" or whatever that I could convert to text for GPS. There are apps which can use direct GPS input as well as communicate over the 'net but I am trying to stick with the same protocol being used for SMS displays.

Halftux 2019-08-12 23:54

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by biketool (Post 1559028)
I am more looking for a file or api where I can grab the "turn left 50m" or whatever that I could convert to text for GPS. There are apps which can use direct GPS input as well as communicate over the 'net but I am trying to stick with the same protocol being used for SMS displays.

Ah ok now I understand than you need to look into the source code of the application of your choice and modify it. I don't think that there is a navigation software with such an api you looking for.

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

biketool 2019-09-02 16:28

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:

[main]
transport = bluetooth  ; Either 'bluetooth' or 'websocket'
device = /dev/rfcomm0  ; bluetooth transport
;device = ws://192.168.0.1:9000/  ; websocket transport -- enable developer connection on your phone!
uuid = 7f1742c48dc94bb7ac8b309faf58985a

[commands]
UP,SINGLE = xdotool key Page_Up ; Emulate page down key press event -- apt-get install xdotool
DOWN,SINGLE = xdotool key Page_Down  ; Emulate page down key press event
UP,LONG = espeak "DO A BARREL ROLL!"  ; apt-get install espeak to get sound out!
DOWN,LONG = espeak "You pressed DOWN with LONG"

; Enabling the double click will make single click register slower, since pebble must wait
; for the other click.
; UP,MULTI= espeak "DO A BARREL ROLL!"
; DOWN,MULTI = espeak "Noup! Its chuck tesla"
SELECT,MULTI = espeak "TROLOLOLOLOLOLO"

SELECT,SINGLE = espeak "Problem officer"
SELECT,LONG = xdotool key ctrl+alt+l ; Lock the screen by pressing ctrl+alt+l


biketool 2019-10-31 16:53

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.

xman 2019-11-10 02:08

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

biketool 2019-12-20 11:48

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.

biketool 2020-03-15 11:36

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!

xman 2020-03-15 17:25

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

biketool 2020-03-15 17:45

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.

xman 2020-03-27 23:59

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

glo-worm 2020-08-17 13:31

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by biketool (Post 1551822)
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.

Hi Bike tool- I had another go at this with a spare pebble time round, latest Firmware. I coped all the files and they seem to be at the right locations, i have the correct desktop icon so that worked out i guess. Pressing the desktop icon nothing appears to happen at all? running python maebble.py manually reports:-

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

sicelo 2020-08-17 13:49

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by glo-worm (Post 1568799)
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

Code:

apt-get install python-bluez
This should fix that error for you

glo-worm 2020-08-17 15:25

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by sicelo (Post 1568800)
Code:

apt-get install python-bluez
This should fix that error for you

That did the trick. At least sms notification worked and music tracks, so far that i tested. Forgot it is a new N900 I got since I last installed Maebble, so none of the original install instruction steps had been done.

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!

xman 2020-08-20 16:51

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

biketool 2020-08-21 11:01

Re: [Announce] Maebble - Pebble support for Maemo
 
Quote:

Originally Posted by xman (Post 1568835)
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

If you(anyone) have to the time to look at the code for Gadgetbridge the triggers which need to be inserted for the notifications (I would just push everything) hang-up etc in the Maebble code are there and convert it to python. The notifications should be easy but I cant even look at the code for the next few months if at all.
https://codeberg.org/Freeyourgadget/Gadgetbridge

xman 2020-08-21 15:15

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

biketool 2021-10-31 16:38

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
    ts = 0^M
# uncomment the +23 line below (spring/daylight savings time in UCT +2 zone customize for your zone(ie: (utc +2 - 1hr = 1) (24-1=23))) & uncomment != 0:(fall standard time) line which will sync with GMT on your phone, set + number for correct local time vs UCT(zulu/GMT time).^M
    if time.daylight != 0:^M
    #if time.daylight > +23:^M
        ts = int(time.time()) - time.altzone^M
    else:^M
        ts = int(time.time()) - time.timezone^M
    return ts^M


glo-worm 2025-03-10 15:49

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?

biketool 2025-03-10 16:20

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.

glo-worm 2025-03-11 07:38

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