![]() |
Re: [Announce] N900 Notifier
Yes the server.py got over 80 lines, but the print you showed was from N900 and the N900 should run client.py which is not as much code.
Anyway, take this : http:www.antezz.com/files/server-0.4.py (rightclick save as...) Edit it, go to line 76 and change it to your PC internal IP, then you just fire it up with python and same thing on N900, take the CLIENT.py edit the host to your PCs internal IP and fire it up with python. |
Re: [Announce] N900 Notifier
Thanks for your help guys!
Okay I now see what was wrong but now i dont get any errors, i just tested it....but no notification on pc about the call |
Re: [Announce] N900 Notifier
Check the server.py output, its probly the systemvaribel that isnt set up to growl. Try fire up server.py within the growl folder and try again.
|
Re: [Announce] N900 Notifier
Quote:
|
Re: [Announce] N900 Notifier
Open up growl and go to security tab, remove pass for lan apps and check allow network and try again.
|
Re: [Announce] N900 Notifier
Quote:
Ive also checked windows firewall and allowed it all ports, plus the port is also forwrded and open in the router. |
Re: [Announce] N900 Notifier
Well, if the server.py shows that it got the message it should show up, have you tried to send a SMS to? Shouldnt make a difference but you could try lol, im kinda out of ideas.
You could try change "os.system(command)" on line 63 to something like Quote:
Quote:
Edit: i just read your PM lol, are you running the server.py in python editor to? the os.system will only work in CMD i think, that could by why growl wont show up. |
Re: [Announce] N900 Notifier
Quote:
But still no notifications are coming up. Tried sms and call. |
Re: [Announce] N900 Notifier
Then it should work just fine if you run the script from terminal (CMD).
Quote:
Else i can't help, can't figure out whats wrong if the terminal doesn't output any errors and its hard to debug something when you cant do it your self. |
Re: [Announce] N900 Notifier
Quote:
What do i do with growl? just leave the app open or do i need to do a command for that? I think it might be im not running it correctly altho all the setup is good |
Re: [Announce] N900 Notifier
So you got it working?
Ye growl need to run its the program that shows notifications. If you wanna hide the CMD window from server.py you can just make a bat-file containing "python c:\path\to\file\server.py" then make a .vbs file containing : Quote:
And on N900 theres alot of ways to run stuff in background. a noob-friendly and simple way is to use the "nohup client.py &" command |
Re: [Announce] N900 Notifier
Quote:
|
Re: [Announce] N900 Notifier
|
Re: [Announce] N900 Notifier
okay I managed to fix that error and now growl displayed a notification! and no errors this time.
For some reason windows had removed the variable I added, so just added it in again. I shall try and create that vbs file |
Re: [Announce] N900 Notifier
Haha, gratz! making the bat and vbs file is easy cake. :3
|
Re: [Announce] N900 Notifier
ive got the bat file which i used notepad to make but i cant get the vbs file. Can you recommend a simple or good app?
|
Re: [Announce] N900 Notifier
you can use notepad, just rightclick and make a text file name it "something.vbs" open it with notepad and copy paste the vbs code in my previous post then you edit the file path to the bat of yours.
Then you run the .vbs file just by dubbelclick it, and tada! You should now see nothing.. but still get notifications thru growl. |
Re: [Announce] N900 Notifier
yeah i already did but it didnt work....i just checked again and its all working now!
I realised 1 of the major problems.....i can only have 1 set variable in windows, so everytime i added a new or diff 1, it would remove the previous 1, so any error messages i wasnt seeing them until i went to command prompt and ran them from there to see. This is great! Thank you very much Antez & to others for the help! |
Re: [Announce] N900 Notifier
are you separating them with ; ?
c:\python;c:\growl like that? Edit: if you wanna thank me theres a "thank you"-button. :rolleyes: |
Re: [Announce] N900 Notifier
Quote:
An ive hit the button :) Cheers man |
Re: [Announce] N900 Notifier
I tried running the vbs file today and its not working. So I done python server.py in cmd and getting an error. Not sure why tho? I didnt change anything.
http://i53.tinypic.com/3462tqa.png |
Re: [Announce] N900 Notifier
its ok got it sorted.
|
Re: [Announce] N900 Notifier
ok i figured it out, its not working on the gprs connection today, im pretty sure i was running on it last nite hmm
But on the wifi its all working. |
Re: [Announce] N900 Notifier
Quote:
Running the normal way (python client.py) works and shows notifications. |
Re: [Announce] N900 Notifier
hmm~~ just wondering, if possible to use it to send/reply a message
|
Re: [Announce] N900 Notifier
Quote:
A question... is it compatible with python 3.1? I can't run it on my WIndows Quote:
|
Re: [Announce] N900 Notifier
so this works over wifi, correct? what if there is no hotspot available?
|
Re: [Announce] N900 Notifier
Quote:
I guess its ideal for home/office use as your phone might be lying about somewhere so would come in handy. Hopefully future update will fix this issue, but for now im glad at least it works! :) |
Re: [Announce] N900 Notifier
Quote:
|
Re: [Announce] N900 Notifier
Well, it's kinda simple why it's not working outside your wi-fi.
You see, you used internal IP which only works inside the same network. In order to get it work on all networks you need to use your PCs external IP and insert into the client.py but then you need to open the port you use in your router/firewall to. |
Re: [Announce] N900 Notifier
i haven't tried this but one question. Unlike the android notifier, this currently does not support notification over bluetooth rite?
|
Re: [Announce] N900 Notifier
@ejasmudar
It's a TCP server/client in python, so your answer for now is no. |
Re: [Announce] N900 Notifier
Quote:
But cool I might check it out to test it. |
Re: [Announce] N900 Notifier
There's tool to use like no-ip and others that gives you an subdomain and software that updates the subdomain to contain your dyn IP.
Then you can use your subdomain like "myn900.no-ip.org" and it will always contain your PCs IP. |
Re: [Announce] N900 Notifier
anybody found a way to start the client from an if-up.d/script?
holy sh**, I tried thousand ways but none works! |
Re: [Announce] N900 Notifier
Quote:
|
Re: [Announce] N900 Notifier
Quote:
http://www.youtube.com/watch?v=BnTi7Pj3AKM |
Re: [Announce] N900 Notifier
Ye i saw that, got echofon for firefox so i saw MeeGoExperts twitter about it. Hopefully it will help the less nerdy windows users.
We should also thank scottuss for making the server and client! :3 |
Re: [Announce] N900 Notifier
Thanks Scottuss for making this possible! I look forward to future updates and projects =)
|
Re: [Announce] N900 Notifier
Having a few problems; when running the client.py on my n900, it gives this error:
ImportError: No module named gobject What do I need to install? |
All times are GMT. The time now is 18:52. |
vBulletin® Version 3.8.8