Python: Windrichtung konvertieren von Grad nach Richtung / Convert direction from degrees to Text

29. Juni 2013 at 17:51

Mit folgender Funktion läßt sich ein Angabe in Grad in einen Text übersetzen.   Z.B. 10 Grad   -> N 130 Grad -> SO   [codesyntax […]

Wetter mit Open Weather Map API in Python

23. Juni 2013 at 09:57

http://openweathermap.org/ Ich habe die Aufgabe geteilt: Ein eigenständiges Modul liest die Daten von openweather und schriebt dies in eine JSON Datei. Der server liest diese […]

Windows 8 Benutzer für remote shutdown anlegen

8. Juni 2013 at 16:17

Zwi Schritte sind notwendig 1) lokales Benutzer-Konto anlegen in diessem Beispiel habe ich dem neuen Konto den Namen “shutdown” gegeben 2) Die notwendigen Rechte in […]

USB Logic Analyzer and decoder PLA8, example of setup logging SPI / TFT / LCD Display for CY7C68013A

8. Juni 2013 at 09:35

USB Logic Analyzer and decoder PLA8 Modul, 8-CH, 10 GS, CY7C68013A, USB 2.0   This module is called “PLA8 Modul” in the shop of pandatron: […]

1-Wire Sensor: Alarm sendet mail / email

7. Juni 2013 at 21:22

Anbei ein Python Programm, um einen 1-Wire Sensor zu lesen und bei Überschreitung der Alarmgrenzen eine Mail zu versenden. Das script kann man über cronjob […]

Python – mail / email senden

6. Juni 2013 at 21:45

Hauptprogramm [codesyntax lang=”python”] #!/usr/bin/python # -*- coding: utf-8 -*- # # send email via smtp # 2013-06-06 V0.1 by Thomas Hoeser # from avrio_mail import […]

net: command not found / Samba

3. Juni 2013 at 20:40

  [codesyntax lang=”php”] administrator@GRASHA:~$ net -bash: net: command not found [/codesyntax] In diesem Fall samba neu installieren: sudo apt-get remove samba-common sudo apt-get install samba-common

mySQL – Grant Access – Remote Rechner Zugriff auf Datenbank geben

5. Mai 2013 at 18:40

>mysql -uroot -p mysql > connect avrio; mysql > GRANT ALL ON avrio.* TO root@’192.168.178.62′; IDENTIFIED BY ‘PASSWORD’; mysql > FLUSH PRIVILEGES; > sudo nano […]

Projekt: 1.8 TFT Raspberry Pi Status Display

22. April 2013 at 10:50

Das zweite Projekt stellt eine einfache und billige Anzeige für den Raspberry zur Verfügung Dies soll dazu dienen, die Temperaturen der 1-Wire Sensoren, den Status […]

GPIO – Event / Using interrupt-driven GPIO in Raspian

6. April 2013 at 06:59

http://wiki.gumstix.org/index.php?title=GPIO_Event_Driver https://pypi.python.org/pypi/RPi.GPIO Below you will find a version of using interrupts with Quick2Wire library. You want to look at wiringPI, which is offering a method […]