From what you describe, it means a JavaScript crash so I really need the messages in your JavaScript console or the full extract of your devices so I can simulate on my machine.
The JS console in chrome is available in the chrome menu / development tools.
The full extract is the result of the state dump url I gave above (user data)
[ul][li]D3 graph fixes ( to be confirmed )[/li]
[li]one or two column layout depending on the page. optimization on small screens[/li]
[li]Debug tools page[/li][/ul]
INSTALL via autoupdate or magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28190[/quote]
Thank you for the efforts, it did not work.
If it helps, when trying to open Network Quality from Chrome on a desktop, the bottom banner with version info and location is only a few inches or so below the controller dropdown where the IP is displayed.
For zWave Routes, I actually have to scroll a click to see the bottom banner. Not sure that makes a difference…
****Additionally, you know how you click on the menu and go to the graphs and the menu disappears showing you the graph? Well on the 2 graphs that have the issue the dropdown menu does not disappear but the page loads. I don’t know if that means anything to you but just my observations.[/quote]
You can see screenshot in the attached PDF a transparent styling example with a fixed background (does not move when you scroll).
Please change the CSS file HTML Background property so that it does not point to my google drive account ( it will not work I suppose ) and put instead the url to the wood-background.jpg file. you can put that .jpg file somewhere on your vera under /www and point to it
NOTE: not working on iPAD so if we have CSS experts on IOS safari, I am interested to understand how to fix this css. thx !
feel free to share your styling if you do styling work, would be nice to see some great example of styles and/or custom pages…
finally got it to work, css & ipad is not fun to debug.
So next release will have 2 important things in it; sticky left bars for button so that they do not scroll , and support for a background / transparency layer exemple.
[ul][li]D3 graph fixes ( to be confirmed )[/li]
[li]one or two column layout depending on the page. optimization on small screens[/li]
[li]Debug tools page[/li][/ul]
INSTALL via autoupdate or magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28190[/quote]
Thank you for the efforts, it did not work.
If it helps, when trying to open Network Quality from Chrome on a desktop, the bottom banner with version info and location is only a few inches or so below the controller dropdown where the IP is displayed.
For zWave Routes, I actually have to scroll a click to see the bottom banner. Not sure that makes a difference…
****Additionally, you know how you click on the menu and go to the graphs and the menu disappears showing you the graph? Well on the 2 graphs that have the issue the dropdown menu does not disappear but the page loads. I don’t know if that means anything to you but just my observations.[/quote]
screen shot to access JS console[/quote]
Thank you. Let me get back to you and I’ll send you a PM through the site.
[ul][li]Fixed image background & transparency support. see styling instruction below[/li]
[li]Fixed positioning for left bar button ( device & scene screen ). this prevents the button from scrolling when you scroll through all the devices or scenes[/li]
[li]small cosmetics,bug fixes[/li][/ul]
[ul][li]Themes[/li]
[list]
[li]you can take a bootstrap CSS from any bootstrap 3 CSS web sites out there providing template, or you can start from the default[/li]
[li]you then create your own CSS file which is incremental to that initial base[/li]
[li]you put that CSS file somewhere ( I put mines on my google drive ) , you can put it on your vera under /www and point to it if you are concerned about working without internet dependency.[/li]
[li]if your css file points to a bitmap, you will also need to put these bitmap file somewhere, note the url and make your CSS point to it. your CSS typically include things like :
background-image: url(http://ssssssss/mycss.css);[/li]
[li]you declare the path of that CSS into the variable ThemeCSS of your ALTUI device[/li]
[li]you reload ALTUI/refresh browser[/li]
[li]Example : I provided the working example of fixed wood texture background with transparency in the “Styling” folder in the code.mios.com repository that you can access : / – Alternate UI [/li]
[/list]
[li]LocalCDN[/li]
[list]
[li]create a localCDN repository somewhere ( on your vera or a server ) with the files under the localcdn subfolder of http://code.mios.com/trac/mios_alternate_ui/browser[/li]
[li]if applicable, also theme CSS and bitmaps[/li]
[li]declare the absolute path in localCDN variable of ALTUI device[/li]
[/list][/ul]
[quote=“amg0, post:612, topic:185570”][quote=“tomtcom, post:610, topic:185570”]I have your latest .462. See the screenshot, this is all I get for Network Quality and zWave Routes. At least now it shows my internal IP where it didn’t before but the screenshot is all I have for both of them.
I know it’s an internal IP but I blurred it because I prefer it, that’s all.[/quote]
Very very strange. need some basic trouble shooting information.
a) did you check for any error in the javascript console ?
b) can you give me a device snapshot ( private email addr if you prefer )
http:///port_3480/data_request?id=user_data&output_format=json
also please note that a [glow=red,2,300]LUA reload plus client browser refresh is required[/glow][/quote]
Here’s the java script console for both graphs. If you can’t figure it out for me then don’t worry, I can live without it. I apologize but the json data file has just to many things to scrub in there so I don’t wish to send it. No disrespect to you in any way, please don’t take it that way.
Hi amg0
Vera 3 UI5
Something just went TU since I updated to .478. I’ve had several Luup restarts over the past few hours now. I did the set to default and reset in the plugin but still I get this from the java consol…
GET https://www.google.com/jsapi?autoload={“modules”:[{“name”:“visual?ation”,“version”:“1”,“packages”:[“gauge”,“table”]}]} net::ERR_CONNECTION_TIMED_OUT
data_request?id=lr_ALTUI_Handler&command=home:9 GET https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css net::ERR_CONNECTION_TIMED_OUT
data_request?id=lr_ALTUI_Handler&command=home:42 GET https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js net::ERR_CONNECTION_TIMED_OUT
bootstrap.min.js:6 Uncaught Error: Bootstrap’s JavaScript requires jQuery(anonymous function) @ bootstrap.min.js:6
data_request?id=lr_ALTUI_Handler&command=home:44 GET https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js net::ERR_CONNECTION_TIMED_OUT
jquery.bootgrid.min.js:6 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.bootgrid.min.js:6
J_ALTUI_jquery.ui.touch-punch.min.js:11 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ J_ALTUI_jquery.ui.touch-punch.min.js:11
J_ALTUI_utils.js:302 Uncaught ReferenceError: $ is not defined(anonymous function) @ J_ALTUI_utils.js:302(anonymous function) @ J_ALTUI_utils.js:322
data_request?id=lr_ALTUI_Handler&command=home:57 Uncaught ReferenceError: google is not defined(anonymous function) @ data_request?id=lr_ALTUI_Handler&command=home:57
J_ALTUI_uimgr.js:7829 Uncaught ReferenceError: $ is not defined(anonymous function) @ J_ALTUI_uimgr.js:7829
UPDATE** I just turned on my VPN, did another update, reset and reload VERA and now it is working. I never had to use my VPN before
[quote=“tomtcom”][quote=“amg0, post:612, topic:185570”][quote=“tomtcom, post:610, topic:185570”]I have your latest .462. See the screenshot, this is all I get for Network Quality and zWave Routes. At least now it shows my internal IP where it didn’t before but the screenshot is all I have for both of them.
I know it’s an internal IP but I blurred it because I prefer it, that’s all.[/quote]
Very very strange. need some basic trouble shooting information.
a) did you check for any error in the javascript console ?
b) can you give me a device snapshot ( private email addr if you prefer )
http:///port_3480/data_request?id=user_data&output_format=json
also please note that a [glow=red,2,300]LUA reload plus client browser refresh is required[/glow][/quote]
Here’s the java script console for both graphs. If you can’t figure it out for me then don’t worry, I can live without it. I apologize but the json data file has just to many things to scrub in there so I don’t wish to send it. No disrespect to you in any way, please don’t take it that way.[/quote]
No issue, this is useful .
I suspect a problem with the format of the route variable
Could you go to more/debug page , select search variable and type exactly this , case matters
(Auto|Manual)Route
And give me the result? ( that should not reveal too much info)
[quote=“bucko”]Hi amg0
Vera 3 UI5
Something just went TU since I updated to .478. I’ve had several Luup restarts over the past few hours now. I did the set to default and reset in the plugin but still I get this from the java consol…
GET https://www.google.com/jsapi?autoload={“modules”:[{“name”:“visual?ation”,“version”:“1”,“packages”:[“gauge”,“table”]}]} net::ERR_CONNECTION_TIMED_OUT
data_request?id=lr_ALTUI_Handler&command=home:9 GET https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css net::ERR_CONNECTION_TIMED_OUT
data_request?id=lr_ALTUI_Handler&command=home:42 GET https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js net::ERR_CONNECTION_TIMED_OUT
bootstrap.min.js:6 Uncaught Error: Bootstrap’s JavaScript requires jQuery(anonymous function) @ bootstrap.min.js:6
data_request?id=lr_ALTUI_Handler&command=home:44 GET https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js net::ERR_CONNECTION_TIMED_OUT
jquery.bootgrid.min.js:6 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.bootgrid.min.js:6
J_ALTUI_jquery.ui.touch-punch.min.js:11 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ J_ALTUI_jquery.ui.touch-punch.min.js:11
J_ALTUI_utils.js:302 Uncaught ReferenceError: $ is not defined(anonymous function) @ J_ALTUI_utils.js:302(anonymous function) @ J_ALTUI_utils.js:322
data_request?id=lr_ALTUI_Handler&command=home:57 Uncaught ReferenceError: google is not defined(anonymous function) @ data_request?id=lr_ALTUI_Handler&command=home:57
J_ALTUI_uimgr.js:7829 Uncaught ReferenceError: $ is not defined(anonymous function) @ J_ALTUI_uimgr.js:7829
UPDATE** I just turned on my VPN, did another update, reset and reload VERA and now it is working. I never had to use my VPN before[/quote]
I am not sure what you mean by vPN here but these messages are typical of a loss of internet connectivity.
What you did restored that connectivity.
[quote=“tomtcom, post:628, topic:185570”][quote=“amg0, post:612, topic:185570”][quote=“tomtcom, post:610, topic:185570”]I have your latest .462. See the screenshot, this is all I get for Network Quality and zWave Routes. At least now it shows my internal IP where it didn’t before but the screenshot is all I have for both of them.
I know it’s an internal IP but I blurred it because I prefer it, that’s all.[/quote]
Very very strange. need some basic trouble shooting information.
a) did you check for any error in the javascript console ?
b) can you give me a device snapshot ( private email addr if you prefer )
http:///port_3480/data_request?id=user_data&output_format=json
also please note that a [glow=red,2,300]LUA reload plus client browser refresh is required[/glow][/quote]
Here’s the java script console for both graphs. If you can’t figure it out for me then don’t worry, I can live without it. I apologize but the json data file has just to many things to scrub in there so I don’t wish to send it. No disrespect to you in any way, please don’t take it that way.[/quote]
Many thanks for your continuing work on this (what a coding effort :)).
Just an issue with the dataMine device after upgrading to v 453 from v 359 (I think…): plugin button no longer works (calls “dm/index.html” rather than “<Vera_IP>/dm/index.html”)
By the way, I have noted that the “z-wave routes” and “network quality” charts do not display if any device has a manual route rather than auto-route. No js errors are shown.
Best[/quote]
I second the comment about the charts, I have a lock that is manual route and they don’t show up for me either.[/quote]
For a route to show up the device must have either AutoRoute or ManualRoute varialble.v462 shows manual route as dotted lines and auto route as solid lines.[/quote]
Hi amg0,
On my veraEdge UI7 I only get the zwave controller and one device in the routes and quality maps. On the UI5 lite it works just fine.
This is the Variable Search on (Auto|Manual)Route. It indeed only shows the device I get on screen, not the rest.
I looked at the details of the other devices (using :3480/data_request?id=user_data&output_format=xml) and the weird thing is that they do not have any AutoRoute variable but they do have a LastRouteUpdate with a fairly recent timestamp. Go figure. Some weird UI7 thing? Strangest is that I have more of the exact same Aeon Gen5 switches as this device #4 that are not showing. So it is also not specific to a ZWave+ device. The #4 is the very first device that was added to the system. So maybe that has to do with it. Also the states AllRoutesFailed, Health and NeighborsInverse are missing.
I tried a Stress test, pings go fine, Polls comes back with 0 good routes out of 0 ok on all devices??
And finally tried a ZWave repair with the Only update Vera routing (overrides other settings) option checked and for all it says it is not finding routes for any of the nodes. But, it did the trick. The routes and quality show
This is the Variable Search on (Auto|Manual)Route. It indeed only shows the device I get on screen, not the rest.
I looked at the details of the other devices (using :3480/data_request?id=user_data&output_format=xml) and the weird thing is that they do not have any AutoRoute variable but they do have a LastRouteUpdate with a fairly recent timestamp. Go figure. Some weird UI7 thing? Strangest is that I have more of the exact same Aeon Gen5 switches as this device #4 that are not showing. So it is also not specific to a ZWave+ device. The #4 is the very first device that was added to the system. So maybe that has to do with it. Also the states AllRoutesFailed, Health and NeighborsInverse are missing.
I tried a Stress test, pings go fine, Polls comes back with 0 good routes out of 0 ok on all devices??
And finally tried a ZWave repair with the Only update Vera routing (overrides other settings) option checked and for all it says it is not finding routes for any of the nodes. But, it did the trick. The routes and quality show
Cheers Rene[/quote]
No file attached…
Vera routing always been a mystery to me…
[quote=“amg0, post:632, topic:185570”][quote=“tomtcom, post:628, topic:185570”][quote=“amg0, post:612, topic:185570”][quote=“tomtcom, post:610, topic:185570”]I have your latest .462. See the screenshot, this is all I get for Network Quality and zWave Routes. At least now it shows my internal IP where it didn’t before but the screenshot is all I have for both of them.
I know it’s an internal IP but I blurred it because I prefer it, that’s all.[/quote]
Very very strange. need some basic trouble shooting information.
a) did you check for any error in the javascript console ?
b) can you give me a device snapshot ( private email addr if you prefer )
http:///port_3480/data_request?id=user_data&output_format=json
also please note that a [glow=red,2,300]LUA reload plus client browser refresh is required[/glow][/quote]
Here’s the java script console for both graphs. If you can’t figure it out for me then don’t worry, I can live without it. I apologize but the json data file has just to many things to scrub in there so I don’t wish to send it. No disrespect to you in any way, please don’t take it that way.[/quote]
I got my plug in to register with ALTUI (after fixing a minor issue, details below).
Posting the code for others to make use of (mine is actually a bit more complex due to the Harmony plugin setup, but others don’t needs that). One of the tricks is to wait for the ALTUI plugin to be ready. So I have this in my plugin startup.
luup.call_delay(“Harmony_registerWithAltUI”, 10, “”, false)
Note that you must specify all arguments or the action fails (on your log function it seems).
function Harmony_registerWithAltUI()
– Register with ALTUI once it is ready
for k, v in pairs(luup.devices) do
if (v.device_type == “urn:schemas-upnp-org:device:altui:1”) then
if luup.is_ready(k) then
luup.log(“Found ALTUI device “…k…” registering devices.”)
local arguments = {}
arguments[“newDeviceType”] = “urn:schemas-rboer-com:device:Harmony:1”
arguments[“newScriptFile”] = “J_ALTUI_Harmony.js”
arguments[“newDeviceDrawFunc”] = “ALTUI_HarmonyDisplays.drawHarmony”
arguments[“newStyleFunc”] = “”
arguments[“newDeviceIconFunc”] = “”
arguments[“newControlPanelFunc”] = “”
– Main device
luup.call_action(“urn:upnp-org:serviceId:altui1”, “RegisterPlugin”, arguments, k)
else
luup.log(“ALTUI plugin is not yet ready, retry in a bit…”)
luup.call_delay(“Harmony_registerWithAltUI”, 10, “”, false)
end
break
end
end
end
The issue I found is with the registerPlugin functions. The table keys are prefixed with ‘new’ and that is how they end up in the PluginConfig. So line I changed:
for k,v in pairs({ [“ScriptFile”]=newScriptFile,[“DeviceDrawFunc”]=newDeviceDrawFunc,[“StyleFunc”]=newStyleFunc,[“DeviceIconFunc”]=newDeviceIconFunc,[“ControlPanelFunc”]=newControlPanelFunc}) do
I’m sure you will push out a new version to have this fixed in a jiffy
I’m now going to publish this new version of the Harmony Hub plug in. The very first ALTUI compatible one!!!. Come one akbooer looking for you to be next ;D
…don’t need to, thanks to @amg0’s earlier work with [tt]DisplayLine1[/tt] and [tt]DisplayLine2[/tt] ;)[/quote]
You still need to put it on the app market for all to benefit 8)