Active Topics

 



Notices


Reply
Thread Tools
Community Council | Posts: 683 | Thanked: 1,227 times | Joined on Sep 2010 @ Mbabane
#111
Originally Posted by glo-worm View Post
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
__________________
RX-51

Last edited by sicelo; 2020-08-17 at 13:50. Reason: Typo: insall -> install
 

The Following 2 Users Say Thank You to sicelo For This Useful Post:
Posts: 98 | Thanked: 223 times | Joined on Jul 2013 @ Prague
#112
Originally Posted by sicelo View Post
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!
 

The Following User Says Thank You to glo-worm For This Useful Post:
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#113
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
 
Posts: 1,423 | Thanked: 2,620 times | Joined on Jan 2011 @ Touring
#114
Originally Posted by xman View Post
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
 

The Following 2 Users Say Thank You to biketool For This Useful Post:
Posts: 562 | Thanked: 1,732 times | Joined on Jan 2010 @ NYC
#115
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
 
Posts: 1,423 | Thanked: 2,620 times | Joined on Jan 2011 @ Touring
#116
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

Last edited by biketool; 2021-10-31 at 16:45.
 

The Following 2 Users Say Thank You to biketool For This Useful Post:
Reply

Tags
pebble time, smart watch


 
Forum Jump


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