Hinterlasse einen Kommentar:
Liebe Spam-Fuzzis und Trolle: Kommentare werden erst nach einer persönlichen Überprüfung veröffentlicht!
Wegen dieser manuellen Überprüfung dauert es daher etwas, bis euer Text zu lesen sein wird - habt Geduld...

Kommentare beantworte ich grundsätzlich nicht per Mail!
Die Spielregeln und meine Mailadresse findet ihr in der Rubrik Kontakt!

Norbert

Name:
Kommentar:
Formular:


----------------------------------------------------

Seite: technics-computer-internet-of-things_ge.htm
Datum: 2017.07.01 07:11:00 (UTC+1)
Name: manuel

Kommentar:
wie genau macht man einen internet sever?

Me: Indem man Linux auf einem Rechner installiert, diesen an's Netzwerk anbindet und Apache installiert (mit dem Befehl "sudo apt-get install Apache" unter Debian Linux).
Das ist die Kurzform. Alle Gigabytes an Zusatzinformationen kannst du im Internet finden, indem du nach Apache Googelst.

----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2016.12.27 06:13:46 (UTC+1)
Name: IOT question(s)

Comment:
Hello. I'm very interested in the setup of the IOT server. Mostly in how your server identifies my device, over internet. I'm trying to see what file(s) I would need to host/edit to use your version without using your server. I know you state it is minimal covered at the end, but more detail would be useful. Or could you provide documentation on your server setup, IE: What files are on there, and what edits need to be made should hosting server be changed. Thanks so much for your site!!

To be more specific. I understand how the perl commands work. What I'm unclear about is how your server is able to link to my raspberry pi device, regardless of IP. This is the part that I'm trying to duplicate for remote relay triggering. I can easily host and change the IOT-Status.pl for my needs, just lost on the remote connection part. Thanks again. Your site and ideals are really helpful.

Me: The Raspberry Pi identifies my server over the Internet adress (www.RoboSpatium.de). A file named as the weakly encrypted password you choose during the IoT install on your Raspberry Pi is created each time your Raspberry is up and running. If you call the remote control page (that runs on the same server) from a second device, the password is chosen to identify what Raspberry Pi should be commanded. The commands are written into the (weakly encrypted) password named file on the server. Next time the Raspberry Pi requests that file (10s intervalls), the command is transmitted.
You must setup apache with perl support on your server and follow the instruction at the end of my IoT chapter.




----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2016.10.16 15:23:13 (UTC+1)
Name: Naser

Comment:
Hi Nobert,

IOT is avery interesting thread and your video and project page is very clear and helpfull.

I'm an expert in programming Microcoltrollers, FPGA and PLC/HMI for industrial automation and I would like to learn more about the Perl.

In particulare,What tools do I need to start, I don't have internet server, do you have any doc or video on how to create one?

Do you have any open project group where I can be a member and partecipate in developping..?

Thanks for your kind help
Regards

Me: In principle, perl runs on any computer with the compiler installed. The files are nothing but simple text files and I am using "Geany" to edit the code. Setting up an apache server with Perl functionality is a bit more tricky, but there are tons of documentation available. I have apache with Perl running on my Raspberry Pi powered robots to access them through WLAN.
Setting up an internet server on Raspian (which ist also valid for other Debian based Linux versions):
http://www.penguintutor.com/linux/raspberrypi-webserver
Starting Perl CGI scripts e.g.:
http://raspberrywebserver.com/cgiscripting/writing-cgi-scripts-on-a-raspberry-pi.html
Use Google ist the best help I can offer and that's where all questions are answered...
;-)


----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.11.08 at 22:17:41 (UTC+1)
Name: Daryl Casteaux

Comment:
Hello, I have read through your server-side Perl scripts. Am keen to understand how it works. However, it is not clear to me how (if?) IOT-Status.pl generates the same user interface as shown in Figure 7. Or do I need to create a html page and then pass the variables into the IOT-Status.pl script? It would be nice if you had more comments in the code - these would describe in details what was going on. Though this is probably bad practice it would help novices like me. Thanks again.

Me: If you have no idea of how to create dynamic web content, some comments in the source code won't be enough. IOT is a subject that is very high on my list of things to do in 2016. The idea is to explain in detail how to write source code for physical computing and the Internet Of things. Be patient.
Yes, IOT-Status.pl generates the user interface. All lines starting with "print" generate html code and so the user interface including java script in the header section.


----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.10.30 at 11:13:28 (UTC+1)
Name: Daryl Casteaux

Comment:
Hello...camera is now working. I did not have it enabled! See here:

https://www.raspberrypi.org/help/camera-module-setup/

Am sorry to have wasted your time - my first time with  Raspberry Pi. Thanks for your help and thank you for a wonderful website and IOT feature! have donated via paypal.

Me: Helping somebody else to make one of my projects work is never a waste of time. It shows where the weak points in my documentation are. Thanks a lot for the generous donation!

----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.10.29 at 19:04:41 (UTC+1)
Name: Daryl Casteaux

Comment:
Hello  ,

I rested the cable in the J3 connector and made changes to the file as shown below but still no camera:

===============

if($make_snapshot == 1 && $make_snapshot_old _ 25){
   $make_snapshot = 0_
   system("raspistill -w 320 -h 240 -o " . $snapshot_file)_
  #When using an USB webcam, comment out the line above and uncoment the line below
  # system("avconv -y -f video4linux2 -i /dev/video0 -frames 10 -s 320x240 %08d.jpg")_system("cp 00000010.jpg " . $snapshot_file)_
   if ( -e $

Me: What is the output of IOT-Raspberry.pl when stopping (sudo killall IOT-Raspberry.pl) and starting (sudo ./IOT-Raspberry.pl) it manually? Try to send a camera image and look at the output.
What's the output of:
raspistill -w 320 -h 240 -o test.jpg
does it creat a file named test.jpg?

----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.10.29 at 14:57:45 (UTC+1)
Name: Daryl Casteaux

Comment:
Script for the camera settings here:

=====================
 if($make_snapshot == 1 && $make_snapshot_old > 25){
   $make_snapshot = 0;
  # system("raspistill -w 320 -h 240 -o " . $snapshot_file);
  #When using an USB webcam, comment out the line above and uncoment the line below
   system("avconv -y -f video4linux2 -i /dev/video0 -frames 10 -s 320x240 %08d.jpg");system("cp 00000010.jpg " . $snapshot_file);
   if ( -e $snapshot_file ) {
     $upload_command = "snapshot";
     my $ua  = LWP::UserAgent->new();
     my $req = POST $url_next_command, Content_Type => 'form-data', Content => [submit => 1, TRANSFER_FILE => [ $snapshot_file ], passwd => $password, UPLOAD_COMMAND => $upload_command];
     my $response = $ua->request($req);


Me: When runnin the installation script, the question
"Press 'y' your camera is connected to the USB port: "
has to be answered with "N" if you want to use the Raspberry camera module.
You can also change the lines manually. As written in the comment line, change

  # system("raspistill -w 320 -h 240 -o " . $snapshot_file);
  #When using an USB webcam, comment out the line above and uncoment the line below
   system("avconv -y -f video4linux2 -i /dev/video0 -frames 10 -s 320x240 %08d.jpg");system("cp 00000010.jpg " . $snapshot_file);

to

   system("raspistill -w 320 -h 240 -o " . $snapshot_file);
  #When using an USB webcam, comment out the line above and uncoment the line below
  # system("avconv -y -f video4linux2 -i /dev/video0 -frames 10 -s 320x240 %08d.jpg");system("cp 00000010.jpg " . $snapshot_file);



----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.10.29 at 10:31:22 (UTC+1)
Name: Daryl Casteaux

Comment:
Hello and thanks. I ghet this output:

passwd=27-49-25-41-51-49-38-24-61-53-56-58-
Stopping GPIO-pwm
Restarting GPIO-pwm
Initializing peripherals
Script answer="_OK" at Thu Oct 29 09:27:07 2015
Script answer="_OK" at Thu Oct 29 09:27:17 2015
Script answer="_OK" at Thu Oct 29 09:27:29 2015
Script answer="_OK" at Thu Oct 29 09:27:39 2015

Me: So the Raspberry can connect to my server script.
In the browser mask: If you enter the CORRECT password as set during the installation procedure, the line with password / "Send PW" should disappear and in the line Status received, something like 0_0_0_0_512_512_0_0_0 should appear.
Does this happen?

----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.10.28 at 19:09:10 (UTC+1)
Name: Daryl Casteaux

Comment:
Hello..great site. Thanks very much. I cannot get my Raspberry Pi camera to work with the IoT LEDs. This camera is the version that plus directly to the Raspberry Pi motherboard via J3 camera connector and not the USB. Do you have any ideas how I can get that to work? Vielen Dank!

Me: Open a terminal window on the Raspberry (or connect through ssh) and start the IOT software manually:
cd /home/pi/InterntOfThings
sudo killall IOT-Raspberry.pl
sudo ./IOT-Raspberry.pl

What's the output of the program?

----------------------------------------------------

Seite: technics-computer-internet-of-things_ge.htm
Datum: 2015.08.06 um 00:31:44 (UTC+1)
Name: zeus

Kommentar:
Du bist der Hammer, mein Respekt. du bist mehr als meinen Professor. Danke

ich habe ein Frage. wie kann ich die Raspberry als Messgeräte nutzen(spannung und Strom von eine Battery)
Vel Danke

Me: Danke für die Komplimente.
Da der Raspberry leider keinen Analog-Eingang besitzt, ist Spannungsmessung so ohne weiteres nicht möglich. Irgendwann werde ich aber auch zu Sensoren (=Spannungsmessung) ein paar Kapitel schreiben - hab' Geduld.


----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.06.12 at 19:08:09 (UTC+1)
Name: Eric

Comment:
This is a nice site.

Thanks for all you work.

Me: You're welcome!

----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.03.23 at 15:48:52 (UTC+1)
Name: Pk. D

Comment:
can you tell me how to set up my own server and use it to do the work, because I plan to do a project in which I have to use the project 24 h a day 7 days a week, and I can't use your server for that(as you will pay the bill if I do that). I suppose all it would require me to buy is a website, but I am not sure.

Me: To set up an own IOT server in the way I did, you need a provider that offers some webspace and to run own perl scripts (ssh conncetions are helful but not essential). The short HowTo is at the end of the chapter about IOT. If you run into trouble, send me a mail.
For me there are no extra bills to pay if you run an IOT Raspberry through my server. The only thing is that I don't grant that my server is available all the time (something you can call for if you pay your own provider).



----------------------------------------------------

Page: technics-computer-internet-of-things_en.htm
Date: 2015.03.23 at 15:46:05 (UTC+1)
Name: Pk. D

Comment:
Thanks for your effort!
Best site I have found so far.

Me: You're welcome and: share my page with your friends.



----------------------------------------------------

Seite: technics-computer-internet-of-things_ge.htm
Datum: 2015.02.19 um 22:34:41 (UTC+1)
Name: Max

Kommentar:
Danke für die vielen Infos. Ich fand gerade das Video zur H Brücke interessant. Arduino Tutorials und Projekte könnt Ihr auch unter www.deskfactory.de finden.

Herzliche Grüße,

Max

Me: Bitte, gerne und eine gute Seite hast du da empfohlen.