the thing in the yellow circle is a car alarm
im not 100% familiar with smallport, but the red circle looks like its an idle up control for a/c. sounds like its playing up.
its supposed to allow the engine to idle up when a/c is on to prevent it from stalling.
there should be a seperate adjusting screw on the throttle butterfly to adjust base idle, this is the reason that it will still idle fine when the hose is blocked off