Hello,
I tried a http.request in JS, 'http://127.0.0.1:8083/ZWaveAPI/Run/cont ... uuid.value' in the main.js, but finally .. timeout ({"status":-1,"statusText":"Timeout was reached"}). I understand that zway is not fully loaded when main.js execute this request.
I am surprised that there was no global variable for the uuid.
Somebody know if it's possible to retrieve this uuid, available when main.js is loaded ?
Retrieve UUID
Re: Retrieve UUID
I'm searching one UUID, might be the value of homeId can be "ok", but :
Via code 'zway.controller.data.homeId.value', i found the value : -983536780
Via the back office 'http://127.0.0.1:8083/expert/#/network/controller', i found the value : 0xc5606b74
Somebody know why thos difference ?
Via code 'zway.controller.data.homeId.value', i found the value : -983536780
Via the back office 'http://127.0.0.1:8083/expert/#/network/controller', i found the value : 0xc5606b74
Somebody know why thos difference ?
Re: Retrieve UUID
One is hexadecimal the other the binary formSlayes wrote:Somebody know why thos difference ?
- Attachments
-
- Capture.PNG (7.96 KiB) Viewed 4317 times