Arduino iot

Hello everyone,

I’m starting a project which uses Arduino Uno and pubnub. The end goal is to be able to control functions such as lights and sensors with a mobile remote. So far I’ve been able to receive and send messages from Arduino to pubnub. 

I was wondering if anyone had any resources or tutorials with Arduino and pubnub and specfically the user on pubnub being able to control leds, sensors and motors.

Thank you.