Weather Station xAP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • EJJ
    Automated Home Jr Member
    • Oct 2010
    • 10

    Weather Station xAP

    Hi All....

    I've got a Weather Station (W1080) posting xAP temp and barro readings and I'd like to integrate them into the xapconfig.xml.....had a go, but I'm missing something....

    I can post the temp (for eg) to Pachube on the HAHHub using....

    ID TAG Tag XAP Source xAP Class xAP Section key

    n Outside sanday.cumulus.ASROCK weather.report weather.report TempC WORKS FINE

    But when I put it inti xapconfig.xml using.....

    <style>outside-temp-icon.png</style>
    <xAP> <!-- DOESN'T WORK........ -->

    <schema>weather-report</schema>
    <uid>FF437500</uid>
    <source>sanday.cumulus.ASROCK:TempC</source>


    </xAP>

    Can you assist, please?

    EJ
  • Kevin
    Moderator
    • Jan 2004
    • 558

    #2
    The generic schema tag

    Hi

    xAPFlash has inbuilt support for the BSC schema only (well actually some message display / callerID schema too). Other schema, e.g. weather-display can be handled via the following tag

    <schema>generic</schema>

    Take a look through the help file at the following section and post back if you're still

    Using the <generic> tag

    K

    Comment

    • EJJ
      Automated Home Jr Member
      • Oct 2010
      • 10

      #3
      Thanks Kevin

      I'd started to look at the 'generic' documentation - and lo, a great shining light appeared.... I'm using
      <xAP>
      <schema>generic</schema>
      <uid>FF437500</uid>
      <source>sanday.cumulus.ASROCK</source>
      <generic>
      <Class>weather.report</Class>
      <body>weather.report</body>
      <parameter>TempC</parameter>
      </generic>
      </xAP>

      and it works.....so now I've got all the W1080 tags available as well...

      Cheers....great stuff!!
      EJ

      Comment

      Working...
      X