This error was on a old laptop that has being sitting in the cupboard for a few years. I’ve now restarted a number of times. It did 169 OS updates ::). So now the error message does not appear - may have been a very old version of Exploder that showed a error. It’s now working with IE 11. Can you detect if the browser has HTML5? It would be good to alert the user to upgrade their browser.
Hi Amg0,
I was thinking if it would be possible to add an action to the AltUI plugin that other plugins can use to sort of register them selfs? Basically a function that adds/updates the correct details to the PluginConfig variable. I think many are a bit intimidated to update that by hand and if we could add a call_action to our plug ins it could all nicely integrate.
Parameters would be the urn, DeviceDrawFunc and ScriptFile as a minimum and others (DeviceIconFunc, StyleFunc, ControlPanelFunc, more?) as optionals. If the urn exists in the list it should also be able to update. This could mean someone’s plug in overrules a standard one, not sure if you want to protect against that or not. Maybe you protect the ones you support in J_ALTUI_plugins.js and leave the rest to allow updates.
Let me know what you think. I have two published plugins I would add it to without thinking twice.
Cheers Rene
Alternatively, I did make an earlier suggestion here: http://forum.micasaverde.com/index.php/topic,30310.msg240366.html#msg240366 which also would require no changes to ALTUI when supporting new plugins.
For myself, I’ve just fixed on a particular serviceId/name to use in all my plugins to write a formatted line for display, but it still requires every device type to be added to the ALTUI configuration.
Amg0,
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.
Best
[quote=“LV999, post:605, topic:185570”]Amg0,
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.
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.
V 0.62.462
[ul][li]All d3 charts are now multi controller capable[/li]
[li]Old browser check & message[/li]
[li]datamine plugin dashboard button fix[/li]
[li]new UPNP action “registerPlugin”[/li]
[li]various misc bug fixes[/li][/ul]
NOTES
[ul][li]registerPlugin action: registerPlugin(lul_device, newDeviceType, newScriptFile, newDeviceDrawFunc, newStyleFunc, newDeviceIconFunc, newControlPanelFunc)[/li][list]
[li]enables to register dynamically a new altui plugin into ALTUI. a Browser refresh of ALTUI is necessary to see the change after. newDeviceType is mandatory, others are optional. [/li]
[li]Warning : if you did create ALTUI plugins you have to be careful that the api changed a little bit. see J_ALTUI_Plugins for examples[/li]
[li]ALTUI plugin behavior needs to be understood precisely during upgrades. if the LUA Plugin file is stable, the Config stored in PluginConfig variable will not change, even if you install the plugin again or install an upgrade which only impacts the javascript files (client side). However if the ugprade also impacts the lua file ( back end ), the configuration will be reset to the default configuration as provided in ALTUI distribution.[/li]
[/list]
[li]if some of you produced ALTUI plugins to customize appearance of dashboard & control panels, please consider sharing with others and I can integrate it in the distribution[/li][/ul]
INSTALL
- auto update or magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28166
[quote=“tomtcom, post:606, topic:185570”][quote=“LV999, post:605, topic:185570”]Amg0,
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.
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=“akbooer, post:604, topic:185570”]Alternatively, I did make an earlier suggestion here: [url=http://forum.micasaverde.com/index.php/topic,30310.msg240366.html#msg240366]http://forum.micasaverde.com/index.php/topic,30310.msg240366.html#msg240366[/url] which also would require no changes to ALTUI when supporting new plugins.
For myself, I’ve just fixed on a particular serviceId/name to use in all my plugins to write a formatted line for display, but it still requires every device type to be added to the ALTUI configuration.[/quote]
I would still prefer people to write “plugins” and contribute them to altui distribution but I understand the need so I have implemented this in V466 ( not yet published )
it works like this:
[ol][li]you add a variable to a device. SID = ‘urn:upnp-org:serviceId:altui1’ , Variable = ‘DisplayLine1’ and ‘DisplayLine2’[/li]
[li]if no drawing plugin is specified , then altui will look for these variables, if found, it will display one ( or both ) per line. each variable text content is included in a
[li]if no drawing plugin is specified and if ALTUI does not find these one of these 2 variables, it will display the default ellipsis glyph , signifying “default drawing”[/li][/ol]
[code]
[quote=“amg0, post:608, topic:185570”][quote=“tomtcom, post:606, topic:185570”][quote=“LV999, post:605, topic:185570”]Amg0,
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.
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]
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.
V 0.62.467
[ul][li]DisplayLine1, DisplayLine2 support for devices: - see below[/li][/ul]
NOTES
Although the prefered way to customize the display of a device in ALTUI is to write a small javascript plugin,
ALTUI provides a fast and easy customization of display of a device by the mean of 2 reserved service/variables
that can be added manually by the user to any device. ID = ‘urn:upnp-org:serviceId:altui1’ , Variable = ‘DisplayLine1’ and ‘DisplayLine2’
[ol][li]you add the variables to the device.[/li]
[li]if no drawing plugin is specified , then altui will look for these variables, if found, it will display one ( or both )
per line. each variable text content is included in a
altui-DisplayLine2 for possible theming if needed. Variable content will be HTML encoded so that HTML injection is not possible[/li]
[li]if no drawing plugin is specified and if ALTUI does not find these one of these 2 variables, it will display the default
ellipsis glyph , signifying “default drawing”[/li][/ol]
INSTALL
- auto update or magic url : ?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=8246&Version=28172
[glow=red,2,300]LUA reload plus client browser refresh is required[/glow]
[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=“amg0, post:611, topic:185570”]Although the prefered way to customize the display of a device in ALTUI is to write a small javascript plugin,
ALTUI provides a fast and easy customization of display of a device by the mean of 2 reserved service/variables
that can be added manually by the user to any device. ID = ‘urn:upnp-org:serviceId:altui1’ , Variable = ‘DisplayLine1’ and ‘DisplayLine2’[/quote]
Superb! Thanks so much.
[quote=“amg0, post:608, topic:185570”][quote=“tomtcom, post:606, topic:185570”][quote=“LV999, post:605, topic:185570”]Amg0,
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.
Cheers Rene
[quote=“reneboer, post:614, topic:185570”]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.
Cheers Rene[/quote]
humm since I am also under UI7 edge and I also have test on UI5, so I believe the problem is somewhere else but I need some basic troubleshooting info
a) javascript console log
b) ALTUI version
c) state dump : http:///port_3480/data_request?id=user_data&output_format=json
also I MADE CHANGES into Lua & xml device file so a full reload of LUUP on VERA side is needed. autoupgrade is not enough for these recent set of releases
V 0.62.471
[ul][li]Debug Tools Page[/li][/ul]
This release is mostly to faciliate some of the debug experience with some of you but it brings some powerful tools
I have attached PDF file because it is a little bit easier to add text & graphic together to explain the feature and how it works
Question re. the above: I used to be able to put HTML into the displayed variable, and have it show correctly. For example,
<a href="http://172.16.42.14:3480/data_request?id=lr_dashboard" target="_blank">dashboard</a>
Now it just shows that text verbatim.
Should I do something different (or just code my own panels properly?!)
Question re. the above: I used to be able to put HTML into the displayed variable, and have it show correctly. For example,
<a href="http://172.16.42.14:3480/data_request?id=lr_dashboard" target="_blank">dashboard</a>
Now it just shows that text verbatim.
Should I do something different (or just code my own panels properly?!)[/quote]
yes this is what I meant by
“Variable content will be HTML encoded so that HTML injection is not possible”
this is a variable and anybody/program can store data in it, it is rather dangerous to let any HTML tags/scripts to be going there and be interpreted at the time of the display. Hence the HTML injection protection that the content is HTML encoded first , then displayed as it.
I know the drawback that it prevents to use this to store a clickable URL , but then , we indeed have the plan-B solution to build this in a small javascript module.
[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]
I have a potential fix for this, I will publish it in v 478.
V 0.62.478
[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=“amg0, post:620, topic:185570”]V 0.62.478
[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.