Skip to content

frontend/node-red-dashboard: unknown camera type after restarting Node-RED #225

@ethanjli

Description

@ethanjli

Describe the bug
After restarting the Node-RED dashboard without also restarting the backend hardware controller, the Node-RED dashboard no longer knows what type of camera is in the PlanktoScope.

To Reproduce
Steps to reproduce the behavior:

  1. Go to http://home.pkscope/admin/cockpit/system/services#/nodered.service and log in.
  2. In the menu icon (which looks like a vertical ellipsis), restart the service.
  3. Go to the "System Monitoring" page of the Node-RED dashboard. Confirm that the "Camera Name" field is empty.
  4. On the "Administration" page of the Node-RED dashboard, restart the hardware controller.
  5. Return to the "System Monitoring" page of the Node-RED dashboard. Confirm that the "Camera Name" field is no longer empty.

Expected behavior
After restarting the Node-RED dashboard, it should be able to determine the camera type and optical characterization information without having to first restart the hardware controller.

Additional context
This issue is a follow-up on #210 (comment)

Metadata

Metadata

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions