How to publish int to dashboard

I am trying very hard to get my photon to use Spark.publish() to see what the current RSSI is. I’d also like to be able to do this with Time.hour().
So far everything I have tried has come back with nothing but errors.

My main goal is just to get a live, or on command, visual read of these numbers, so if there’s a better way, that’d be good too.