Results 1 to 3 of 3

Thread: Weather Station xAP

  1. #1
    Automated Home Jr Member
    Join Date
    Oct 2010
    Location
    Ringwood, Hants, UK
    Posts
    10

    Question 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

  2. #2
    Moderator Kevin's Avatar
    Join Date
    Jan 2004
    Location
    West Yorkshire
    Posts
    554

    Default 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

  3. #3
    Automated Home Jr Member
    Join Date
    Oct 2010
    Location
    Ringwood, Hants, UK
    Posts
    10

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •