UniversalDevicesInc/Polyglot

Add Version Info somewhere in console

Opened this issue · 4 comments

scyto commented

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?

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 commented

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

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.

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.