Adding and using desktop script files

I am trying to install steelseries gauges which are some nice additional desktop gauges to node-red. To do so, I have to add two script files.

Environment: Rpi 3b hassos 32 bit, hassos 4.11; supervisor 229

node-red configuration:

credential_secret: xxxxxxxxxxxx
dark_mode: false
http_node:
  username: ''
  password: ''
http_static:
  username: ''
  password: ''
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem
require_ssl: false
system_packages: []
npm_packages:
init_commands: []

(note: I’m not worried about security for testing)

  1. I created a folder in the hanode-red folder called node-red-static and added the two required files in that folder.

  2. I added the following to the node-red settings.js file in the ha node-red folder:

  httpStatic: '/config/node-red/node-red-static/',
  1. I copied the two files required files into node-red-static

  2. I am trying to run the test flow to validate installation. The node red flow I used is from:

https://flows.nodered.org/flow/2b46b0aba15273e94221b943b2a74954

and I modified the first two lines in the function to point to where I think I’ve stored the two files (step 1):

<script src="/config/node-red/node-red-static/tween.js"></script>
<script src="/config/node-red/node-red-static/steelseries.js"></script>
  1. I trigger it with an injection event which is verified as successful

When I open the desktop, all I get is a blank box.

I do not see any log messages but maybe I’m not looking in the right place?

Where have I gone wrong?

Hi douglas,

pulling this up again. Perhaps you found a solution meantime? I am running my node red on the Qnap NAS as a docker instance . But did ran into the exact same issue.

http_static directory set, both js mini files copied, template imported and the steelgauge UI from node-red is unfortunately just showing a blank page …

Does somebody know how to debug Node-red?. I have the suspicion that my HTTP static path does point into a nirvana and the script does not find the two files… But I do have no idea how to check this. Or is the a verbose log I could look into?

Many thanks
bkumio