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.

It’s being updated, but it’s on a VERY slow poll.

This still doesn’t work. Node-RED addon crashed (when going to the addon, I was offered to ‘start’ the addon) and the entity still showed the addon as running.

same problem. any news on that? Some1 opened an incident on github?

1 Like