maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] HeySms - Send and receive sms on your computer (https://talk.maemo.org/showthread.php?t=84705)

titilambert 2012-06-05 20:36

Re: [Announce] HeySms - Send and receive sms on your computer
 
Quote:

Originally Posted by davdav (Post 1218076)
A good idea
Can you make it send emails with the SMS content
And you can reply back by sending back an email with a prefix maybe like SMS: -N "phone number" -t "text here "

Thanks!
Hum ... good question !
I don't think, but I will check it !

titilambert 2012-06-05 21:36

Re: [Announce] HeySms - Send and receive sms on your computer
 
Quote:

Originally Posted by zimon (Post 1218096)
Code:

$ dpkg -l | grep avahi
ii  libavahi-client3                                    0.6.24-0maemo5                            Avahi client library
ii  libavahi-common-data                                0.6.24-0maemo5                            Avahi common data files
ii  libavahi-common3                                    0.6.24-0maemo5                            Avahi common library
ii  libavahi-compat-libdnssd1                          0.6.24-0maemo5                            Avahi Apple Bonjour compatibility library

Yep, avahi-daemon was not installed.
....

edit:

After installing avahi-daemon:
Code:

$ dpkg -l | grep avahi
ii  avahi-daemon                                        0.6.24-0maemo5                            Avahi mDNS/DNS-SD daemon
ii  libavahi-client3                                    0.6.24-0maemo5                            Avahi client library
ii  libavahi-common-data                                0.6.24-0maemo5                            Avahi common data files
ii  libavahi-common3                                    0.6.24-0maemo5                            Avahi common library
ii  libavahi-compat-libdnssd1                          0.6.24-0maemo5                            Avahi Apple Bonjour compatibility library
ii  libavahi-core5                                      0.6.24-0maemo5                            Avahi's embeddable mDNS/DNS-SD library

But still no luck:
Code:

$ heysms
Unsupported date format character at 1 (%-d.%-m.)
Traceback (most recent call last):
  File "/usr/bin/heysms", line 32, in <module>
    main()
  File "/usr/lib/python2.5/site-packages/heysms/heysms.py", line 184, in main
    ui.central_widget.reload_contacts()
  File "/usr/lib/python2.5/site-packages/heysms/heysms.py", line 85, in reload_contacts
    self.parent.bonjour_users = list_presence_users()
  File "/usr/lib/python2.5/site-packages/heysms/lib/lib.py", line 201, in list_presence_users
    callBack=browse_callback)
  File "/usr/lib/python2.5/site-packages/heysms/lib/pybonjour.py", line 1409, in DNSServiceBrowse
    None)
  File "/usr/lib/python2.5/site-packages/heysms/lib/pybonjour.py", line 286, in _errcheck
    raise cls(result)
lib.pybonjour.BonjourError: (-65537, 'unknown')


Stupid question ... Is it running ?

zimon 2012-06-05 21:40

Re: [Announce] HeySms - Send and receive sms on your computer
 
Quote:

Originally Posted by titilambert (Post 1218124)
Stupid question ... Is it running ?

no, it (avahi-daemon) wasn't.

Now it is and heysms runs.
....
"No Bonjour contacts found."

What I should configure in PC Linux Pidgin-end?
Create a Bonjour-protocol account with what username?

titilambert 2012-06-05 22:33

Re: [Announce] HeySms - Send and receive sms on your computer
 
Quote:

Originally Posted by zimon (Post 1218127)
no, it (avahi-daemon) wasn't.

Now it is and heysms runs.
....
"No Bonjour contacts found."

What I should configure in PC Linux Pidgin-end?
Create a Bonjour-protocol account with what username?

Yes ! launch Pidgin, create a bonjour account and use the username you want ! and active his account ...
Then click on reload button on HeySms and you will see your account ... :)

darodi 2012-06-05 23:36

Re: [Announce] HeySms - Send and receive sms on your computer
 
replying to a sms via bonjour/pidgin doesn't work for me.
I receive the message in pidgin from a phone number in the form +32477xxxxxx

when i reply, in the log i see :

Code:

new_message to    contact1
new_message content    it works?
send_sms
it works?
to
2477xxxxxx
Phone.SMS.Error.Generic: Invalid parameter
sending sms failed, retry
end sending


the first 2 digits '+3' are lost in the destination number.

titilambert 2012-06-06 00:05

Re: [Announce] HeySms - Send and receive sms on your computer
 
Quote:

Originally Posted by darodi (Post 1218168)
replying to a sms via bonjour/pidgin doesn't work for me.
I receive the message in pidgin from a phone number in the form +32477xxxxxx

when i reply, in the log i see :

Code:

new_message to    contact1
new_message content    it works?
send_sms
it works?
to
2477xxxxxx
Phone.SMS.Error.Generic: Invalid parameter
sending sms failed, retry
end sending


the first 2 digits '+3' are lost in the destination number.

Hello !
Well well well.. I m from Montreal, my number is +1 514 xxxx ...

I never test HeySms with number outside america ...
Could you tell me where do you come from ? and what is the structure of your number ?

Thanks !!

titilambert 2012-06-06 01:12

Re: [Announce] HeySms - Send and receive sms on your computer
 
I confirm !
HeySms works only with american number... I will fix it to night ...

titilambert 2012-06-06 03:52

Re: [Announce] HeySms - Send and receive sms on your computer
 
I just update the package
This fix avahi dependency and number error ...

Also, I will create a roadmap on github

Scorpius 2012-06-06 04:54

Re: [Announce] HeySms - Send and receive sms on your computer
 
This is so awesome! I was thinking in making a program like this.

Since it's 12:22 am here and everybody's sleeping I sent myself an automated SMS. But these SMS are alphanumeric so it seems it doesn't get recognized by this little program.

In my country we receive a lot of alerts through alphanumeric SMS (Normal SMS just that they don't come from a number but from a word). Usually bills (reminders that you haven't pay something).

Does it only work with numbers? I'd have to wait to decent hours to test it.

darodi 2012-06-06 07:25

Re: [Announce] HeySms - Send and receive sms on your computer
 
Quote:

Originally Posted by titilambert (Post 1218172)
Hello !
Well well well.. I m from Montreal, my number is +1 514 xxxx ...

I never test HeySms with number outside america ...
Could you tell me where do you come from ? and what is the structure of your number ?

Thanks !!

I'm in Europe. The format is usually

+ (intl code number) xxxxxx

In Europe, intl code number can be 2 or 3 digits long (For example, 3 digits in Luxembourg '352', 2 digits for Belgium '32' )
'1' is the intl code number for America. That one is only one digit long.


All times are GMT. The time now is 09:56.

vBulletin® Version 3.8.8