Beta update for WEB UI - 1.1.0

We’ve released a new Beta update for Ezlo WEB UI – 1.1.0 with the following:

New Features:

  • HUBs settings

Fixes:

  • RGB Colour controls are not working
  • Other minor improvements in EZLOgic page and device settings pages

For Atom hubs it is possible to control:

  • Scaling of temperature
  • Time Format
  • Date Format

For Ezlo Plus and Ezlo Secure:

  • Scale Temperature
  • Time Format
  • Date Format
  • Logs Level
  • Logs Color
  • Logs Indent
  • Logs Send Mode

Feature Possible values Default value Description
Scale Temperature celsius , fahrenheit fahrenheit Current scale for temperature values.
Time Format 12 , 24 12 Current format for time
Date Format mmddyy , ddmmyy mmddyy Current format for date.
Logs Level ERROR , WARNING , INFO , DEBUG , TRACE INFO Current severity level of log messages to log.
Logs Color true , false false If true , the hub is allowed to print coloured log messages.
Logs Indent -1 , 2 , 4 , 8 -1 Current indentation value for JSON printing in log messages.
Logs Send Mode off , each rotation each rotation Policy for sending logs to cloud: off - don’t send any logs till it will be requested, each_rotation - sends logs each rotation (each 24 hours or when logs become more that 1 MB).

Here is the HUBs API for work with settings directly with API requests:
https://api.ezlo.com/hub/settings/index.html
https://api.ezlo.com/hub/logging/index.html
HUB_settings_API.pdf (128.8 KB)

7 Likes

In the web GUI you also have “store locally”

image

What’s the difference between “off” and “store locally” ?

Does “off” mean no logging at all is stored? Either locally or on the cloud ?

And when set to “each rotation” it still breaks the backups see here.

Thanks

Hi,

There is a bug after selecting the logic tab in Firefox and Chrome (did not test others). The display freezes and you cannot do anything anymore. Only thing that helps is closing the browser. You have to test this better before trowing it at your users.

Cheers Rene

Where is that?

The EZLOgic area ? That’s working for me OK well its not locking up anyway.

Hi @reneboer.
Can you add more details please or screenshot?
We rechecked available logic tabs and were not able to reproduce the issue.

Hi @Oleh

See this. After selecting /rules it stays on that even selecting other pages (like /devices, or /settings, or anything. well help opens a new window, but that gives a certificate error)

Cheers Rene

@Oleh

Is there an API call to list what these settings are currently set as?

Thanks.

@cw-kid,
Yes, I will share API description here.

Hi @reneboer,

Thanks for additional details and screens.
The issue was identified and fixed.
Can you check it now please?

Hi @Oleh,

I am not seeing any change. Still gets stuck when selecting the logic page.

These are some of the errors in the console log.

reactProdInvariant.js:32 Uncaught Invariant Violation: Minified React error #136; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=136&args[]=Connect(UserIsAuthenticated(Connect(t))) for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at n ([broken link removed])
at d.updateComponent [broken link removed]
at d.receiveComponent [broken link removed]
at Object.receiveComponent [broken link removed]
at Object.updateChildren [broken link removed]
at h._reconcilerUpdateChildren [broken link removed]
at h._updateChildren [broken link removed]
at h.updateChildren [broken link removed]
at h._updateDOMChildren [broken link removed]
at h.updateComponent [broken link removed]
n @ reactProdInvariant.js:32
updateComponent @ ReactCompositeComponent.js:589
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
updateChildren @ ReactChildReconciler.js:110
_reconcilerUpdateChildren @ ReactMultiChild.js:215
_updateChildren @ ReactMultiChild.js:314
updateChildren @ ReactMultiChild.js:301
_updateDOMChildren @ ReactDOMComponent.js:941
updateComponent @ ReactDOMComponent.js:759
receiveComponent @ ReactDOMComponent.js:717
receiveComponent @ ReactReconciler.js:126
updateChildren @ ReactChildReconciler.js:110
_reconcilerUpdateChildren @ ReactMultiChild.js:215
_updateChildren @ ReactMultiChild.js:314
updateChildren @ ReactMultiChild.js:301
_updateDOMChildren @ ReactDOMComponent.js:941
updateComponent @ ReactDOMComponent.js:759
receiveComponent @ ReactDOMComponent.js:717
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
updateChildren @ ReactChildReconciler.js:110
_reconcilerUpdateChildren @ ReactMultiChild.js:215
_updateChildren @ ReactMultiChild.js:314
updateChildren @ ReactMultiChild.js:301
_updateDOMChildren @ ReactDOMComponent.js:941
updateComponent @ ReactDOMComponent.js:759
receiveComponent @ ReactDOMComponent.js:717
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
receiveComponent @ ReactCompositeComponent.js:552
receiveComponent @ ReactReconciler.js:126
_updateRenderedComponent @ ReactCompositeComponent.js:761
_performComponentUpdate @ ReactCompositeComponent.js:739
updateComponent @ ReactCompositeComponent.js:658
performUpdateIfNecessary @ ReactCompositeComponent.js:566
performUpdateIfNecessary @ ReactReconciler.js:158
l @ ReactUpdates.js:151
perform @ Transaction.js:138
perform @ Transaction.js:138
perform @ ReactUpdates.js:90
C @ ReactUpdates.js:173
closeAll @ Transaction.js:204
perform @ Transaction.js:151
batchedUpdates @ ReactDefaultBatchingStrategy.js:63
a @ ReactUpdates.js:98
dispatchEvent @ ReactEventListener.js:150
Show 48 more frames
3ReactReconciler.js:64 Uncaught TypeError: Cannot read property ‘getHostNode’ of null
at Object.getHostNode (ReactReconciler.js:64)
at d.getHostNode (ReactCompositeComponent.js:397)
at Object.getHostNode (ReactReconciler.js:64)
at Object.updateChildren (ReactChildReconciler.js:114)
at h._reconcilerUpdateChildren (ReactMultiChild.js:215)
at h._updateChildren (ReactMultiChild.js:314)
at h.updateChildren (ReactMultiChild.js:301)
at h._updateDOMChildren (ReactDOMComponent.js:941)
at h.updateComponent (ReactDOMComponent.js:759)
at h.receiveComponent (ReactDOMComponent.js:717)

Cheers Rene