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


3 Screenshots

About This File

This is JavaScript code, which displays debug information (in parallel to code development) at full screen on desktop (supports HC2 and HC3 controllers)

Main purpose is to support scenes where debug information is in HTML format, like  All-in-One Scene, Z-wave monitor/viewer, Z-Range analyzer . All other formats will be displayed in same format as in debugger window.

Since HTML format is not supported by HC3 and debugger window is too small, it could be a helpful alternative for better view and debug your code.

In many cases variables values include a lot of information (like jSON table) and it couldn't be reviewed by HC interface, this application offers to display Global variables (including QuickApp variables) on "big" screen.

Follow information and features are supported:

  1. Display debug information of selected scene. (HC2)
  2. Display scenes debug information filtered by messages tags including levels (trace, warning,error). (HC3).  Note: Currently all scenes print info in same debugger. Issue reported to Fibaro Group - in Progress.
  3. Start scene. (HC2/3)
  4. VD main and buttons' debug information. (HC2)
  5. Select and Press VD button. (HC2)
  6. Display current value of selected global variable. (HC2/3)
  7. QuickApp debug information. (HC3) . Note: Currently when debug info is loaded it clears debug info from HC3 debugger window.
  8. Display current value of selected QuickApp variable. (HC3)
  9. Turn On/Off (toggle method) QuickApp (HC3)
  10. Select and Press QuickApp button. (HC3)

Note: Since HC3 doesn't support HTML format anymore, this is the only option to view and analyze information on upcoming All-in-One Scene and Z-wave monitor applications.

After downloading the file  please remove .txt extension.

Currently supported browser are  Firefox, Chrome or IE browsers.

Recently Java Scripts are blocked by Cross-Origin Resource Sharing (CORS) mechanism, please download Disable CORS file  for further instructions how to disable CORS.

 

How it works:

Before execution, open the file to define HC IP-address and HC3 transfer protocol at User Configurable Parameters

// ============= USER CONFIGURABLE PARAMETERS ================
var hcip={"HC3":"192.68.0.10","HC2":"10.0.0.69"}
var protocol={"HC3":"https"}

On first run, login information will be required. (To keep your credentials secured, login data is not stored in file )

Application interface is very simple and self-guided.

Select controller: HC2 or HC3

Select item : Scene, V Device, Variable, QuicpApp...

Select item of previous selected section.

Press "Reload" button to load debug information.

By checking debug checkbox, API executed commands are shown.

1. If scene selected "Start" button appears.

Spoiler

Capture.PNG.c4e927d533dcd5b54216ed7fb8e98b20.PNG

 

2. If V Device  selected list of available buttons shown and "Press"  button appears.

Spoiler

Capture.thumb.PNG.69215c5ce11db1ff5707aaf7495a4d8e.PNG

 

3. If QuickAppDevice selected, list of available buttons shown.

"Press" and "Toggle" buttons appear. By pressing "Toggle" button, QuickApp will turned ON or OFF in sequential order.

Spoiler

Capture.thumb.PNG.77fd9048aece24ba60663ef6b494c938.PNG

 

4. If Variables selected,list of available variables shown. By selecting the variable, his current value displayed.


What's New in Version 3.0   See changelog

Released

Per users requests:

  1. On startup local IP is used.
  2. When page loaded, stay on top of the page.

 

 



User Feedback

You may only provide a review once you have downloaded the file.


Twannie

  

Fantastic tool to view the lua output on a big screen f.e. to use with Z-Range analizer, ZWave Monitor etc

Really happy with this

Link to review
Sankotronic

  

Now your scenes that already have nice and advanced debugging finally have big window to display. Excellent work. Thank you very much for contributing to Fibaro community. ?

Link to review
AR27690

  

Excellent addon which makes your view bigger and richer. I have 21" screen and now I can utilize the full advantage of that. 

  • Thanks 1
Link to review
×
×
  • Create New...