7 Tage Pollenflugvorhersage - 60_allergy.pm (Support)

Begonnen von Markus M., 15 Mai 2015, 15:00:31

Vorheriges Thema - Nächstes Thema

rudolfkoenig

@Markus: Achtung, musste die Doku aendern, sonst war die komplette deutsche Version der Commandref unlesbar. Bitte vor dem Einchecken die Doku mit dem Browser pruefen (siehe contrib/commandref_join.pl)

Sunny

Moin accessburn,

Zitat von: accessburn am 03 Februar 2016, 18:10:32
Hier mein Wunschzettel :-D

Ich bin alles andere als ein Profi, aber ich wüschte mir deutsche Tagesbezeichnungen
Bei einem kann ich Dir helfen, setze das "attr <device>
Zitat von: Sunny am 03 Februar 2016, 16:30:44
weekdaysFormat Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,Freitag,Samstag
"
und schon haste die Wochentage in de.

Viele Grüße
Sunny
FHEM 6.0 (RPi's 1b-4,CeleronM,Odroid C1+)
1-Wire (DS18B20,DS2406) |miniCUL|miniCUL868WLAN|HM|IT(-1500,LR-3500) |FB6591,FB7490,FB7580|DECT200|Powerline546E|520E|openwrt
Anfänger: Linux,FHEM+Perl

Aeroschmelz

#92
Hallo,

das Modul zeigt seit Neuestem im Status ERROR:

Internals:
   DEF        XXXXX
   NAME       Pollenflug
   NR         199
   STATE      error
   TYPE       allergy
   UPDATED    2016-02-14 02:23:19


Könnt ihr das bestätigen? Gibt es einen Grund dafür?

Ich verwendete als stateFormat Attribut fc1_maximum

Markus M.

Hier ist alles in Ordnung.
Bitte verbose auf 5, Stacktrace an, Fehler posten.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

FHEM-User22

Hallo,

bei mir sagt fhem nach:

define Pollenflug allergy 12345

Cannot load module allergy

Ich habe heute geupdatet, das Modul 60_allergy.pm ist im Fhem-Ordner und auch die Rechte stimmen.

Wo kann ich noch suchen?

Dankeschön.
FHEM auf Raspberry Pi und Proxmox und... und.... und....

Markus M.

Was sagt denn das Log mit aktiviertem Stacktrace?
Hast du alle benötigten Perl Module installiert?
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

FHEM-User22

Zitat von: Markus M. am 22 Februar 2016, 13:52:43
Was sagt denn das Log mit aktiviertem Stacktrace?
Hast du alle benötigten Perl Module installiert?

das Log sagt:
2016.02.22 14:03:49 1: reload: Error:Modul 60_allergy deactivated:
Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at ./FHEM/60_allergy.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/60_allergy.pm line 26.

2016.02.22 14:03:49 0: Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . ./FHEM) at ./FHEM/60_allergy.pm line 26.
BEGIN failed--compilation aborted at ./FHEM/60_allergy.pm line 26.


und zu Pearl:

XML::Simple habe ich mit:

perl -MCPAN -e shell
install XML::Simple

installiert.

ist noch was zu installieren? Oder ist es schief gegangen?


FHEM auf Raspberry Pi und Proxmox und... und.... und....

Markus M.

Sagt er dir doch, XML::Simple ist nicht da. Die Installation hat also nicht geklappt. (sudo?!)
Versuch es am besten mit apt-get, falls du Ubuntu etc. verwendest.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

FHEM-User22

#98
gibts dazu eine Anleitung irgendwo?

ich habe das eingegeben:

perl -MCPAN -e shell
install XML::Simple


So:
apt-get install libxml-simple-perl

damit läd er das Modul. Und alles andere funzt auch.

Hervorragende Arbeit! Dankeschön an alle Entwickler!

Dankeschön für die schnelle Hilfe hier.

FHEM auf Raspberry Pi und Proxmox und... und.... und....

originalhardy

Zitat von: accessburn am 03 Februar 2016, 18:10:32
Hier mein Wunschzettel :-D

Ich bin alles andere als ein Profi, aber ich wüschte mir deutsche Tagesbezeichnungen und jemand der mir erklärt wie man das in ftui einbaut :-)
Erstmal ein ganz herzliches Danke an Markus für das geniale Modul. Kann ich prima brauchen, damit meine Tochter immer rechtzeitig gewarnt ist.

Also ich habe das mal so in ftui eingebaut:
<div class="doublebox-h">
        <div class="top-space inline">
        <div data-type="symbol" data-device="Pollen" data-get="fc1_Erle"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["-","low","moderate","extreme"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Erle</div>
        </div>
        <div class="top-space inline">
        <div data-type="symbol" data-device="Pollen" data-get="fc1_Hasel"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["-","low","moderate","extreme"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Hasel</div>
        </div>
        </div>

Damit passen immer zwei Werte nebeneinander und werden je nach "Gefahrenlage" entsprechend eingefärbt.

Gruß
Hardy

FHEM-User22

#100
Hallo,
ich nochmal....
Ich habe nun auf der 2. Maschine installiert. Alles gleich, neueste Updates aber nur auf dem Raspi (Wheezy) geht es:
Internals:
   CFGFN
   DEF        04668
   NAME       Pollenflug
   NR         788
   STATE      white
   TYPE       allergy
   UPDATED    2016-02-22 18:19:34
   Helper:
     Dblog:
       City:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Boehlen
       Fc1_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Mon
       Fc1_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      white
       Fc2_erle:
         Mydblog:
           TIME       1456161574.57943
           VALUE      orange
       Fc2_hasel:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc2_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Tue
       Fc2_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      orange
       Fc3_erle:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc3_hasel:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc3_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Wed
       Fc3_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc4_erle:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc4_hasel:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc4_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Thu
       Fc4_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc5_erle:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc5_hasel:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc5_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Fri
       Fc5_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc6_erle:
         Mydblog:
           TIME       1456161574.57943
           VALUE      red
       Fc6_hasel:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc6_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Sat
       Fc6_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      red
       Fc7_erle:
         Mydblog:
           TIME       1456161574.57943
           VALUE      red
       Fc7_hasel:
         Mydblog:
           TIME       1456161574.57943
           VALUE      yellow
       Fc7_day_of_week:
         Mydblog:
           TIME       1456161574.57943
           VALUE      Sun
       Fc7_maximum:
         Mydblog:
           TIME       1456161574.57943
           VALUE      red
   Readings:
     2016-02-22 18:19:33   city            Boehlen
     2016-02-22 18:19:33   fc1_day_of_week Mon
     2016-02-22 18:19:33   fc1_maximum     white
     2016-02-22 18:19:33   fc2_Erle        orange
     2016-02-22 18:19:33   fc2_Hasel       yellow
     2016-02-22 18:19:33   fc2_day_of_week Tue
     2016-02-22 18:19:33   fc2_maximum     orange
     2016-02-22 18:19:33   fc3_Erle        yellow
     2016-02-22 18:19:33   fc3_Hasel       yellow
     2016-02-22 18:19:33   fc3_day_of_week Wed
     2016-02-22 18:19:33   fc3_maximum     yellow
     2016-02-22 18:19:33   fc4_Erle        yellow
     2016-02-22 18:19:33   fc4_Hasel       yellow
     2016-02-22 18:19:33   fc4_day_of_week Thu
     2016-02-22 18:19:33   fc4_maximum     yellow
     2016-02-22 18:19:33   fc5_Erle        yellow
     2016-02-22 18:19:33   fc5_Hasel       yellow
     2016-02-22 18:19:33   fc5_day_of_week Fri
     2016-02-22 18:19:33   fc5_maximum     yellow
     2016-02-22 18:19:33   fc6_Erle        red
     2016-02-22 18:19:33   fc6_Hasel       yellow
     2016-02-22 18:19:33   fc6_day_of_week Sat
     2016-02-22 18:19:33   fc6_maximum     red
     2016-02-22 18:19:33   fc7_Erle        red
     2016-02-22 18:19:33   fc7_Hasel       yellow
     2016-02-22 18:19:33   fc7_day_of_week Sun
     2016-02-22 18:19:33   fc7_maximum     red
   Helper:
     INTERVAL   10800
     ZIPCODE    04668
Attributes:
   levelsFormat white,yellow,orange,red
   room       Unsorted
   stateFormat fc1_maximum


auf den Cubitruck (Igors Image):
Internals:
   CFGFN
   DEF        04668
   NAME       Pollenflug
   NR         251
   STATE      white
   TYPE       allergy
   UPDATED    2016-02-22 20:18:03
   Helper:
     Dblog:
       City:
         Logdb:
           TIME       1456168682.39574
           VALUE      Boehlen
       Fc1_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc1_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Mon
       Fc1_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      orange
       Fc2_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc2_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc2_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Tue
       Fc2_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      orange
       Fc3_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc3_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc3_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc3_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Wed
       Fc3_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc4_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc4_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc4_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc4_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Thu
       Fc4_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc5_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc5_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc5_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc5_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Fri
       Fc5_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc6_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      red
       Fc6_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc6_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc6_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Sat
       Fc6_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      red
       Fc7_ambrosia:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_ampfer:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_beifuss:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_birke:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_buche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_eiche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_erle:
         Logdb:
           TIME       1456168682.39574
           VALUE      red
       Fc7_esche:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_graeser:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_hasel:
         Logdb:
           TIME       1456168682.39574
           VALUE      yellow
       Fc7_pappel:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_roggen:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_ulme:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_wegerich:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_weide:
         Logdb:
           TIME       1456168682.39574
           VALUE      white
       Fc7_day_of_week:
         Logdb:
           TIME       1456168682.39574
           VALUE      Sun
       Fc7_maximum:
         Logdb:
           TIME       1456168682.39574
           VALUE      red
       State:
         Logdb:
           TIME       1456164468.8922
           VALUE      city:
   Readings:
     2016-02-22 20:18:02   city            Boehlen
     2016-02-22 20:18:02   fc1_Ambrosia    white
     2016-02-22 20:18:02   fc1_Ampfer      white
     2016-02-22 20:18:02   fc1_Beifuss     white
     2016-02-22 20:18:02   fc1_Birke       white
     2016-02-22 20:18:02   fc1_Buche       white
     2016-02-22 20:18:02   fc1_Eiche       white
     2016-02-22 20:18:02   fc1_Erle        white
     2016-02-22 20:18:02   fc1_Esche       white
     2016-02-22 20:18:02   fc1_Graeser     white
     2016-02-22 20:18:02   fc1_Hasel       white
     2016-02-22 20:18:02   fc1_Pappel      white
     2016-02-22 20:18:02   fc1_Roggen      white
     2016-02-22 20:18:02   fc1_Ulme        white
     2016-02-22 20:18:02   fc1_Wegerich    white
     2016-02-22 20:18:02   fc1_Weide       white
     2016-02-22 20:18:02   fc1_day_of_week Mon
     2016-02-22 20:18:02   fc1_maximum     white
     2016-02-22 20:18:02   fc2_Ambrosia    white
     2016-02-22 20:18:02   fc2_Ampfer      white
     2016-02-22 20:18:02   fc2_Beifuss     white
     2016-02-22 20:18:02   fc2_Birke       white
     2016-02-22 20:18:02   fc2_Buche       white
     2016-02-22 20:18:02   fc2_Eiche       white
     2016-02-22 20:18:02   fc2_Erle        orange
     2016-02-22 20:18:02   fc2_Esche       white
     2016-02-22 20:18:02   fc2_Graeser     white
     2016-02-22 20:18:02   fc2_Hasel       yellow
     2016-02-22 20:18:02   fc2_Pappel      white
     2016-02-22 20:18:02   fc2_Roggen      white
     2016-02-22 20:18:02   fc2_Ulme        white
     2016-02-22 20:18:02   fc2_Wegerich    white
     2016-02-22 20:18:02   fc2_Weide       white
     2016-02-22 20:18:02   fc2_day_of_week Tue
     2016-02-22 20:18:02   fc2_maximum     orange
     2016-02-22 20:18:02   fc3_Ambrosia    white
     2016-02-22 20:18:02   fc3_Ampfer      white
     2016-02-22 20:18:02   fc3_Beifuss     white
     2016-02-22 20:18:02   fc3_Birke       white
     2016-02-22 20:18:02   fc3_Buche       white
     2016-02-22 20:18:02   fc3_Eiche       white
     2016-02-22 20:18:02   fc3_Erle        yellow
     2016-02-22 20:18:02   fc3_Esche       white
     2016-02-22 20:18:02   fc3_Graeser     white
     2016-02-22 20:18:02   fc3_Hasel       yellow
     2016-02-22 20:18:02   fc3_Pappel      white
     2016-02-22 20:18:02   fc3_Roggen      white
     2016-02-22 20:18:02   fc3_Ulme        white
     2016-02-22 20:18:02   fc3_Wegerich    white
     2016-02-22 20:18:02   fc3_Weide       white
     2016-02-22 20:18:02   fc3_day_of_week Wed
     2016-02-22 20:18:02   fc3_maximum     yellow
     2016-02-22 20:18:02   fc4_Ambrosia    white
     2016-02-22 20:18:02   fc4_Ampfer      white
     2016-02-22 20:18:02   fc4_Beifuss     white
     2016-02-22 20:18:02   fc4_Birke       white
     2016-02-22 20:18:02   fc4_Buche       white
     2016-02-22 20:18:02   fc4_Eiche       white
     2016-02-22 20:18:02   fc4_Erle        yellow
     2016-02-22 20:18:02   fc4_Esche       white
     2016-02-22 20:18:02   fc4_Graeser     white
     2016-02-22 20:18:02   fc4_Hasel       yellow
     2016-02-22 20:18:02   fc4_Pappel      white
     2016-02-22 20:18:02   fc4_Roggen      white
     2016-02-22 20:18:02   fc4_Ulme        white
     2016-02-22 20:18:02   fc4_Wegerich    white
     2016-02-22 20:18:02   fc4_Weide       white
     2016-02-22 20:18:02   fc4_day_of_week Thu
     2016-02-22 20:18:02   fc4_maximum     yellow
     2016-02-22 20:18:02   fc5_Ambrosia    white
     2016-02-22 20:18:02   fc5_Ampfer      white
     2016-02-22 20:18:02   fc5_Beifuss     white
     2016-02-22 20:18:02   fc5_Birke       white
     2016-02-22 20:18:02   fc5_Buche       white
     2016-02-22 20:18:02   fc5_Eiche       white
     2016-02-22 20:18:02   fc5_Erle        yellow
     2016-02-22 20:18:02   fc5_Esche       white
     2016-02-22 20:18:02   fc5_Graeser     white
     2016-02-22 20:18:02   fc5_Hasel       yellow
     2016-02-22 20:18:02   fc5_Pappel      white
     2016-02-22 20:18:02   fc5_Roggen      white
     2016-02-22 20:18:02   fc5_Ulme        white
     2016-02-22 20:18:02   fc5_Wegerich    white
     2016-02-22 20:18:02   fc5_Weide       white
     2016-02-22 20:18:02   fc5_day_of_week Fri
     2016-02-22 20:18:02   fc5_maximum     yellow
     2016-02-22 20:18:02   fc6_Ambrosia    white
     2016-02-22 20:18:02   fc6_Ampfer      white
     2016-02-22 20:18:02   fc6_Beifuss     white
     2016-02-22 20:18:02   fc6_Birke       white
     2016-02-22 20:18:02   fc6_Buche       white
     2016-02-22 20:18:02   fc6_Eiche       white
     2016-02-22 20:18:02   fc6_Erle        red
     2016-02-22 20:18:02   fc6_Esche       white
     2016-02-22 20:18:02   fc6_Graeser     white
     2016-02-22 20:18:02   fc6_Hasel       yellow
     2016-02-22 20:18:02   fc6_Pappel      white
     2016-02-22 20:18:02   fc6_Roggen      white
     2016-02-22 20:18:02   fc6_Ulme        white
     2016-02-22 20:18:02   fc6_Wegerich    white
     2016-02-22 20:18:02   fc6_Weide       white
     2016-02-22 20:18:02   fc6_day_of_week Sat
     2016-02-22 20:18:02   fc6_maximum     red
     2016-02-22 20:18:02   fc7_Ambrosia    white
     2016-02-22 20:18:02   fc7_Ampfer      white
     2016-02-22 20:18:02   fc7_Beifuss     white
     2016-02-22 20:18:02   fc7_Birke       white
     2016-02-22 20:18:02   fc7_Buche       white
     2016-02-22 20:18:02   fc7_Eiche       white
     2016-02-22 20:18:02   fc7_Erle        red
     2016-02-22 20:18:02   fc7_Esche       white
     2016-02-22 20:18:02   fc7_Graeser     white
     2016-02-22 20:18:02   fc7_Hasel       yellow
     2016-02-22 20:18:02   fc7_Pappel      white
     2016-02-22 20:18:02   fc7_Roggen      white
     2016-02-22 20:18:02   fc7_Ulme        white
     2016-02-22 20:18:02   fc7_Wegerich    white
     2016-02-22 20:18:02   fc7_Weide       white
     2016-02-22 20:18:02   fc7_day_of_week Sun
     2016-02-22 20:18:02   fc7_maximum     red
   Helper:
     INTERVAL   10800
     ZIPCODE    04668
Attributes:
   levelsFormat white,yellow,orange,red
   room       Unsorted
   stateFormat fc1_maximum
   updateEmpty 1
   updateIgnored 1


sind die Readings ganz anders/falsch(?).

Wo könnte der Fehler liegen?
Dankeschön
FHEM auf Raspberry Pi und Proxmox und... und.... und....

Markus M.

Da ist kein Fehler, die Werte sind identisch!?!
Du hast auf der 2. Maschine nur keine Attribute zur Einschränkung gesetzt.
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0

accessburn

#102
Zitat von: originalhardy am 22 Februar 2016, 16:10:55
Erstmal ein ganz herzliches Danke an Markus für das geniale Modul. Kann ich prima brauchen, damit meine Tochter immer rechtzeitig gewarnt ist.

Also ich habe das mal so in ftui eingebaut

Danke für den Anstoß, ich hab es so gelöst :-)
Interessanter wäre es jedoch, wenn "white" garnicht erst angezeigt würde. Aber ich wüsste nicht wie man es realisieren sollte das die Tabelle automatisch ein "</tr><tr>" einfügt wenn die Zeile voll ist.

<li data-row="1" data-col="1" data-sizex="3" data-sizey="2">
<header>Pollenwarnung</header>
<table width="100%">
<tr>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Ampfer"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Ampfer</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Ambrosia"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Ambrosia</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Beifuss"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Erle</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Birke"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Hasel</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Buche"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Buche</div>
</td>
</tr>
<tr>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Eiche"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Eiche</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Erle"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Erle</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Graeser"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Graeser</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Hasel"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Hasel</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Pappel"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Pappel</div>
</td>
</tr>
<tr>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Roggen"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Roggen</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Ulme"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Ulme</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Wegerich"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Wegerich</div>
</td>
<td>
        <div data-type="symbol" data-device="Pollenflugvorhersage" data-get="fc1_Weide"
                data-icons='["oa-weather_pollen","oa-weather_pollen","oa-weather_pollen","oa-weather_pollen"]'
                data-get-on='["rc_dot@white","rc_dot@yellow","rc_dot@orange","rc_dot@red"]'
                data-on-colors='["grey","yellowgreen","yellow","red"]'
                class="darker inline small"></div>
        <div data-type="label">Weide</div>
</td>
</tr>
</table>
</li>
Wezzy Rpi2b> FHEM, Elro, Intenso, FTUI, Jeelink v3, Max!Cube, Fire5, Foscam, NAS, Fritz!Box + Fon, Max!Wandthermostat, Amazon Echo
Wezzy Rp3b> OctoPi
Jessie Rp3b> UPNP, NAS, Pi-Hole

FHEM-User22

Zitat von: Markus M. am 22 Februar 2016, 20:53:10
Da ist kein Fehler, die Werte sind identisch!?!
Du hast auf der 2. Maschine nur keine Attribute zur Einschränkung gesetzt.

Hallo Markus,
ich erinnere mich dunkel (war ja erst heute Mittag), aber zur Zeit habe ich ein Brett vorm Kopf. Könnte mich jemand mit der Nase drauf stossen? Ich suche und suche aber find nicht das Attribut.... :-[ :-[ :-[ :-[

Ein sehr großes Dankeschön
FHEM auf Raspberry Pi und Proxmox und... und.... und....

Markus M.

Zitat von: FHEM-User22 am 22 Februar 2016, 21:30:03
Hallo Markus,
ich erinnere mich dunkel (war ja erst heute Mittag), aber zur Zeit habe ich ein Brett vorm Kopf. Könnte mich jemand mit der Nase drauf stossen? Ich suche und suche aber find nicht das Attribut.... :-[ :-[ :-[ :-[

attr Pollenflug updateEmpty 0 um alle leeren Readings wegzubekommen
attr Pollenflug updateIgnored 0 um für dich uninteressante Readings wegzubekommen
attr Pollenflug ignoreList Pappel,Andereszeuggegendasniemandallergischist um die uninteressanten Readings die nicht zum Maximalwert zählen festzulegen
FHEM dev + HomeBridge + Lenovo Flex15 + HM-CFG-USB + RFXtrx433 + Fritz!Box 7590/7580/546E

HM Aktor/Sensor/Winmatic/Keymatic/Thermostat, HUE, Netatmo Weather/Security/Heating, Xiaomi AirPurifier/Vacuum, Withings Aura/BPM/Cardio/Go/Pulse/Thermo, VSX828, Harmony, Siro ERB15LE
https://paypal.me/mm0