Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Fibaro virtual device Xml read


pepijn

Recommended Posts

  • Topic Author
  • 20 hours ago, jgab said:

    Ok, try this

    Please login or register to see this code.

    Two things changed - allow for both single quote and double quote as string delimiters in properties. Handles extra chars (spaces, crlf) at end of string. Hope there are no red dots...

    Yes! Thank you so much it works perfectly!  now the only thing i needed to do is set everything in a variable outside the function array  right? 

     

    some thing likes this gives me a error.

    do i have to declare it before the function? 

    is it possible that you give me an example for one?

    @jgab

    Please login or register to see this code.

     

    Edited by pepijn
    Link to comment
    Share on other sites

    • 2 weeks later...

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...