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


tft7000

Member
  • Posts

    3
  • Joined

  • Last visited

About tft7000

Profile information

  • Country
    Switzerland
  • Gateway/s
    Home Center 2

Recent Profile Visitors

59 profile views

tft7000's Achievements

Newbie

Newbie (1/8)

0

Reputation

  1. Hello I have a HC2 v4.130. I wanted to try to create a new virtual device with a simple lua script. However the script always fails with '[ERROR] 15:47:28: line 183: Assertion failed'. The script currently only consists of the following lines: if (fibaro:countScenes() > 1) then fibaro:abort(); end fibaro:debug("run complete") If I remove the 'fibaro:countScenes' command, the script is working. Is it possible, that virtual devices in v4.130 do not understand the fibaro:countScenes() command? What can I do to fix it or to work around this issue? Thanks.
  2. Cool, thank you very much @Sankotronic for the link!
  3. I have some device connected to z-wave plugs that can measure the energy consumption (devolo (Metering Plug MT:2646) and aeon labs (aeotec ZW075 v2) plugs are used). Now I would like every month a report how many kWh each of the plugs counted so far. Best would be to get that report by email. Is something like this possible in the HC2 eg with LUA? Can anybody help me to get started: - how to get the combined kWh from the devices - how to send an email - how to run the script only once per month thanks
×
×
  • Create New...