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)

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



All times are GMT. The time now is 04:08.

vBulletin® Version 3.8.8