Skip to main content
11-Garnet
January 12, 2026
Solved

NUMBER type attribute to create an alert

  • January 12, 2026
  • 1 reply
  • 88 views

running.pngNUMBER.pngWhy does using a NUMBER type attribute to create an alert cause an error?

Best answer by Rocko

Is this problem limited to a NUMBER type attribute?

It would have guessed the issue is that you are running thing from the thing itself (Things[me.name]).

Adding/updating an alert is a model operation, meaning you change the definition of the thing model. This means the thing has to be stopped, changed, and then restarted. This would cause the currently executing service to be stopped and that's why you get "Thing not running". 

 

Without testing it, I would assume it works if you move the service to a third entity.

1 reply

Rocko
Rocko19-TanzaniteAnswer
19-Tanzanite
January 12, 2026

Is this problem limited to a NUMBER type attribute?

It would have guessed the issue is that you are running thing from the thing itself (Things[me.name]).

Adding/updating an alert is a model operation, meaning you change the definition of the thing model. This means the thing has to be stopped, changed, and then restarted. This would cause the currently executing service to be stopped and that's why you get "Thing not running". 

 

Without testing it, I would assume it works if you move the service to a third entity.

Snoopy_hu11-GarnetAuthor
11-Garnet
January 13, 2026

It worked successfully using the method you gave, thank you.