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


  • 0

LaMetric Time


Question

Posted

 Hi!

 

Tomorrow I finally bought Ukrainian startup device named "LaMetric Time" :)

today I want to share simple VD for LaMetric Time

 

* Can turn ON / OFF radio

* Switch radio stations

* Set device Volume

* Switch applications on face

* Send simple notifications to device from HC2 (via global value)

 

configure:

1) set ip address

2) set two global values

 * LaMetricDev  you API key 

 * LaMetricMessage

 

set icons to all buttons

 

for send a notification to device - simple set LaMetricMessage

 

Please login or register to see this attachment.

 

bonus: how to write simple LaMetric Application.

Show climate in your home in each room what you can define in code:

Please login or register to see this spoiler.

 

Please login or register to see this attachment.

Please login or register to see this attachment.

18 answers to this question

Recommended Posts

  • 0
Posted

On 6/14/2017 at 9:43 AM, petergebruers said:

I mean "delete" (unfortunately, ... because you'll have to change the ID in your code) and "clicking the button".

 

On 1/20/2018 at 1:01 PM, 10der said:

 Hi!

 

Tomorrow I finally bought Ukrainian startup device named "LaMetric Time" :)

today I want to share simple VD for LaMetric Time

 

* Can turn ON / OFF radio

* Switch radio stations

* Set device Volume

* Switch applications on face

* Send simple notifications to device from HC2 (via global value)

 

configure:

1) set ip address

2) set two global values

 * LaMetricDev  you API key 

 * LaMetricMessage

 

set icons to all buttons

 

for send a notification to device - simple set LaMetricMessage

 

Please login or register to see this attachment.

 

bonus: how to write simple LaMetric Application.

Show climate in your home in each room what you can define in code:

Please login or register to see this spoiler.

 

I got a LaMetric too. Very neat to display shorter information messages. 

 

I use it as my "kitchen clock". I push environmental measurements to it every 2 minutes and notifications when laundry is done etc. 

  • 0
Posted

The topic has been moved from "

Please login or register to see this link.

" to "

Please login or register to see this link.

".

 

Temat został przeniesiony z "

Please login or register to see this link.

" do "

Please login or register to see this link.

".

  • 0
Posted

Hi @10der,

 

did you succeed to retrieve the list of apps from API?

 

the doc's say that:

Please login or register to see this link.

Returns the list of installed apps

but afaik it does nothing...

 

  • 0
  • Inquirer
  • Posted (edited)

    just a moment, friend

    Edited by 10der
    • 0
  • Inquirer
  • Posted
    8 minutes ago, Bodyart said:

     

    Please login or register to see this link.

    Returns the list of installed apps

     

    Please login or register to see this code.

    Please login or register to see this code.

     

    • 0
    Posted (edited)

    Piece of my code:

     

    Please login or register to see this code.

    and debug gives me:

    Please login or register to see this image.

    /monthly_2019_09/image.png.5eeece4cfcda2694bcaa891fea32b0a3.png" />

    I must be crazy.....

    Edited by Bodyart
    • 0
  • Inquirer
  • Posted

    wait!

    • 0
  • Inquirer
  • Posted

    crazy!

     

    Please login or register to see this code.

    Please login or register to see this code.

     

    VD is empty!

     

    • 0
    Posted

    Hmmm.. thnx my friend, i was thinking that it coul'd work in VD....

    • 0
  • Inquirer
  • Posted

    I have copy past json code from response yo own ww server

    the result is same.

    next steps - I have cutting json from bottom, also step by step.

    and at some moment 

     

    Please login or register to see this image.

    /monthly_2019_09/image.png.d61532f83a2b8976abbf8755569157a4.png" />

     

     

    IDK! :( size?

     

     

     

    • Like 1
    • 0
  • Inquirer
  • Posted

    ye, I am blighter, stickler for detail man.

     

    it's not response length. it's count json nodes, IMHO

    • 0
    Posted

    Maybe it's Fibaro's state of art handling ?!?

     

    • 0
    Posted

    Hey guys, did you get the notification working on this?

    • 0
  • Inquirer
  • Posted (edited)
    2 hours ago, HomeSystem.sk said:

    Hey guys, did you get the notification working on this?

    notification ?

     

     

     

    ahh stop. are you asking about - is fibaro working on this issue? i do not know. usually fibaro do not care about any issues here.

    Edited by 10der
    • 0
    Posted

    Hi, i mean if it is possible to show notifications from fibaro to lametric. I can not get it to work now for some reason.

    • 0
  • Inquirer
  • Posted (edited)
    4 hours ago, HomeSystem.sk said:

    Hi, i mean if it is possible to show notifications from fibaro to lametric. I can not get it to work now for some reason.

    Please login or register to see this code.

     

    call

     

    Please login or register to see this code.

     

    where 122 is Id of scene above

     

     

     

    Edited by 10der
    • 0
  • Inquirer
  • Posted (edited)

    UPD: Slovakia


     

    Please login or register to see this code.

     

    Edited by 10der
    • 0
    Posted

    How can I add lametrictime to HC3?

    Can you share the procedure? Well thank you.

    • Like 1

    Join the conversation

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

    Guest
    Answer this question...

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