Taking advantage of the new firmware version 2.4.6 I had to perform some minor changes to the FLM local visualization beyond the "basic real-time logging of MQTT sensor topics". By using my FLM local chart, gauge, graph, and panel display it is also possible on this update to visualize sensor readings in a "more graphic fashion" directly from a local Fluksometer, including a retrieval capability for the newly introduced TMPO persistence.
Feedback welcome - a pull request into the original flm-ui is set, so let's see whether Bart will include this into a forthcoming update.
Upgraded my FLM v2A to 2.4.6 and copied the visualization files: At first view everything works as intended... (I love it, when a plan comes together)
Just checked compatibility with new firmware 2.5.0 - no changes required; you may "recover" your local visualization capabilities by copying the flmlocal files again - follow the given README.
Still a problem with the visualizations, I've changed the names in the files app.js and index.html.
Changed port in sensor and network in wifi because otherwise I've got a blank screen in Configuration.
I've copied the queryd.lua and started the deamon.
For the Chart all I get is the message: Query request sent...
Consumption, Gauche and Panel are displaying correctly but Graph displays nothing at all.
Realtime gives me the choice between Current and Voltage and that's all.
A little help or explanation would be welcome.
My Flukso's are 02B with firmware 250
Tks, Robert.
@RS: You have copied the FLM03 variant onto an FLM02, not the FLM02 version; for FLM02 the "realtime" option is not existing. Be aware that due to FLM03 availability there is a fork in the code!!
See https://github.com/gebhardm/flmlocal
To utilize this implementation, clone or download the repository (select fitting branch or release/tag) and copy the content of the www/ folder to your Fluksometer version 02 or 03E with firmware version 2.50 or 3.6.6.
https://github.com/gebhardm/flmlocal/releases
Indeed, you're right, confusing too many versions.
Only the charts won't work but the rest is o.k. thanks.
Regards, Robert.
Sorry, what can I do else than explaining it in the ReadMe?! And "two" is not many...
And I mentioned it several times in https://www.flukso.net/content/update-v250 that there are differences now. So, to all who might want to try out flmlocal, choose the right branch for your Fluksometer version or take the "packaged solution" from the releases. Things evolve...
Somehow I found versions without the version numbers on github but I've
used the 250 version now. Charts won't work, all I got is the message: Query request sent...
Really not too important.
Robert.
Is the query daemon running as described in https://github.com/gebhardm/flmlocal#tmpo-query-daemon?
You are using your FLMs remotely, aren't you? I must admit that I tested the query functionality only in a LAN environment and experienced some issues with the Quality-of-Service of the MQTT broker...
Likely a interruption of the electricity, I've started the deamon but it was stopped.
With a restart of the deamon it works, locally and remote.
Tks for the hint, I'm not too good in Unix so I don't know what to set in the flukso file, even a change of password failed. I ended with no password at all.
In the SSH-shell just type the command
passwd <enter>
and provide your password.And the flukso file you could download by scp, change and upload again.
Succeed thanks Markus.