code: async def get_module_data(request):
      
      hw = hw_from_req(request)
      requested_serial = request.match_info['serial']
      res = None
  
      if ff.use_protocol_api_v2():
          hw_mods = await hw.discover_modules()
      else:
          hw_mods = hw.attached_modules.values()
  
      for module in hw_mods:
          is_serial_match = module.device_info.get('serial') == requested_serial
          if is_serial_match and hasattr(module, 'live_data'):
              res = module.live_data
  
      if res:
          return web.json_response(res, status=200)
      else:
          return web.json_response({"message": "Module not found"}, status=404)
docs: Query a module (by its serial number) for its live data