FUKZ.DE

Manche Hähne glauben, dass die Sonne ihretwegen aufgeht. (Theodor Fontane)
  • Start
  • Fotos
    • Hunde im Schnee
    • Frankfurt 2013
    • Bergen (Norwegen)
    • Hanse Sail 2012
    • Nigardsbreen Gletscher
    • Österreich 2010
    • Schiffshebewerk Niederfinow
    • Bärenwald/Affenwald
    • 255 Jahre Krusemarkshagen
    • 255 Jahre Krusemarkshagen, Aufbau
    • Frühlingsfest am Törpiner See 2009
    • Usedom und Swinemünde
    • Hansesail 2008
    • Wetterbeobachtung
    • Sky Family Day 2008
    • Kirchen zwischen Altentreptow und Demmin
    • Historische Bilder von Törpin
    • Kreisstadt Demmin
    • Stadt Altentreptow
    • Eröffnung der Rügenbrücke
    • Haus Demmin
    • tierische Momente
    • Oktoberfest Neubrandenburg 2007
    • Im Zoo Ueckermünde
    • Störtebeker Festspiele
    • Motoradrundfahrt 2007
    • Agrarhoffest Lindenberg 2006
    • Pfingstfest in Neubrandenburg 2006
    • Frühlingsfest Törpin 2006
    • 250 Jahre Krusemarkshagen
  • Wetter
  • GPG
  • Tools
    • AFU Locatorermittlung
  • Panoramen
  • 360°
    • Reißeck, Österreich
    • Salzburger Dom – Krypta
    • Belvedere
    • Eierhof
  • Kopfbild
  • Kontakt/Impressum
    • Haftungsausschluss

TE923 (tool) v0.4

Sebastian | 8. März 2009 | 14:08

So, nach etwas längerem Einsatz haben sich nun doch ein paar kleine Kanten gezeigt, die es zu bereinigen gab. Wobei die Version 0.4 nicht wirklich als Weiterentwicklung angesehen werden kann. Es ist vielmehr ein Frühjahrsputz gewesen. Ich hab alle Teile der Kommunikation und der Datendecodierung in Headerdateien ausgelagert. Das Hauptprogramm ist vom te923tool zum te923con mutiert. Das Tool ist (vorerst) nicht mehr dabei.

Grund dafür ist, dass die Entwicklung in zwei Richtungen geht. Zum einen brauche ich ein Programm, dass nichts weiter macht als die Daten auszulesen und zur Weiterverarbeitung auszugeben (RRDtool). Das ist nun mit dem te923con realisiert. Allerdings geht das te923tool weiter und wird auch Funktionen unterstützen, wie angepasste Ausgabeformate, schreiben in die Station (Alarme) und aufbereitete Ausgabe auf der Konsole. Den ganzen Kram brauch ich aber nicht zur reinen Aufzeichnung. Da die Kommunikation und die Decodierung aber die gleiche ist, hab ich diesen Teil ausgelagert. Es wird also wieder ein te923tool geben, aber erst in der nächsten Version. Für den Einsatz mit RRD (oder wegschreiben in eine Datenbank) ist alles dabei, einige Funktionen sind aber wieder weg.

Intern werden die Daten jetzt in einer Struktur gespeichert, zusammen mit einer Variablen für den Zustand des Sensors. Somit ist erkennbar, ob die Werte stimmen oder der Sensor grad nicht erreichbar ist. Das hatte vorher zu Fehlwerten geführt. (Danke Ivo für den Hinweis).

Es gibt jetzt erweiterte Debugfunktionen. Mit dem Parameter -D kann Debug eingeschaltet werden. Bei Problemen könnt ihr mir diese Ausgabe zuschicken. Außerdem gibt es zukünftig Sprachunterstützung. Standard ist jetzt Englisch, bald gibt es aber Übersetzungen für Deutsch (ich arbeite dran) und Holländisch (noch mal danke Ivo).

te923-0.4.tgz

Kategorien
Downloads, Linux, Programmierung, Wetter
Tags
GPL, Open Source, TE923, TE923tool, Wetter
RSS Kommentare
RSS Kommentare
Trackback
Trackback

« Da ist Musik in der Waffel Einfach mal abhängen »

13 Responses to “TE923 (tool) v0.4”

  1. Eddie sagt:
    31. März 2009 um 02:31

    You rock! I’ve been looking for a way to read my TE923 under Linux, previously with no success. I had to make one change to your code to get it to work under Fedora 10 … in te932_handle() in te923_usb.h, I had to add the following lines before usb_set_configuration():

    usb_detach_kernel_driver_np(devh, 0);
    if ( ret != 0 ) {
    fprintf( stderr, gettext( “Error while detaching kernel driver (%d).\n” ), ret );
    return NULL;
    }

    This is because the HID driver claims the device and won’t let me access it (even as root) until I first detach the default kernel driver.

  2. Eddie sagt:
    31. März 2009 um 02:32

    By the way, I don’t read any German. Google and its translation service helped me read your web page.

  3. Peresphone sagt:
    27. Juni 2009 um 14:51

    Deutch & English (Via google translation)

    Hi

    Ich versuche, diese auf OSX, und unbuntu.

    Am unbuntu, mit Eddies mod es Fehler beim Versuch, um die Zuordnung der Kernel, ohne die mod, es
    Fehler, wenn er versucht, um die Konfiguration.

    Am kompilieren gibt es zwei Warnungen wieder vorbei, um Argumente usb_control_msg (ARG-6) und
    usb_interrupt_read (ARG-3), in Bezug auf Zeiger Argumente Parsen Argument der “Modul”
    unterscheiden sich in der beschriebenen.

    Dies gilt auch für OSX, mit dem GCC Compiler.

    Ich möchte es auf unbuntu, um das System, wie OSX, ist trickreich, HID-Manager-Greifer
    das Gerät.

    Ich bin mit einem IROX, die Anbieter und Produkt-ID sind die gleichen wie die te923, und die Software
    Release 3.0.2

    Jede Hilfe, um mir diese Lösung wären wir jedoch dankbar.

    Danke

    Hi

    I am trying to get this working on OSX, and on unbuntu.

    On unbuntu, with Eddies mod it errors while trying to detach the kernel, without the mod, it errors when it tries to set the configuration.

    On compile there are two warnings re passing arguments to usb_control_msg (arg 6) and usb_interrupt_read (arg 3), regarding pointer arguments in parsing argument of ‘module ‘ differ in signedness.

    This also is true on OSX, using gcc.

    I want to get it working on unbuntu to prove the system, as OSX is tricky, HID manager grabs the device.

    I am using an IROX, the vendor & product id’s are thedsame as the te923, and the software release is 3.0.2

    Any assistance to help me solve this would be appreciated.

    thanks

  4. persephone sagt:
    28. Juni 2009 um 07:28

    Hi Eddie

    strange on unbuntu 9.04, that addition causes an exception, and it still wont down load data from my irox ( which I believe is the same as the te923), which is using firmware 3.0.2.

    What revision is on your ws?

    thanks

    persephone

  5. Sebastian sagt:
    28. Juni 2009 um 15:54

    Hello Persephone,

    there are a known problem with the HID driver, who grabe the device and than the te923 tool cannot read from the devide. I use udev rules to unload the module (HID). But it is not the best way, I know. So I work on a kernelmodul for the device, hope to get time next weeks to finish the first version. It will solve a lot of problems. But maybe you can send me the compiler messages via email? Also try the -D command and send me the output, so I can debug the probmel maybe.

    The Irox and the Mebus TE923 (also Honeywell) are the same. Hideki is the real producer. But there ar some differents in the firmware. I have only support for version 3 (other can work, but may not). I run the tool in Gentoo and Ubuntu server.

  6. J.L. Blom sagt:
    13. Oktober 2009 um 11:38

    Sebastian,
    I have a Nexos weatherstation (=Irox, etc.) and have problems compiling te923-04.
    System: AMD_64 (Phenom II 4-core) with 4 Gb mem, running Ubuntu jaunty.
    When compiling I get a lot of errors and warnings. I think the mosy important one is it cannot find usb.h which is requested in the te923 usb.h module. I tried to put the usb.h module of my current linux kernel (2.6.28-15-generic) and the requested mod_devicetable,h in the correct directories (/usr/include and /usr/include/linux resp.) but I got tons of errors.
    I can of course sent you the list but maybe I overlook something which is very obvious for you.
    I run WeatherD in Linux (not perfect yet as it is written for 32-bit and I haven’t yet made a chroot environment) and in WIndows (in Virtualbox) and that works OK. I would like however to make my own graphical backend (which I did when I used the 2315 of LaCrosse but it’s not a good weatherstation) using open2300 from Kenneth Lavrsen who published the layout of the LaCrosse stations.

    Sorry for writing in English but although I can read and speak (not fluently) German, writing is too cumbersome. I hope it is not a problem.
    Thanks in advance.

  7. Sebastian sagt:
    13. Oktober 2009 um 13:12

    Hello,

    please visit http://te923.fukz.org for more informations. I put you comment to this page as a ticket. The side is the new project page for the te923 tool.

  8. Saulius sagt:
    21. Oktober 2011 um 11:37

    Thank you very much for job you have done. I modiffied your sources a bit and ported to embedded device. If you are interested, check it out here: http://www.8devices.com/wiki_carambola/doku.php/carambola_pachube_nexus

  9. Extend your personal weather station’s reporting capabilities - Hack a Day sagt:
    21. Oktober 2011 um 20:02

    [...] turns out that grabbing the data via Linux has been made quite easy thanks to a package called TE923 (translated). With the base unit connected via USB, the software will pull down a string of [...]

  10. Extend your personal weather station’s reporting capabilities | You've been blogged! sagt:
    21. Oktober 2011 um 20:23

    [...] turns out that grabbing the data via Linux has been made quite easy thanks to a package called TE923 (translated). With the base unit connected via USB, the software will pull down a string of [...]

  11. Extend your personal weather station’s reporting capabilities | ro-Stire sagt:
    21. Oktober 2011 um 20:43

    [...] turns out that grabbing the data via Linux has been made quite easy thanks to a package called TE923 (translated). With the base unit connected via USB, the software will pull down a string of [...]

  12. Extend your personal weather station’s reporting capabilities | The Depot of Talk sagt:
    22. Oktober 2011 um 04:01

    [...] turns out that grabbing the data via Linux has been made quite easy thanks to a package called TE923 (translated). With the base unit connected via USB, the software will pull down a string of [...]

  13. Extend your personal weather station’s reporting capabilities | CisforComputers sagt:
    23. Oktober 2011 um 05:02

    [...] turns out that grabbing the data via Linux has been made quite easy thanks to a package called TE923 (translated). With the base unit connected via USB, the software will pull down a string of [...]

Leave a Reply

Hier klicken, um die Antwort abzubrechen.

Kategorien

  • 360° (1)
  • Allgemein (17)
  • Astronomie (2)
  • Bild des Tages (4)
  • Datenschutz (10)
  • Downloads (5)
  • Elektronik (2)
  • Europa (2)
  • Feste (15)
  • Fotografie (35)
  • Fundstücke (15)
  • Hardware (6)
  • Internet (24)
  • Linux (11)
  • Lustiges (12)
  • Mail (8)
  • Medien (14)
  • Panorama (2)
  • Politik (6)
  • Programmierung (6)
  • Prüfungsausschuss (1)
  • Radio (8)
  • Regional (31)
  • Reisen (2)
  • Sagen (4)
  • Sicherheit (6)
  • Software (9)
  • Sprache (10)
  • Törpiner Forum (4)
  • Urlaub (3)
  • Wetter (14)
  • Wirtschaft (2)

Links

  • Blog von Christian Kohlhof
  • Eikes Homepage
  • Fefe
  • Felix Webseite
  • Fotopostonline
  • Hundefreunde Hobby Dogs e.V.
  • Klinikservice Neubrandenburg
  • Matthias
  • Stefans Seite
  • Veranstaltungsservice

Asterisk

Asterisk dCap certified

Schlagwörter

Antenne MV Betrug Bild des Tages Bundestrojaner C Datenschutz Demmin Deutsch Fernsehen Feste Feuer Fotografie Fotos fukz GPL Grammatik Internet Lindenberg Linux lustig Mail Netzwerk Neubrandenburg Objektiv Open Source Ostseewelle Panorama Privatsender Radio Schnee Schäuble Sicherheit Software Spam Sprache TE923 TE923tool Törpin Urlaub Volksverdummung Webseite Werbung Wetter Winter Wordpress

Archiv

  • März 2013
  • Februar 2013
  • Dezember 2012
  • November 2012
  • August 2012
  • Juli 2012
  • Juni 2012
  • April 2012
  • März 2012
  • Januar 2012
  • Dezember 2011
  • November 2011
  • Oktober 2011
  • April 2011
  • Dezember 2010
  • November 2010
  • August 2010
  • Mai 2010
  • April 2010
  • Februar 2010
  • Januar 2010
  • Dezember 2009
  • November 2009
  • Oktober 2009
  • September 2009
  • August 2009
  • Juli 2009
  • Juni 2009
  • März 2009
  • Februar 2009
  • Januar 2009
  • Dezember 2008
  • November 2008
  • August 2008
  • Juli 2008
  • Juni 2008
  • Mai 2008
  • April 2008
  • März 2008
  • Februar 2008
  • Januar 2008
  • Dezember 2007
  • November 2007
  • Oktober 2007
  • September 2007
  • August 2007
  • Juli 2007
  • Juni 2007
  • Februar 2007
  • Januar 2007
  • Dezember 2006
  • November 2006
  • Oktober 2006
  • August 2006
  • Juli 2006
  • Juni 2006
  • Mai 2006
  • Februar 2006
  • Dezember 2005
  • Oktober 2005
  • Juli 2004
  • Juni 2004
rss RSS Kommentare valid xhtml 1.1 design by jide powered by Wordpress get firefox