The story
From smarm + -y. Apparently coined by "B.R.L., of Brighton" with sense "saying treacly things which do not sound genuine" in a competition for neologisms in The Academy (London) published on 14 January 1899.
Etymology from Wiktionary, CC BY-SA 4.0.