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


How to have 2 lines log text on Power sensor


Dann

Recommended Posts

Dear all,

 

First of all I| wish you all a nice and exiting 2021 ( of course with more fun using Fibaro's toys ).

 

I face a "simple" issue with getting a 2 lines log text on Power sensor I am using. I am not able to separate ( within the Lua command below ) the two lines ( the second one must start from ?_ ).

Please login or register to see this image.

/monthly_2021_01/1396702646_Screenshot2021-01-02at10_02_43.png.db18d3f201de06490497b5386bce2e8d.png" />

Please login or register to see this attachment.

 

Any idea ?

 

Looking forward,

 

With BR

Dan

 

Link to comment
Share on other sites

  • Topic Author
  • Hi Jay,

     

    Tried both without success.

     

    Link to comment
    Share on other sites

    Like this

     

    Please login or register to see this image.

    /monthly_2021_01/1ADF7852-E3D7-4115-BDBC-02A8FA7CA0C0.jpeg.87e4ea701bd3d36157e092c071516ff6.jpeg" />
     

    pure luck ?

    Link to comment
    Share on other sites

  • Topic Author
  • Hi Eddy,

     

    Looks great.

    What is your command line for this? I guess it is not a power sensor, it is something else ( multilevel sensor maybe ).

    Could be a matter of characters inside the command line.

     

    Dan

     

    Link to comment
    Share on other sites

    No, just pure luck the text was long enough.
     

    Maybe you can insert a character you (hardly) see to make the text longer so you get two lines. In the old days alt-255 was such character. 

    Link to comment
    Share on other sites

    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...