Go to advanced search

by trouch
Sun Jan 13, 2013 7:45 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

WebIOPi don't requires Apache at all. Moreover, WebIOPi don't use /var/www As Demonic69 said, you have to redirect a port on your router to the webiopi port in order to use it with internet. public port and internal port can be different. if you have webiopi on port 8000 you can : - redirect public ...
by trouch
Sun Jan 13, 2013 3:16 pm
Forum: Python
Topic: Running two GPIO python scripts at once
Replies: 19
Views: 17955

Re: Running two GPIO python scripts at once

May a single script using threads will suit your need ?
by trouch
Sun Jan 13, 2013 3:11 pm
Forum: Français
Topic: Espace Insufisant
Replies: 4
Views: 916

Re: Espace Insufisant

pour info, webiopi est complètement sandalone et fonctionne sans autre serveur HTTP, pas besoin ni d'apache ni de lamp ni de quoi que ce soit d'autre ;)
by trouch
Sat Jan 12, 2013 11:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Stuck again.... :cry: I got the marco you suggested above to work but i need it to be momentary. I can get single GPIOs working momentary be using the SOS function but I can't figure out how to combine 2 GPIO outputs to be momentary. i.e Activate GPIO 11&12 for 500ms Any ideas? Thanks Ant import ti...
by trouch
Sat Jan 12, 2013 4:34 pm
Forum: Advanced users
Topic: Speed Comparison
Replies: 6
Views: 8810

Re: Speed Comparison

I've also made my own bench using matrix computation to see float performance You may take on look on http://www.raspberrypi.org/phpBB3/viewtopic.php?f=31&t=29421 All detail on http://trouch.com/2013/01/12/raspberry-pi-benchmark/ Trouch, that is fascinating stuff. I didn't realize that the python p...
by trouch
Sat Jan 12, 2013 2:40 pm
Forum: Java
Topic: Java GPIO Frequency Benchmarks
Replies: 35
Views: 21135

Re: Java GPIO Frequency Benchmarks

I've also made my own bench using matrix computation to see float performance
You may take on look on http://www.raspberrypi.org/phpBB3/viewt ... 31&t=29421
All detail on http://trouch.com/2013/01/12/raspberry-pi-benchmark/
by trouch
Sat Jan 12, 2013 2:39 pm
Forum: Advanced users
Topic: Speed Comparison
Replies: 6
Views: 8810

Re: Speed Comparison

I've also made my own bench using matrix computation to see float performance
You may take on look on http://www.raspberrypi.org/phpBB3/viewt ... 31&t=29421
All detail on http://trouch.com/2013/01/12/raspberry-pi-benchmark/
by trouch
Sat Jan 12, 2013 2:39 pm
Forum: Java
Topic: a quick performance comparison of java on raspbian
Replies: 39
Views: 41032

Re: a quick performance comparison of java on raspbian

I've also made my own bench using matrix computation to see float performance
You may take on look on http://www.raspberrypi.org/phpBB3/viewt ... 31&t=29421
All detail on http://trouch.com/2013/01/12/raspberry-pi-benchmark/
by trouch
Sat Jan 12, 2013 2:37 pm
Forum: General programming discussion
Topic: Language and Platform benchmark
Replies: 0
Views: 1857

Language and Platform benchmark

I just made few bench to compare RPi Hard/Soft float, technologies, and compare to other hardware. All details on http://trouch.com/2013/01/12/raspberry-pi-benchmark/ http://trouch.com/wp-content/uploads/2013/01/technology_matrix.png http://trouch.com/wp-content/uploads/2013/01/platform_matrix.png
by trouch
Sat Jan 12, 2013 12:48 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Works perfectly,now if you could fix my sucky java skills that quickly I'd be amazed ;-) You might be able to answer me this quickly, how would I change the status of a GPIO pin by clicking on an image, instead of a created button? I'd also like the image to change depending on the state of an inpu...
by trouch
Fri Jan 11, 2013 11:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

issue fixed, you can try it by checking out SVN repository and reinstall webiopi from it. in a terminal : sudo /etc/init.d/webiopi stop svn checkout http://webiopi.googlecode.com/svn/trunk/ webiopi-trunk cd webiopi-trunk sudo ./setup.sh sudo /etc/init.d/webiopi start warning that the install process...
by trouch
Fri Jan 11, 2013 10:35 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

I spotted the problem and created an issue for that.
http://code.google.com/p/webiopi/issues/detail?id=20
I'll will fix that quickly and release a new version
sorry for that bug
by trouch
Fri Jan 11, 2013 4:38 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

how do you launch webiopi ? using /etc/init.d/webiopi ?
try

Code: Select all

<img src="/360pow.jpg" alt="meh" height="130" width="130">
(look for the starting slash in the src)
by trouch
Fri Jan 11, 2013 10:16 am
Forum: Français
Topic: Multi poste Free et codecs officiels
Replies: 10
Views: 2905

Re: Multi poste Free et codecs officiels

tu parles du wifi... tu as essayé en ethernet ???
maintenant, le multiposte de Free c'est toujours du MPEG2 TS ?
si oui, tu as interêt à acheter une licence pour avoir le décodage hardware.
by trouch
Fri Jan 11, 2013 9:29 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Just installed 0.5.3 from the Pi store just to see what is was like. When I look for the Webiopi folder it's nowhere to be found. When I installed the last version (using terminal) it installed in /home/pi/. Any ideas where the Pi store installs it? You actually did not understood the setup process...
by trouch
Thu Jan 10, 2013 11:18 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

In the future I would like to add a facility by where I can add a time/date text field to the web interface which would operate the GPIOs. Is this possible at present. As I say, not going to try it in the near future but just curious if/how it's possible. If it requires to much time to explain then...
by trouch
Thu Jan 10, 2013 10:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

In the future I would like to add a facility by where I can add a time/date text field to the web interface which would operate the GPIOs. Is this possible at present. As I say, not going to try it in the near future but just curious if/how it's possible. If it requires to much time to explain then...
by trouch
Thu Jan 10, 2013 8:52 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Quick question. How can I operate 2 GPIOs outputs from the one button? you can use macros, in a python file : import webiopi GPIO = webiopi.GPIO def toggleMyGPIO(): GPIO.output(7, not GPIO.input(7)) GPIO.output(8, not GPIO.input(8)) server = webiopi.Server() server.addMacro(toggleMyGPIO) webiopi.ru...
by trouch
Thu Jan 10, 2013 8:07 pm
Forum: Français
Topic: script aider moi svp
Replies: 8
Views: 1566

Re: script aider moi svp

avec n'importe quel editeur de fichier text "simple"...
bloc note
gedit
textedit
vim
nano
by trouch
Thu Jan 10, 2013 8:05 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Actually, the sudo python webiopi_custom.py doesnt work for me. Console ouotputs: "python: can't open file 'webiopi_custom.py': [Errno 2] No such file or directory" The code I have used to run custom_webiopi.py has been this: sudo python /home/pi/WebIOPi-0.5.3/examples/custom/webiopi_custom.py Afte...
by trouch
Thu Jan 10, 2013 6:38 pm
Forum: Français
Topic: wpa_supplicant
Replies: 6
Views: 1586

Re: wpa_supplicant

smartties wrote:Aurais tu également le etc/wpa_supplicant/wpa_supplicant.conf s'il te plait ?
je n'y ai pas touché, c'est le fichier d'origine :

Code: Select all

pi@raspberrypi ~ $ sudo more /etc/wpa_supplicant/wpa_supplicant.conf 
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
by trouch
Thu Jan 10, 2013 6:08 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Yes, i got index.html file in the same folder as the webiopi_custom.py. I renamed that html file to custom.html. I tried to acces to http://my-ip-adress:8000/webiopi/custom.html but i get 404 error page. this is weird... what is the console output when starting "sudo python webiopi_custom.py" ? did...
by trouch
Thu Jan 10, 2013 6:05 pm
Forum: Français
Topic: wpa_supplicant
Replies: 6
Views: 1586

Re: wpa_supplicant

tout simplement :

Code: Select all

pi@raspberrypi ~ $ more /etc/network/interfaces 
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
	wpa-ssid mon-ssid-qui-insulte-les-voisins
	wpa-psk ma-passphrase-ultra-secure
by trouch
Thu Jan 10, 2013 2:03 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: WebIOPi : control your Pi’s GPIO with a browser
Replies: 318
Views: 182225

Re: WebIOPi : control your Pi’s GPIO with a browser

Do you have any HTML file next to webiopi_custom.py ?
If yes and not named index.html, you have to add it's name at the end of url.
For instance, if you have a custom.html, the URL will be http://my-ip-adress:8000/webiopi/custom.html

Go to advanced search