As expected, you still have the cloud library imported. You need to remove that otherwise it will be used instead of your altered version.
You also need to copy the implementation (.cpp
) over into your project and while at it I’d extend that library just slightly to pass your alarm string in to the created AlarmClass
object to reuse one single callback for all of them.
Try this
https://go.particle.io/shared_apps/5e00bbf6fd7aae000c0773cd
(this link will be valid for a week or so)