Link grafana panel from external page using iframe and passing variable

Hi Guys,

I’m quite newbie on grafana, searched here and there without a clear solution to my prob:
I have that panel with mysql query:
‘select ts as timestamp, xvalue from table where macaddress = ‘aaaa.bbbb.cccc’ order by ts’
This works as expected, now i want to embed this panel in an external page, calling it with macaddress as variable, it’s probably plain simple but this leaves me pulling hairs…
Calling the panel using the share-button with a static macaddress works perfect, it’s just passing the variable.
Could anybody help me out? Thanks a million!