   hostname_database = {}
   update_timeout = null
   elem = jq "#wifi-clients"
+  info_elem = jq ".wifi-info"
   initialized = false
 
   initialize = ->

          <span class='bandwidth'>#{@bandwidth_in}/#{@bandwidth_out}</span><span class='label'>Mbit/s</span>
        </div>
      </div>"""

  updateMacs = (data) ->
    jq.each data.devices, ->

      return
    initialized = true
    jq.get "/homecontroller/internet_connection/wifi/info", (data) ->
      info_elem.find(".ssid").html data.ssid
      info_elem.find(".passphrase").html data.passphrase
      jq("#wifi-qr").qrcode
        "text": "WIFI:S:#{data.ssid};T:WPA;P:#{data.passphrase};;"
        "background": "white"
