Jump to content

kwally

Members
  • Gesamte Inhalte

    64
  • Benutzer seit

  • Letzter Besuch

Posts erstellt von kwally

  1. Ich wered ein besseres photo anschliessen. Ich muss es ja nochmals auseinander nehmen weil ich einen cooling-fan rangeben muss. Bei dieser gelegenheit ein paar close-ups nehmen. Die temperatur ist um zwei ein halb drei grad waermer wie die freie luft wegen Raspberries hitze. Ich werde mich erkundigen ob es ein bricklet fuer einen kleinen coolong-fan gibt. Sonst muss der Raspberry raus. Wuerde mir ja leid tun.Weil im moment das gehaeuse Insekten proof ist.

    Waetherstation3.thumb.JPG.f0e3dd25d6edbfcf20a379409f16b406.JPG

    Weatherstation1.thumb.JPG.897aaa4ff99956aa63efbb7d836a8343.JPG

    Waetherstation3.thumb.JPG.4a29bcb21169f5fc31f8afd8e613c203.JPG

  2. Ja vielen dank. Es hat sofort functioniert. Ich war nicht ganz zufrieden das die Temperature von den Humidity bricklet angezeigt wurde, schon ein bischen kuehler. Ich habe das script ein bischen umgeaendert soda ich jetzt die temperature vom richtigen bricklet sehe. Wenn irgend einer interesse daran hat, werde ich die py file hiermit anschliesen. Nochmals vielen dank fuer deine hilfe.

     

    Karl

    Weatherstation_mark3.py

  3. Weiss jemand wie man das LCD dazu bringt das es die werte der wetter bricklets i.e. Temperature Humidity. Licht und Barometer anzeigt? Ich druecke auf den tasten und nichts passiert? Wieso weis es nichts von den anderen bicklets? Es werde ja schoen wenn mann das LCD bricklet auf jede 5 minuten erfrischen kann? und das am display anzeigen, OHNE tasten zu druecken ist das moeglich?

     

    Danke

    Karl

  4. Das problem ist das kein eintritt fuer Humidity gemacht wirt in der SUMMARY. Auch wenn ich die zeilen umtausche machts ja nichts. Das resultat ist beschrengt auf "temp"Illuminance" Pressure" min und max und avrg, kein zeichen von humidity. Aber humidity zeigt schon auf in der climate data.csv, aber nicht in der "climate summary" ja wie gibts denn sowas?

     

    Danke fuer den tip das resultat beschleunigen.

     

    Karl

  5. Macht die Wifi extention das selbe wie die RPi ethernet connection? Ich habe mir forgestellt das man kein kebel mehr braucht zum WLAN? Ich hoffe ja, da ich mir so eine bestellt habe. In anderen worten ich moechte nicht ein USB dongle! Es sieht aus das niemand Debian drivers offeriert?fuer diese i.e. TL-WN723N et cetera.Von DLink

    Karl

  6. Ja alle Bricklets sehe ich im Brickview. Die bricklet addressen habe ich natuerlich umgeandert.Master ist 6xftxf,licht ist mbr,Temp ist dY7 Baro ist k4s and Humidity ist keV. Aber das script hat ja die Humidity nicht drinnen. Ich habe gedacht bestens warten bis ich es erstmal functioniert, before ich probiere die Humidity reingeben. Ich weiss ja nicht was der richtige Syntax ist.

     

    Danke fuer die antwort.

  7. Ja meine lieben.

    Ich habe for kurzter zeit eine illusion gehapt das ich ENDLICH das raetsel geloest habe. Das ist, die wetter stations functioniert; Drop Box Connection hat endlich geklappt; aber leider das Python script kann nicht die connection mit tinkerforge_ip connection fertig bringen.

     

    Es waerde sehr schoen wenn jemand von den Tinkerforge Kunden wissen was falsch ist. Das script habe ich nicht selber geschrieben, Gott sei dank, aber habe vom Internet abgeladen. http://tinyurl.com/mxw8omx heisst Main.py und upload.py

     

    Es schtolpert immer bei dem "tinkerforge.ip_connection.

     

    Hiermit die "Error message"

     

    live and kicking'

    Traceback (most recent call last):

      File "main.py", line 111, in <module>

        main()

      File "main.py", line 91, in main

        light_level=light_sensor.get_illuminance()/10.0

      File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/bricklet_ambient_light.py", line 103, in get_illuminance

      File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/ip_connection.py", line 878, in send_request

    tinkerforge.ip_connection.Error: -1: Did not receive response for function 1 in time

    Exception in thread Disconnect-Prober (most likely raised during interpreter shutdown):Exception in thread Brickd-Receiver (most likely raised during interpreter shutdown):

    Traceback (most recent call last):

      File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

     

      File "/usr/lib/python2.7/threading.py", line 505, in runTraceback (most recent call last):

     

      File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/ip_connection.py", line 617, in receive_loop  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

    <type 'exceptions.TypeError'>: 'NoneType' object is not callable

      File "/usr/lib/python2.7/threading.py", line 505, in run

     

      File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/ip_connection.py", line 752, in disconnect_probe_loop

      File "/usr/lib/python2.7/Queue.py", line 174, in get

    <type 'exceptions.TypeError'>: 'NoneType' object is not callable

     

    Hoffentlich gibts jemand der weiss was da los ist?

     

    Vieln Dank

    Karl

  8. Recently published instructions in a PC mag. pointed to http://tinyurl.com/mxw8omx. This download was to employ a completed script, to run the TF weatherstation i.e download and dump data to Drop Box. Sounded very useful indeed. Problem is the script will not run successfully in Gene the recommended compiler for this exercise.

    Situation is: RPi "B" Raspibien, Gene running, file (downloaded unzipped as described above) First few lines of script read:

     

    #!/usr/bin/env python

     

    import pygame, csv,os

    from pygame.locals import *

    from datetime import datetime

    import pytz

    import upload

    from Today import *

     

    Result: Traceback (blah blah blah) Import error: No module named pytz.

    program exited blah blah.

     

    As one would have reasonable confidence that this script was tested before publication, one is somewhat startled by this result???

     

    Any ideas?

     

     

  9. Wetter Station klappt, LCD nicht installiert aber RPI statt dem befestigt.

    Es werde ja schoen wann man die dated in ein spreadsheet geben kann und dann auf die Dropbox aufzuladen. Da kann man sein eigenes scrpit schreiben, oder ein vertiges vom Internet bekommen. Da ich nicht sehr gut bin mit der taste habe ich mich natuerlich an die folgende seite gewended. http://tinyurl.com mxw8omx da kommt eine file "climate.zip" richtig installiert mit Gene aufgemacht und "run geweahlt; leider geht es nicht. Es bleibt stecken:

     

    das script sagt:

     

    #!/usr/bin/env python

     

    import pygame, csv,os

    from pygame.locals import *

    from datetime import datetime

    import pytz

    import upload

    from Today import *

     

    ja das ist ja schon laenger, den rest habe ich hier nicht angegeben.

     

    Das resultat ist:

    Traceback (et cetera)

    File "main.py" line 6 in module pytz. Import error: NO module named pytz.

     

    Unwarscheinlich.

    Diese script ist das offizielle fuer die Tinkerforge wetter-station. Ist das ein script faehler. Oder stimmt was nicht mit Python??

  10. The following proved to resolve this issue:

     

    Run this first:

    sudo apt-get install libusb-1.0-0 libudev0 pm-utils

     

    Wait till this process finishes !! then run:

    wget

    http://download.tinkerforge.com/tools/brickd/linux/brickd_linux_latest_armhf.deb

    sudo dpkg -i brickd_linux_latest_armhf.deb

     

    Again, wait till this is done, then run:

    sudo apt-get -f install python python-qt4 python-qt4-gl python-qwt5-qt4 python-opengl python-serial

     

    Wait till done, then run:

    wget http://download.tinkerforge.com/tools/brickv/linux/brickv_linux_latest.deb

    sudo dpkg -i brickv_linux_latest.deb

     

    Cheers

     

     

  11. sudo apt-get -f install

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Correcting dependencies... Done

    The following extra packages will be installed:

      freeglut3 libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libmysqlclient18

      libpthread-stubs0 libpthread-stubs0-dev libqt4-declarative libqt4-designer

      libqt4-dev libqt4-dev-bin libqt4-help libqt4-opengl libqt4-opengl-dev

      libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql

      libqt4-sql-mysql libqt4-test libqt4-xmlpatterns libqtassistantclient4

      libqtwebkit-dev libqwt-dev libqwt5-qt4 libqwt6 libx11-dev libx11-doc

      libxau-dev libxcb1-dev libxdmcp-dev libxext-dev mesa-common-dev mysql-common

      python-opengl python-qt4 python-qt4-gl python-qwt5-qt4 python-serial

      python-sip qt4-linguist-tools qt4-qmake x11proto-core-dev x11proto-input-dev

      x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev

    Suggested packages:

      libqt4-declarative-folderlistmodel libqt4-declarative-gestures

      libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer

      firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev libsqlite3-dev

      qt4-dev-tools qt4-doc unixodbc-dev libxcb-doc libxext-doc libgle3

      python-qt4-dbg python-wxgtk2.8 python-wxgtk2.6 python-wxgtk

    The following NEW packages will be installed:

      freeglut3 libgl1-mesa-dev libglu1-mesa libglu1-mesa-dev libmysqlclient18

      libpthread-stubs0 libpthread-stubs0-dev libqt4-declarative libqt4-designer

      libqt4-dev libqt4-dev-bin libqt4-help libqt4-opengl libqt4-opengl-dev

      libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql

      libqt4-sql-mysql libqt4-test libqt4-xmlpatterns libqtassistantclient4

      libqtwebkit-dev libqwt-dev libqwt5-qt4 libqwt6 libx11-dev libx11-doc

      libxau-dev libxcb1-dev libxdmcp-dev libxext-dev mesa-common-dev mysql-common

      python-opengl python-qt4 python-qt4-gl python-qwt5-qt4 python-serial

      python-sip qt4-linguist-tools qt4-qmake x11proto-core-dev x11proto-input-dev

      x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev

    0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.

    1 not fully installed or removed.

    Need to get 703 kB/26.8 MB of archives.

    After this operation, 106 MB of additional disk space will be used.

    Do you want to continue [Y/n]? y

    Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main mysql-common all 5.5.33+dfsg-0+wheezy1

      404  Not Found

    Err http://mirrordirector.raspbian.org/raspbian/ wheezy/main libmysqlclient18 armhf 5.5.33+dfsg-0+wheezy1

      404  Not Found

    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/m/mysql-5.5/mysql-common_5.5.33+dfsg-0+wheezy1_all.deb  404  Not Found

    Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/m/mysql-5.5/libmysqlclient18_5.5.33+dfsg-0+wheezy1_armhf.deb  404  Not Found

    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    pi@raspberrypi ~ $

     

×
×
  • Neu erstellen...