I've solved the Thingsboard alarm problem by using alarms triggered from a rule chain. Works just fine now. Could not get the Device Profile alarm rules on the Thingsboard demo site to work at all.
Thanks for looking at this post but it can be closed now.