LoxBerry: Wunderground Plugin verfügbar

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • Prof.Mobilux
    kommentierte 's Antwort
    Ok, schaue ich mir an. Da ist irgendwo noch ein Bug.

  • Oli
    kommentierte 's Antwort
    Hi, 4.0 BETA

  • Tommes78
    antwortet
    Irgendetwas scheint da noch nicht zu stimmen, hatte heute auch plötzlich keine Daten mehr. Nachdem ich im Loxberry einmal Daten senden aus und an gemacht habe funktioniert es erstmal wieder.

    Einen Kommentar schreiben:


  • Prof.Mobilux
    kommentierte 's Antwort
    Welche Version des Plugin verwendest du?

  • Oli
    antwortet
    Hallo,
    mein Loxberry sendet auch keine neue Daten mehr an den MS. Auf dem Webinterface sind die Daten aktuell.
    loxberry@loxberry:~ $ /opt/loxberry/webfrontend/cgi/plugins/wu4lox/bin/fetch.pl -v
    <INFO> Starting /opt/loxberry/webfrontend/cgi/plugins/wu4lox/bin/fetch.pl Version 3.0.4
    <INFO> Fetching Data for pws:IWETTRIN12
    <INFO> URL: http://api.wunderground.com/api/8fb2...WETTRIN12.json
    <INFO> Saving new Data for Timestamp Fri, 05 May 2017 21:33:41 +0200 to database.
    <OK> Current Data and Forecasts saved successfully.
    syntax error at /opt/loxberry/webfrontend/cgi/plugins/wu4lox/bin/datatoloxone.pl line 1117, near "else"
    Missing right curly or square bracket at /opt/loxberry/webfrontend/cgi/plugins/wu4lox/bin/datatoloxone.pl line 1191, at end of line
    Execution of /opt/loxberry/webfrontend/cgi/plugins/wu4lox/bin/datatoloxone.pl aborted due to compilation errors.
    Habe eigentlich nichts geändert.
    Zuletzt geändert von Prof.Mobilux; 07.05.2017, 04:33. Grund: API Key unkenntlich gemacht

    Einen Kommentar schreiben:


  • Gast
    Ein Gast kommentierte 's Antwort.
    Hallo Mobilux,

    eine weitere Frage zur Anpassung...
    Kann man die Hintergrundfarbe der Buttons oben (Aktuell / 4 Tage / usw.) auch ändern???

    Gruß FLorian

  • svethi
    kommentierte 's Antwort
    Hihi, jetzt weiß ich auch wieso das bei mir drin steht :-)

  • Prof.Mobilux
    kommentierte 's Antwort
    http://www.loxwiki.eu:80/x/wYCO siehe Abschnitt 7.2

  • svethi
    kommentierte 's Antwort
    Nun, ich habe auch ein bestehendes System (Whizzy) zum Loxberry "upgegradet" und bei mir sind die Einträge alle da. Stellt sich die Frage was da bei Dir noch so nicht in Ordnung ist. Du kannst ja bei jedem Plugin wieder über merkwürdige Fehler stoßen. Du solltest den Loxberry nochmal aufsetzen. Oder Du musst das dann immer alles per Hand selber anpassen. Bei solchen Fehlern wird Dir aber auch keiner helfen können, da es nie auf anderen Systemen nachstellbar sein wird.

  • Icy
    antwortet
    Naja, ich habe es auf ein bestehendes raspbian jessie installiert. Aber eigentlich nach Anleitung von der Webseite.


    Gesendet von iPhone mit Tapatalk

    Einen Kommentar schreiben:


  • Prof.Mobilux
    kommentierte 's Antwort
    Das ist im LoxBerry Image schon fix und fertig. Oder hast Du den LoxBerry irgendwie anders installiert?!?

  • Icy
    antwortet
    Hmm... das fehlt bei mir komplett.
    Hast du ev eine Ahnung welches Script das anlegen sollte? Vielleicht hab ich bei der Installation etwas übersehen


    Gesendet von iPhone mit Tapatalk

    Einen Kommentar schreiben:


  • Prof.Mobilux
    antwortet
    Es wird die System-Crontab unter 7etc/crontab verwendet:

    Code:
    # /etc/crontab: system-wide crontab
    # Unlike any other crontab you don't have to run the `crontab'
    # command to install the new version when you edit this file
    # and files in /etc/cron.d. These files also have username fields,
    # that none of the other crontabs do.
    
    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/loxberry/sbin:/opt/loxberry/bin
    
    # m h dom mon dow user  command
    17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
    25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
    47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
    52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
    #
    # Loxberry
    #
    # m h dom mon dow user  command
    *    *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.01min > /dev/null 2>&1
    */3  *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.03min > /dev/null 2>&1
    */5  *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.05min > /dev/null 2>&1
    */10 *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.10min > /dev/null 2>&1
    */15 *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.15min > /dev/null 2>&1
    */30 *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.30min > /dev/null 2>&1
    13   *  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.hourly > /dev/null 2>&1
    23   4  * * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.daily > /dev/null 2>&1
    33   4  * * 1   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.weekly > /dev/null 2>&1
    43   4  1 * *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.monthly > /dev/null 2>&1
    53   4  1 1 *   loxberry        cd / && run-parts /opt/loxberry/system/cron/cron.yearly > /dev/null 2>&1

    Einen Kommentar schreiben:


  • Icy
    antwortet
    Könnte mir mal jemand einen Auszug von der crontab des users loxberry online stellen?


    Gesendet von iPhone mit Tapatalk

    Einen Kommentar schreiben:


  • Icy
    antwortet
    Zitat von Prof.Mobilux

    Dann deaktiviere mal "Wetterdaten abrufen" (auf AUS stellen), dann speichern. Dann nochmal aktivieren (auf AN stellen) und nochmal speichern. Dann müsste ein Cronjob angelegt werden. Kannst Du selbst herausfinden: Wenn Du alle 3 Minuten abruftst muss in folgendem Verzeichnis eine Datei (symbolishcer Link) "wu4lox" exisiteren, der auf das fetch-Skript zeigt:

    Code:
    ls -l /opt/loxberry/system/cron/cron.03min/
    Wenn die Datei existiert müssten auch Wetterdaten abgerufen werden. Zum Testen einfach diesen Link auch mal per User "loxberry" aufrufen.
    Das ist wirklich interessant. Link ist da, abfragen tut er aber nichts. wenn ich in die crontab vom user loxberry schaue, steht aber auch nichts davon drinnen.

    loxberry@raspberrypi:/home/pi$ crontab -l
    # Edit this file to introduce tasks to be run by cron.
    #
    # Each task to run has to be defined through a single line
    # indicating with different fields when the task will be run
    # and what command to run for the task
    #
    # To define the time you can provide concrete values for
    # minute (m), hour (h), day of month (dom), month (mon),
    # and day of week (dow) or use '*' in these fields (for 'any').#
    # Notice that tasks will be started based on the cron's system
    # daemon's notion of time and timezones.
    #
    # Output of the crontab jobs (including errors) is sent through
    # email to the user the crontab file belongs to (unless redirected).
    #
    # For example, you can run a backup of all your user accounts
    # at 5 a.m every week with:
    # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
    #
    # For more information see the manual pages of crontab(5) and cron(8)
    #
    # m h dom mon dow command

    hast du noch eine Idee?

    LG
    Icy

    Einen Kommentar schreiben:

Lädt...