Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Hi Team,
1. How to list out the device things via some script and inbuilt PTC service which are showing "Thing Not Running"?
2. Also let know how to write properties of things which are showing "Thing Not Running"?
Could you please share the snippet.
Thanks in advance.
Although a little 'lame' any service you invoke on a thing will error with a Thing Not Running or Enabled if it isn't.
So you can do a try catch and find them that way.
You can look into the 'Enabled' property as well and perhaps query for that using something like QueryImplementingThings
I would avoid 'mass enable/restart' of all entities/things as that might cause you performance issues.
Hello,
Perhaps this forum post is similar to your needs?
It was never marked as solved, but maybe it could help you.