The local visualization currently lacks a capability to detect a kube's name to show it. Digging into the code, there should be a corresponding configuration that also is published as mqtt topic: https://github.com/flukso/flm-ui/blob/flm03/app/scripts/controllers/kube...
- var kube = JSON.parse(msg.payloadString);
- $scope.kube.data.push({
- ...
- name: kube[kid].name,
- ...
- });
Sadly this seems not set as an example message shows - refer to https://github.com/gebhardm/flmlocal/issues/6
- {
- "main" : {
- "encryption" : 0,
- "max_nodes" : 30,
- "pair_group" : 212,
- "null_key" : "0123456789abcdef0123456789abcdef",
- "cache" : "/usr/share/kube",
- "collect_group" : 174,
- "key" : "key-guid"
- },
- "1" : {
- "sw_version" : 1,
- "enable" : 1,
- "hw_type" : 19218,
- "hw_id" : "hw_guid"
- }
- }
Hmm, so, bug or feature request?
The name in this case was just not set; thus neither bug nor feature, but missing configuration.
eot