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

attempt to concatenate local 'wakeUpTime' (a nil value)


Question

Posted

Hi there,

 

i have a Problem with an old scene. Since one of the last updates, i get this error:

 

 

 

[DEBUG] 21:56:06: --------------------START--------------------------------
[DEBUG] 21:56:06: --------- Danfoss WakeUp powered by mkshb.de
[DEBUG] 21:56:06: -----------------------------------------------------------
[DEBUG] 21:56:06: Trigger durch manuelles Starten
[DEBUG] 21:56:07: -------------- Calculate and Set WakeUpTime -------------
[DEBUG] 21:56:07: Zieltemperatur: 17
[DEBUG] 21:56:07: Aussentemperatur: 20.5
[DEBUG] 21:56:07: Es ist Sommer verwende entsprechende Werte
[DEBUG] 21:56:07: 2019-06-17 21:56:07.791861 [ fatal] Unknown exception: /opt/fibaro/scenes/27.lua:147: attempt to concatenate local 'wakeUpTime' (a nil value)

 

 

Here is the code:

Please login or register to see this code.

 

Is there anybody who can help me? Thanks a Lot!

 

regards
Rik

 


 

Please login or register to see this attachment.

1 answer to this question

Recommended Posts

  • 0
Posted

Hi @Rik74 ,

 

Function calculateTime returns nil because some of the conditions are not met or some data is missing or changed. I suggest to add some debugging lines to this function to check what is wrong or missing.

 

I have tested it by changing presentHomeVar first value from "Home" to something else and I get same error. Did you recently translated global variable PresentState values from English to some other language?

 

 

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