[FHZ] Fehler in Weather / xmllist

Begonnen von Martin Fischer, 20 Januar 2010, 01:17:19

Vorheriges Thema - Nächstes Thema

Martin Fischer

hiya,

ich bin gerade fleissig am myHCE coden und da ist mir ein fehler in der
xmllist bezogen auf Weather aufgefallen. vielleicht trifft das auch auf andere
module zu:

0 werte erscheinen nicht in der xmllist. also beispiel anhand von
59_Weather.pm:

die readings "temp_c" und "fc1_high_c" haben laut list in fhem 0 werte (also
hier 0 grad).

hier die ausgabe in fhem:

fhem> list EX.ga.GW.01
Internals:            
   DEF        Braunschweig 3600
   INTERVAL   3600            
   LOCATION   Braunschweig    
   NAME       EX.ga.GW.01      
   NR         13              
   STATE      Initialized      
   TYPE       Weather          
   Readings:                  
     2010-01-20 00:39:22   city            Brunswick, NDS
     2010-01-20 00:39:22   condition       Overcast      
     2010-01-20 00:39:22   current_date_time 2010-01-19 21:20:00 +0000
     2010-01-20 00:39:22   fc0_condition   Chance of Snow            
     2010-01-20 00:39:22   fc0_day_of_week Wed                        
     2010-01-20 00:39:22   fc0_high_c      3                          
     2010-01-20 00:39:22   fc0_icon        
/ig/images/weather/chance_of_snow.gif
     2010-01-20 00:39:22   fc0_low_c       -3                                  
     2010-01-20 00:39:22   fc1_condition   Cloudy
     2010-01-20 00:39:22   fc1_day_of_week Thu
     2010-01-20 00:39:22   fc1_high_c      0
     2010-01-20 00:39:22   fc1_icon        /ig/images/weather/cloudy.gif
     2010-01-20 00:39:22   fc1_low_c       -6
     2010-01-20 00:39:22   fc2_condition   Cloudy
     2010-01-20 00:39:22   fc2_day_of_week Fri
     2010-01-20 00:39:22   fc2_high_c      -1
     2010-01-20 00:39:22   fc2_icon        /ig/images/weather/cloudy.gif
     2010-01-20 00:39:22   fc2_low_c       -6
     2010-01-20 00:39:22   fc3_condition   Cloudy
     2010-01-20 00:39:22   fc3_day_of_week Sat
     2010-01-20 00:39:22   fc3_high_c      -1
     2010-01-20 00:39:22   fc3_icon        /ig/images/weather/cloudy.gif
     2010-01-20 00:39:22   fc3_low_c       -10
     2010-01-20 00:39:22   forecast_date   2010-01-20
     2010-01-20 00:39:22   humidity        Humidity: 100%
     2010-01-20 00:39:22   icon            /ig/images/weather/cloudy.gif
     2010-01-20 00:39:22   postal_code     Braunschweig
     2010-01-20 00:39:22   temp_c          0
     2010-01-20 00:39:22   temp_f          32
     2010-01-20 00:39:22   wind_condition  Wind: N at 4 mph
Attributes:


und hier das ergebnis in der xmllist wo beide werte fehlen:

                                                                                       
                attrs="room comment loglevel:0,1,2,3,4,5 ALARMTO BINMAIL BINSHIFTWORK
BINSPEECH MAILFROM MAILTO PRINTER building floor land place room
structexclude">                                                                                      
                                                           
                                                                   
                                                           
                                                                 
                                                                           
                                                               
                                                                     
                        measured="2010-01-20 00:39:22"/>      
                        measured="2010-01-20 00:39:22"/>      
                                                                                                           
                        measured="2010-01-20 00:39:22"/>                                                                                                    
                        measured="2010-01-20 00:39:22"/>      
                                   
                        value="/ig/images/weather/chance_of_snow.gif" measured="2010-01-20 00:39:22"/>                                                                                  
                                   
                        measured="2010-01-20 00:39:22"/>    
                        measured="2010-01-20 00:39:22"/>      
                        value="/ig/images/weather/cloudy.gif" measured="2010-01-20 00:39:22"/>                                                                                          
                                   
                        measured="2010-01-20 00:39:22"/>    
                        measured="2010-01-20 00:39:22"/>      
                        measured="2010-01-20 00:39:22"/>            
                        value="/ig/images/weather/cloudy.gif" measured="2010-01-20 00:39:22"/>                                                                                          
                                   
                        measured="2010-01-20 00:39:22"/>    
                        measured="2010-01-20 00:39:22"/>      
                        measured="2010-01-20 00:39:22"/>            
                        value="/ig/images/weather/cloudy.gif" measured="2010-01-20 00:39:22"/>                                                                                          
                        measured="2010-01-20 00:39:22"/>            
                        measured="2010-01-20 00:39:22"/>
                        measured="2010-01-20 00:39:22"/>  
                        value="/ig/images/weather/cloudy.gif" measured="2010-01-20 00:39:22"/>                                                                                              
                        measured="2010-01-20 00:39:22"/>
                                       
                        measured="2010-01-20 00:39:22"/>                                                                                                
               
                                                                           
       


gruss martin

--
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com.
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en.
--
Admin, Developer, Gründungsmitglied des FHEM e.V.

rudolfkoenig

                                                   

> 0 werte erscheinen nicht in der xmllist. also beispiel anhand von
> 59_Weather.pm:

Fixed & Eingecheckt

--
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com.
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en.

Martin Fischer

Am Mittwoch 20 Januar 2010 schrieb Rudolf Koenig:
> > 0 werte erscheinen nicht in der xmllist. also beispiel anhand von
> > 59_Weather.pm:
>
> Fixed & Eingecheckt
>
danke!


--
You received this message because you are subscribed to the Google Groups "FHEM users" group.
To post to this group, send email to fhem-users@googlegroups.com.
To unsubscribe from this group, send email to fhem-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fhem-users?hl=en.
--
Admin, Developer, Gründungsmitglied des FHEM e.V.