help understanding luup commands internally vs externally

Greeting all:

Could any please help me understand the syntactical difference of a Luup command entered internally (Luup code entered as a scene) vs those entered as a http command on port 3480. There is a nice explanation for internal commands at http://wiki.micasaverde.com/index.php/Luup_Scenes_Events
and one external example for the thermostat
http://wiki.micasaverde.com/index.php/Luup_Devices

but I can’t figure out how to convert one to the other. Or is there some examples of switched/dimmers as http:3480 commands.

Many thanks
schenkl

Have a read of this I’m the wiki.

http://wiki.micasaverde.com/index.php/UI_Simple