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!



Smart Home Forum by FIBARO Team

Search the Community

Showing results for tags 'calculation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • FIBARO Community
    • FIBARO Portal and Forum policy
    • FIBARO
    • Say hello!
    • Off-topics
  • FIBARO Update
    • FIBARO System Update
    • FIBARO Mobile Update
  • FIBARO Community Support
    • Scenes and Interface
    • FIBARO Products
    • FIBARO Mobile
    • FIBARO HomeKit
    • FIBARO Assistant Integrations
    • Other Devices / Third-party devices
    • Tutorials and Guides
    • Home Automation
    • Suggestions
  • FIBARO Społeczność
    • FIBARO
    • Przywitaj się!
    • Off-topic
  • FIBARO Aktualizacja
    • FIBARO System Aktualizacja
    • FIBARO Mobile Aktualizacja
  • FIBARO Wsparcie Społeczności
    • Sceny i Interfejs
    • FIBARO Urządzenia
    • FIBARO Mobilnie
    • FIBARO HomeKit
    • Integracja z Amazon Alexa i Google Home
    • Urządzenia Firm Trzecich
    • Poradniki
    • Automatyka Domowa
    • Sugestie


  • Scenes
  • Virtual Devices
  • Quick Apps
  • Icons

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Website URL





Found 2 results

  1. Hello, I wanted to use a value from sensor (energy consumption) and use it in calculation of new value, which will be then shown in dashboard or elsewhere. Has anyone any clue how to program this? Thank you in advance. FBoh
  2. I want to subtract "tid_entre" from "tid" and check if it is longer than "entre". fibaro:setGlobal("Tid_entre", (os.date("%Y-%m-%d %H:%M:%S",fibaro:getValue(37, "lastBreached")))) local entre = "00:00:30" --hh:mm:ss local tid_entre = fibaro:getGlobal("Tid_entre") local tid = os.date("%Y-%m-%d %H:%M:%S") [DEBUG] 16:06:52: Variabelen entre = 00:00:30, VariableType = string [DEBUG] 16:06:52: Variabelen Tid_entre = 2018-10-17 14:00:44, VariableType = string [DEBUG] 16:06:52: Variabelen tid = 2018-10-17 16:06:52, VariableType = string Is it possible to do this without using epoc numbers for time?
  • Create New...