Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Version Info somewhere in console #53

Open
scyto opened this issue May 11, 2016 · 4 comments
Open

Add Version Info somewhere in console #53

scyto opened this issue May 11, 2016 · 4 comments

Comments

@scyto
Copy link

scyto commented May 11, 2016

I followed the instructions in the post on the UDI forum and it wasn't until later i realized it is linking to an older version and i should be using a v2.

Could you log version on startup in the log and possibly in the UI too?

@Einstein42
Copy link
Contributor

Very first line of the startup in the logfile:
1:INFO [05-03-2016 21:19:26] polyglot.core: Creating Polyglot, version 0.0.2
ISY Version shortly after:
16:INFO [05-03-2016 21:19:26] polyglot.element_manager.isy: ISY: firmware version: 5.0.4

Having it in the UI makes sense however. We should do that.

@scyto
Copy link
Author

scyto commented May 11, 2016

Just and FYI about the log - those lines doesn't show when i goto http://192.168.1.118:8080/api/log.txt all i see is:

ERROR [05-10-2016 19:20:12] polyglot.element_manager.isy: ISY: ( 0.14) 404 ERR: http://192.168.1.97:80/rest/ns/5/nodes/n005_hub/add/HUB?primary=n005_hub&name=Hue+Hub
ERROR [05-10-2016 19:20:15] polyglot.element_manager.isy: ISY: ( 0.18) 404 ERR: http://192.168.1.97:80/rest/ns/5/nodes/n005_880100bb53cd0b/add/COLOR_LIGHT?primary=n005_hub&name=Porch+Left

and some more errors i cut out for etiquette

@Einstein42
Copy link
Contributor

Added pgver to /api/config in payload/frontend.

I am horrible at webdev, so I can't figure out all the javacrap to get it to dynamically be displayed in the webpage. I statically set it for now as a placeholder.

Einstein42 added a commit that referenced this issue May 28, 2016
@Einstein42
Copy link
Contributor

Guys I added the pgver in the polyglot:8080/api/config rest call, can someone make that dynamically update the sidebar in element_manager/frontend/www_static/src/sidebar-list.html

I'm terrible at webdev and it would take me way too long to figure out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants