
11 comments found.
very good work ! all the best for your sales
Thank you so much!
More Tutorial Pls
Hi, can i help you?
Tutorial for installation or more?
hey can you tell me you have develop this application using which platform
Hi, do you mean the OS? This app is in python and you can run it in UNIX system. I have installed Raspbian on my raspberry
How could I make it so all outputs turn off before turning on another pin?
Open webserver.py and add a for cycle in route /on
thanks this was easy from a custom link
good!
Also how could I make 2 pins switch from the same command?
Hi, Open webserver.py you have 2 ways: add a custom route with custom link. Or you can insert a “if” in the route /on
thanks this was easy from a custom link
good!
How could I show the status of a single pin in this code:
http://pastebin.com/bmjTTrLv (sorry I don’t know how to post code here)Oh, good question…
You can try this code:
<p>My pin digicam (id: 5): {% if pins[5].state == true %} On {% else %} Off {% endif %} </p>
I’m not been able to test it now, let me know if it works!
I’m trying to change the colour of the button though? Through the ‘success’ or ‘alert’ css tag?
Also how are you posting code [code] brackets?
You can copy and paste my code for test…
You can use like this:
<p>My pin digicam (id: 5): {% if pins[5].state == true %} <span class="yourclass">On</span> {% else %} Off {% endif %} </p>
Thanks I’ll test later
You are welcome!
Just for info this is what worked in the end:
http://pastebin.com/K8WTSngs {% if pins14.state== true } Digicam 1 { else } Digicam 1 { endif %}very good!
Awesome work, great job!
Thank you so much!
sudo pip install flask and sudo pip install RPi.GPIO not work in my raspberry pi3 with jessie…the error is:Requirement already satisfied (use—upgrade to upgrade): Werkzeug>=0.7 in /usr/lib/python2.7/dist-packages (from flask)
Requirement already satisfied (use—upgrade to upgrade): Jinja2>=2.4 in /usr/lib/python2.7/dist-packages (from flask)
Requirement already satisfied (use—upgrade to upgrade): itsdangerous>=0.21 in /usr/lib/python2.7/dist-packages (from flask)
Requirement already satisfied (use -upgrade to upgrade): markupsafe in /usr/lib/python2.7/dist-packages (from Jinja2>=2.4>flask) ... Can you help my?
Hi, Is very strange. Try this:
sudo apt-get update sudo apt-get upgrade
and try now…. if not work you can try to find this error on stackoverflow
I can not in any way to install flask … Using raspbian jessie … I have to try with another operating system?
wheezy?
using python3
pi@fielos:~$ sudo python webserver.py Traceback (most recent call last): File “webserver.py”, line 6, in <module> import Adafruit_DHT ImportError: No module named Adafruit_DHT
you can give me the your disk image?
Hi, ok if you don’t use DHT Temperature Sensor, you can edit webserver.py and comment this line:
import Adafruit_DHT
If you don’t want also lcd screen comment: import Adafruit_CharLCD as LCD
Set this variable to False: temperature_sensor
I have question: Anyone can connect to pi ip or is password protected ?
Hi, if your ip is public yes. This interface don’t have login page now
I need know python to install? how dificult is to install?
Hi, no you can follow my user guide and you will ready in 5 minutes!
it works but is very slow
Hi, why very slow? When i press i get feedback in 0.5 seconds about…
Have you checked the ping to your raspberry?
yes I checked and got 5 ms ping but it takes 1 minute via webconsole
1 minute?? is too late, can i help you? how do you do your RWC? led control? relè?
just a simple led project. on / off. I try from the phone and the computer but the result is the same. when i try with a different python project I run the led in a short time from 1 second.
I wiped everything except gpio and it’s working so fast.
ok, your project is accessible from remote? Can i connect to your project by SSH and HTTP?
I want to try and fix it for you
I dont need temperature and other things. just gpio is enough for me. Thank you for your help. but you can help me how to boot. I did everything that was written in the user’s guide, but the RWC does not open at startup.
paste here your “crontab -e” output