fmlocal visualizations of gebhardm 101 - Dummys guide to use

fmlocal visualizations of gebhardm

Is there a guide to use this setup that can be used by low level IT user..Me?

1...
2....
3......

vk2him's picture

Hi Bazzle - I have this setup and working on my FLM - I'm not sure what you're asking for here - is it a guide on how to install? - Marcus's online instructions assume you have some experience - if you follow his instructions verbatim, it won't work as the files are copied to the root and not to the correct directory - let me know? cheers

vk2him's picture

Assuming you mean you'd like an Instruction guide on how to simply install - by far the easiest method is to use a Windows PC and the program WinSCP.

1) Using Windows Download the flmlocal zip file from github using this link: https://github.com/gebhardm/flmlocal/archive/master.zip

2) Unzip that file to your windows PC and remember it's location

3) Install WinSCP from here : http://winscp.net/

4) Open WinSCP, and log into your FLM by creating a new login - use root for username, your FLM IP, File protocol = SCP , port = 22

5) When you log into your FLM, WinSCP will have your local PC files in the left hand panel and the FLM files in the right panel

6) In the left panel (your local Windows files), navigate to where you unzipped your files - you need to be inside the www directory. You should see components, img, scripts and views directories plus favicon.ico and index.html files

7) In the right panel (FLM files), navigate to be inside the /www directory . You should see lots of directories including the ones in step 6 above

8) In left panel, select all the files and directories then click the "Upload" button in the toolbar - the popup window will ask for your confirmation to upload the files/directories to /www/*.* - Click the Blue OK button

9) The files will copy and that's all that's needed.

10) Clear your cache in your browser and navigate to your FLM - you will now see the new Menu selections including the Visualisations

Hope that helps - cheers

gebhardm's picture

vk2him's explanation is the farthest "Dummy guide" you'll get in a written form (maybe except for some additional pictures - and this was already present in the Whirlpool forum thread on this topic)... Thus, honestly, I doubt you get really nearer by that as the "purpose" of each step is still between the lines (and after an upgrade you are again at step 0).
So, I'd propose to get a pupil or student from the neighbourhood, spend some tip and let you show how to install (and then use) the given visualization proposal - then and only then you may step by step see, experience, write up and by that learn how to dig into such stuff, assuming you are willing to learn (no offense, as everybody has her or his own pace and style to consume knowledge - and for that a real peer is priceless)...

bazzle's picture

Many thanks VK2HM I will have a go over the next weekend...;)

Gerbhardm Sadly I dont know any young boys from the neighbourhood..yet.
I can talk re electronics, mechanical properties, automotive suspension design from my engineering experience but Im no good with code...gives me square eye balls :) like the 1st wheel..mine isnt round coded yet 0) (joke)

I saw a comment on whirlpool re this being added to the next software update on here..
Is this a possibility?

Baz

bazzle's picture

VK2HIM OK did the above
Changed same filenames in flm to have an X on the end so I can revert back if needed and copied the files in.
All ok .

Ran up the FLM.

Get the normal start page but has Flukso {{menu title}} in the black bar when opening.
Nothing in body below.
Cannot go anywhere from there sadly.

Do I have to over write/merge or are the files to replace the original?

Tried a 2nd reload, cache etc. No good...yet

Baz

gebhardm's picture

A "knowing pupil" or student does not necessarily need to be a boy - we live in a modern world...
That "{{menu title}}" is displayed and nothing else indicates that the javascript parts have not been loaded properly. What browser are you using? (current Safari does NOT work) Have especially the subdirectories been copied correctly? On the FLM homepage make a "right click" to context menu and display the pages source code; click on one of the linked files, e.g. the app.js <script src="scripts/app.js"></script> - if now the source does not change to the corresponding target, then the copy action went wrong...

bazzle's picture

It shows the text copyright Bart etc.
Im using Netscape. Worked OK before the change.
Ran thru each file seperately. Error occurs when index.html loaded. (3 times copied)
Baz

gebhardm's picture

I really, really don't know, what to add, as copying just some files is soooo freakingly easy that no-one has to bother with even one line of code :-/
On a Mac it looks like this: https://github.com/gebhardm/flmlocal/tree/master/howto

bazzle's picture

Yes it was Freaking easy.
Im not a Dick Head like you seem to be inferring so please change your tone of reply.

Sadly it isn't working. I have tried with different browsers etc
I have even copied it across a few times now. When I go back (after clearing cache, rebooting etc) , it is still the same.

I dont expect you to have the answer, I am just posting what is happening on mine.
Any 'positive' ideas would be more than welcome :)

The reason for my original post was also to help other non computer savvy members to have a go .
A lot of people have no idea what to do. I have received a lot of requests over the past couple of years for help thru this forum and from Whirlpool to set up there Flukso's etc and I have done so where I could without malice.

Thanks in advance

gebhardm's picture

1) Make sure you are on firmware version 2.4.7 - I know there was an issue and so much with respect to "tone" and just following given advice...
2) Reverse your doings, in worst case by performing a factory reset, make sure it is working the default way and then start over again; it is really just copying all the files from one folder (including its subfolders (sic)) remotely to another. The folder structure shall look like in the following AFTER the copying (if just one js-file is missing, it will not work)

  1. root@flukso-<flmid>:/www# ls -r *
  2. index.html   favicon.ico
  3.  
  4. views:
  5. wifi.html         sensor.html       kube.html         chart.html
  6. syslog.html       panel.html        graph.html
  7. status.html       mqtt.html         gauge.html
  8. services.html     main.html         consumption.html
  9.  
  10. styles:
  11. ui-grid.woff     ui-grid.svg      ui-grid.eot      bootstrap.css
  12. ui-grid.ttf      ui-grid.min.css  main.css
  13.  
  14. sensor:
  15. <one entry per sensor id>
  16.  
  17. scripts:
  18. controllers  app.js
  19.  
  20. scripts/controllers:
  21. wifi.js         services.js     mqtt.js         graph.js        chart.js
  22. syslog.js       sensor.js       main.js         gauge.js
  23. status.js       panel.js        kube.js         consumption.js
  24.  
  25. luci-static:
  26. resources
  27.  
  28. img:
  29. flukso.logo.png        EnergyConsumption.png
  30.  
  31. components:
  32. raphael            jquery             angular-ui-grid    angular-bootstrap
  33. mqttws             gzip               angular-route      angular
  34.  
  35. components/raphael:
  36. raphael.min.js   justgage.min.js
  37.  
  38. components/mqttws:
  39. mqttws31-min.js
  40.  
  41. components/jquery:
  42. jquery.sparkline.min.js   jquery.flot.time.js       jquery.flot.js
  43. jquery.min.js             jquery.flot.selection.js
  44.  
  45. components/gzip:
  46. gunzip.min.js
  47.  
  48. components/angular-ui-grid:
  49. ui-grid.min.js
  50.  
  51. components/angular-route:
  52. angular-route.min.js
  53.  
  54. components/angular-bootstrap:
  55. ui-bootstrap-tpls.min.js
  56.  
  57. components/angular:
  58. angular.min.js
  59.  
  60. cgi-bin:
  61. luci

And note the license; nobody is forced to use this stuff...

bazzle's picture

Thanks anyway. No luck here sadly.

Going to go off track for a bit in this thread now.
FLM was working OK all last night after putting files back. This morning after a power outage it wont reboot.
Ive tried full reset a couple of times. Power, LAN and heartbeat stay on during reset and after but the hearbeat doesnt..beat.. :(
Tried power cycling too.

If the Boss is reading this can you please go into my FLM (which I doubt as its off line) and reset.
Ive tried reaching with win src but that doesnt see it either .

Stuck for the last few hour so giving it a rest for a bit.

Baz