Status of an addon - running or not

Is it possible to detect if an addon is running or not?

I know how to restart it if it isn’t running, not how to detect that!

I am getting intermittent issues with the Node-RED addon stopping and the watchdog not restarting it.

Supervisor creates binary sensors for all add-ons whether they are running or not. You might need to enable them

Any suggestions where I would do that?

Settings → Devices & Services → Supervisor → Entities → Search for xxxrunning →

afbeelding

cog upper right

1 Like

Node-Red crashed on me again. On investigating the sensor I enabled binary_sensor.node_red_running has no state history. Why might that be?
image

It looks like it isn’t being updated.